@@ -5,42 +5,30 @@ package PAUSE::mldistwatch::Constants;
5
5
# constants used for index_status:
6
6
use constant EDUALOLDER => 50; # pumpkings only
7
7
use constant EDUALYOUNGER => 30; # pumpkings only
8
- use constant EDISTNAMEPERM => 26;
9
8
use constant EDBERR => 25;
10
9
use constant EDBCONFLICT => 23;
11
10
use constant EOPENFILE => 21;
12
11
use constant EMISSPERM => 20;
13
12
use constant ELONGVERSION => 13;
14
13
use constant EBADVERSION => 12;
15
14
use constant EPARSEVERSION => 10;
16
- use constant ENOMETAFILE => 8;
17
- use constant E_DB_XACTFAIL => 7;
18
- use constant EMETAUNSTABLE => 6;
19
- use constant EBAREPMFILE => 5;
20
15
use constant EOLDRELEASE => 4;
21
- use constant EMTIMEFALLING => 3; # deprecated after rev 478
22
16
use constant EVERFALLING => 2;
23
17
use constant OK => 1;
24
18
25
19
our $heading = {
26
- EBADVERSION() => " Version string is not a valid 'lax version' string" ,
27
- ELONGVERSION() => " Version string exceeds maximum allowed length of 16b" ,
28
- E_DB_XACTFAIL() => " ERROR: Database error occurred during index update" ,
29
- EBAREPMFILE() => " Bare .pm files are not indexed" ,
30
- EDBCONFLICT() => " Conflicting record found in index" ,
31
- EDBERR() => " Database error" ,
32
- EDUALOLDER() => " An older dual-life module stays reference" ,
33
- EDUALYOUNGER() => " Dual-life module stays reference" ,
34
- EDISTNAMEPERM() => " No permissions for distribution name" ,
35
- EMISSPERM() => " Permission missing" ,
36
- EMTIMEFALLING() => " Decreasing mtime on a file (category to be deprecated)" ,
37
- ENOMETAFILE() => " Distribution included neither META.json nor META.yml" ,
38
- EOLDRELEASE() => " Release seems outdated" ,
39
- EOPENFILE() => " Problem while reading the distribtion" ,
40
- EMETAUNSTABLE() => " META release_status is not stable, will not index" ,
20
+ EBADVERSION() => " Version string is not a valid 'lax version' string" ,
21
+ ELONGVERSION() => " Version string exceeds maximum allowed length of 16b" ,
22
+ EDBCONFLICT() => " Conflicting record found in index" ,
23
+ EDBERR() => " Database error" ,
24
+ EDUALOLDER() => " An older dual-life module stays reference" ,
25
+ EDUALYOUNGER() => " Dual-life module stays reference" ,
26
+ EMISSPERM() => " Permission missing" ,
27
+ EOLDRELEASE() => " Release seems outdated" ,
28
+ EOPENFILE() => " Problem while reading the distribtion" ,
41
29
EPARSEVERSION() => " Version parsing problem" ,
42
- EVERFALLING() => " Decreasing version number" ,
43
- OK() => " Successfully indexed" ,
30
+ EVERFALLING() => " Decreasing version number" ,
31
+ OK() => " Successfully indexed" ,
44
32
};
45
33
46
34
sub heading ($) {
@@ -50,5 +38,3 @@ sub heading ($) {
50
38
}
51
39
52
40
1;
53
-
54
-
0 commit comments