Skip to content

Commit

Permalink
Merge pull request #1188 from metacpan/haarg/pumpking-from-cpan
Browse files Browse the repository at this point in the history
take pumpking data from cpan
  • Loading branch information
oalders authored Apr 27, 2024
2 parents 88f3edb + fe86950 commit 0ac652e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 56 deletions.
8 changes: 3 additions & 5 deletions lib/MetaCPAN/Script/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -433,13 +433,11 @@ sub _build_perms {
close $fh;
}

# we would like this data to come from CPAN directly eventually
#my $pumpking_file = $self->cpan->child(qw(modules 07pumpkings.txt));
my $pumpking_file
= path(__FILE__)->parent->child(qw(Release 07pumpkings.txt));
my $pumpking_file = $self->cpan->child(qw(authors 08pumpkings.txt.gz));
if ( -e $pumpking_file ) {
log_debug { "parsing ", $pumpking_file };
my $fh = $pumpking_file->openr;

my $fh = $pumpking_file->openr(':gzip');
while ( my $line = <$fh> ) {
chomp $line;
push( @{ $authors{perl} ||= [] }, $line );
Expand Down
51 changes: 0 additions & 51 deletions lib/MetaCPAN/Script/Release/07pumpkings.txt

This file was deleted.

0 comments on commit 0ac652e

Please sign in to comment.