Skip to content

Commit

Permalink
take pumpking data from cpan
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Apr 27, 2024
1 parent 091a5fe commit fe86950
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 fe86950

Please sign in to comment.