Skip to content

Commit

Permalink
send a skip report for .pm.gz files
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs authored and andk committed Mar 15, 2014
1 parent e992a81 commit e663ec6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/PAUSE/dist.pm
Expand Up @@ -316,6 +316,7 @@ sub examine_dist {
$self->verbose(1,"Dist '$dist' is a single-.pm-file upload\n");
$suffix = "N/A";
$skip = 1;
$self->{SKIP_REPORT} = PAUSE::mldistwatch::Constants::EBAREPMFILE;
} elsif ($dist =~ /\.zip$/) {
$suffix = "zip";
my $unzipbin = $self->{UNZIPBIN};
Expand Down
2 changes: 2 additions & 0 deletions lib/PAUSE/mldistwatch/Constants.pm
Expand Up @@ -11,12 +11,14 @@ use constant EOPENFILE => 21;
use constant EMISSPERM => 20;
use constant EPARSEVERSION => 10;
use constant EMETAUNSTABLE => 6;
use constant EBAREPMFILE => 5;
use constant EOLDRELEASE => 4;
use constant EMTIMEFALLING => 3; # deprecated after rev 478
use constant EVERFALLING => 2;
use constant OK => 1;

our $heading = {
EBAREPMFILE() => "Bare .pm files are not indexed",
EDBCONFLICT() => "Conflicting record found in index",
EDBERR() => "Database error",
EDUALOLDER() => "An older dual-life module stays reference",
Expand Down

0 comments on commit e663ec6

Please sign in to comment.