@@ -5,42 +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 EMETAUNSTABLE => 6;
19- use constant EBAREPMFILE => 5;
2015use constant EOLDRELEASE => 4;
21- use constant EMTIMEFALLING => 3; # deprecated after rev 478
2216use constant EVERFALLING => 2;
2317use constant OK => 1;
2418
2519our $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" ,
4129 EPARSEVERSION() => " Version parsing problem" ,
42- EVERFALLING() => " Decreasing version number" ,
43- OK() => " Successfully indexed" ,
30+ EVERFALLING() => " Decreasing version number" ,
31+ OK() => " Successfully indexed" ,
4432};
4533
4634sub heading ($) {
@@ -50,5 +38,3 @@ sub heading ($) {
5038}
5139
52401;
53-
54-
0 commit comments