@@ -5,39 +5,30 @@ package PAUSE::mldistwatch::Constants;
55# constants used for index_status:
66use constant EDUALOLDER => 50; # pumpkings only
77use constant EDUALYOUNGER => 30; # pumpkings only
8- use constant EDISTNAMEPERM => 26;
98use constant EDBERR => 25;
109use constant EDBCONFLICT => 23;
1110use constant EOPENFILE => 21;
1211use constant EMISSPERM => 20;
1312use constant ELONGVERSION => 13;
1413use constant EBADVERSION => 12;
1514use constant EPARSEVERSION => 10;
16- use constant ENOMETAFILE => 8;
17- use constant E_DB_XACTFAIL => 7;
18- use constant EBAREPMFILE => 5;
1915use constant EOLDRELEASE => 4;
20- use constant EMTIMEFALLING => 3; # deprecated after rev 478
2116use constant EVERFALLING => 2;
2217use constant OK => 1;
2318
2419our $heading = {
25- EBADVERSION() => " Version string is not a valid 'lax version' string" ,
26- ELONGVERSION() => " Version string exceeds maximum allowed length of 16b" ,
27- EBAREPMFILE() => " Bare .pm files are not indexed" ,
28- EDBCONFLICT() => " Conflicting record found in index" ,
29- EDBERR() => " Database error" ,
30- EDUALOLDER() => " An older dual-life module stays reference" ,
31- EDUALYOUNGER() => " Dual-life module stays reference" ,
32- EDISTNAMEPERM() => " No permissions for distribution name" ,
33- EMISSPERM() => " Permission missing" ,
34- EMTIMEFALLING() => " Decreasing mtime on a file (category to be deprecated)" ,
35- ENOMETAFILE() => " Distribution included neither META.json nor META.yml" ,
36- EOLDRELEASE() => " Release seems outdated" ,
37- EOPENFILE() => " Problem while reading the distribtion" ,
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" ,
3829 EPARSEVERSION() => " Version parsing problem" ,
39- EVERFALLING() => " Decreasing version number" ,
40- OK() => " Successfully indexed" ,
30+ EVERFALLING() => " Decreasing version number" ,
31+ OK() => " Successfully indexed" ,
4132};
4233
4334sub heading ($) {
0 commit comments