From 493f68833128959539a6e202a6cfb18ab76bcf12 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 17 Aug 2021 12:50:13 +0200 Subject: [PATCH] ensure csv-files are crlf on disk According to RFC 4189 CSV files should be encoded using CRLF newlines, not LF. This helps compatibility with tools, like python's csv module, who always uses CRLF. While we're at it, normalize the one CSV that was CRLF in-repo to LF, and let git do the newline-normalization when needed instead. Reviewed-by: Eric Engestrom Part-of: --- .gitattributes | 1 + .gitlab-ci/test-source-dep.yml | 2 ++ docs/release-calendar.csv | 14 +++++++------- 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..2d4b6ac4442 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.csv eol=crlf diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml index f568f0c38d8..788d46b1824 100644 --- a/.gitlab-ci/test-source-dep.yml +++ b/.gitlab-ci/test-source-dep.yml @@ -18,6 +18,7 @@ - .gitlab-ci/**/* - include/**/* - meson.build + - .gitattributes - src/* - src/compiler/**/* - src/drm-shim/**/* @@ -126,6 +127,7 @@ - .gitlab-ci.yml - .gitlab-ci/**/* - meson.build + - .gitattributes - include/**/* - src/compiler/**/* - src/include/**/* diff --git a/docs/release-calendar.csv b/docs/release-calendar.csv index d25c2a512f7..a209ea8b11d 100644 --- a/docs/release-calendar.csv +++ b/docs/release-calendar.csv @@ -1,7 +1,7 @@ -21.3,2022-01-26,21.3.5,Eric Engestrom, -,2022-02-09,21.3.6,Eric Engestrom, -,2022-02-23,21.3.7,Eric Engestrom,Last planned 21.3.x release. -22.0,2022-02-02,22.0.0-rc1,Dylan Baker -,2022-02-09,22.0.0-rc2,Dylan Baker -,2022-02-16,22.0.0-rc3,Dylan Baker -,2022-02-22,22.0.0-rc4,Dylan Baker,Or 22.0.0 final. +21.3,2022-01-26,21.3.5,Eric Engestrom, +,2022-02-09,21.3.6,Eric Engestrom, +,2022-02-23,21.3.7,Eric Engestrom,Last planned 21.3.x release. +22.0,2022-02-02,22.0.0-rc1,Dylan Baker +,2022-02-09,22.0.0-rc2,Dylan Baker +,2022-02-16,22.0.0-rc3,Dylan Baker +,2022-02-22,22.0.0-rc4,Dylan Baker,Or 22.0.0 final.