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 <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12405>
This commit is contained in:
Erik Faye-Lund 2021-08-17 12:50:13 +02:00 committed by Marge Bot
parent b8d37eb1bb
commit 493f688331
3 changed files with 10 additions and 7 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.csv eol=crlf

View File

@ -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/**/*

View File

@ -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.

1 21.3,2022-01-26,21.3.5,Eric Engestrom,
2 ,2022-02-09,21.3.6,Eric Engestrom,
3 ,2022-02-23,21.3.7,Eric Engestrom,Last planned 21.3.x release.
4 22.0,2022-02-02,22.0.0-rc1,Dylan Baker
5 ,2022-02-09,22.0.0-rc2,Dylan Baker
6 ,2022-02-16,22.0.0-rc3,Dylan Baker
7 ,2022-02-22,22.0.0-rc4,Dylan Baker,Or 22.0.0 final.