summaryrefslogtreecommitdiff
path: root/support/pkgcheck/src/messages/informationd.rs
blob: 0eca9849a047657153105ecc5e2b4d0a51ac09b6 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// This file is generated by a Perl script. The source is
// in the docs/ directory of the repository.

use log::*;

pub fn i0001d() {
    info!(
        r#"
I0001 -- Successfully converted from CRLF to LF

Just an information that pkgcheck has successfully converted a file from
CRLF to LF line endings
"#
    )
}

pub fn i0002d() {
    info!(
        r#"
I0002 -- Checking package files in directory

Just an information that pkgcheck starts checking the package files in
the unzipped directory trees
"#
    )
}

pub fn i0003d() {
    info!(
        r#"
I0003 -- Checking TDS zip archive

Just an information that pkgcheck starts checking the TDS zip archive
"#
    )
}

pub fn i0004d() {
    info!(
        r#"
I0004 -- Correcting line endings for file

The file had CRLF line ending and will be corrected to have LF (Unix
like) line endings.

For more details refer to:
http://mirror.ctan.org/help/ctan/CTAN-upload-addendum.html#crlf
"#
    )
}

pub fn i0005d() {
    info!(
        r#"
I0005 -- Correcting permissions for file or directory

pkgcheck corrects wrong permsissions for package files and directories.
It runs the chmod command in verbose mode.

For more details refer to:
http://mirror.ctan.org/help/ctan/CTAN-upload-addendum.html#filepermissions
"#
    )
}

pub fn i0006d() {
    info!(
        r#"
I0006 -- Files having one of the following file name endings are regarded as temporary

Option --show-temp-endings was used, and pkgcheck prints a list of
temporary file endings and their meanings.

For more details refer to:
http://mirror.ctan.org/help/ctan/CTAN-upload-addendum.html#noauxfiles
"#
    )
}

pub fn i0007d() {
    info!(
        r#"
I0007 -- Successfully corrected wrong line endings to LF resp. CRLF

pkgcheck successfully converted wrong line endings to LF line endings or
to CRLF line endings if it the file was a Windows text file.

Wrong line endings could be CR, CRLF or a mixture of line endings.
"#
    )
}

pub fn i0008d() {
    info!(
        r#"
I0008 -- Using config file 

Tells the user which config file is used.
"#
    )
}

pub fn i0009d() {
    info!(
        r#"
I0009 -- Updating entry <pkgname> -> <tpkg> with <pkgname> -> <new tpkg> from config file",

This message can only show up if pkgcheck got called with --config. It
is required that the path names in the TDS zip archive contain the
package name. There are exceptions however, and if such an exception is
defined in the config file pkgcheck reports the usage of an exception.

Example: tex/latex/microtype/microtype-luatex.de in the TDS zip archive
microtype.tds.zip contains the package name microtype

There are exceptions, however.

Example: The file names in latex-amsmath.tds.zip do not contain
latex-amsmath but just latex

These exceptions are hard-coded in pkgcheck but can be overridden in the
pkgcheck.yml config file like in the following example

    tds_path_exceptions:
      - pkg: latex-amsmath
        tpkg: latexnew
"#
    )
}