1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
FILES WITH CRLF LINE ENDINGS
----------------------------
The upstream source contains three files with partial CRLF (Carriage Return Line
Feed) endings.
libs/imap/pop3testsuite.txt
libs/imap/smaptestsuite.txt
libs/imap/testsuite.txt
CRLF is the standard line ending on Windows. Linux usually uses just LF (Line
Feed). Typically, these line endings are automatically converted to LF for
storage in the Git repository. However, in this case, these are files used by
the test suite to check for appropriate IMAP, POP, and SMTP responses. CRLF is
part of the protocol for these services, so if these CRLF line endings are
converted to LF the tests will fail.
Because of this, everyone who contributes to courier packaging needs to disable
autocrlf in their Git config file, at least for this repository. To do so, add
the following line to .git/config:
[core]
autocrlf = false
Otherwise, running `gbp import-orig --uscan` and then `gbp push` will populate
Salsa with modified versions of these files that will cause Salsa CI to fail.
|