diff options
author | Norbert Preining <norbert@preining.info> | 2020-01-18 03:01:23 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-01-18 03:01:23 +0000 |
commit | 22d3a7ddeb2b2637308cf883f9bd3590e649aa20 (patch) | |
tree | e5887f868c532734a8cac1c7833f5492370effb5 /support/pkgcheck/src/messages/warningsd.rs | |
parent | e71ffee2103e3f137bbc9ee526858bc277e95908 (diff) |
CTAN sync 202001180301
Diffstat (limited to 'support/pkgcheck/src/messages/warningsd.rs')
-rw-r--r-- | support/pkgcheck/src/messages/warningsd.rs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/support/pkgcheck/src/messages/warningsd.rs b/support/pkgcheck/src/messages/warningsd.rs index b8a1aa8ef3..cea814c8ce 100644 --- a/support/pkgcheck/src/messages/warningsd.rs +++ b/support/pkgcheck/src/messages/warningsd.rs @@ -78,3 +78,31 @@ in the TDS zip archive. ) } +pub fn w0007d() { + println!( + r#" +W0007 -- Empty directory detected in the TDS zip archive + +Empty directories in a TDS zip archive are discouraged. As they usually +don't create errors in the distribution we issue a warning only. +"# + ) +} + +pub fn w0008d() { + println!( + r#" +W0008 -- Windows file has Unix line endings + +A Windows file with Unix line endings was detected. + +We regard a file as a Windows file if its name ends with: + +- .bat +- .cmd +- .nsh, or +- .reg +"# + ) +} + |