Skip to content

Commit 0ac652e

Browse files
authored
Merge pull request #1188 from metacpan/haarg/pumpking-from-cpan
take pumpking data from cpan
2 parents 88f3edb + fe86950 commit 0ac652e

File tree

2 files changed

+3
-56
lines changed

2 files changed

+3
-56
lines changed

lib/MetaCPAN/Script/Release.pm

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,11 @@ sub _build_perms {
433433
close $fh;
434434
}
435435

436-
# we would like this data to come from CPAN directly eventually
437-
#my $pumpking_file = $self->cpan->child(qw(modules 07pumpkings.txt));
438-
my $pumpking_file
439-
= path(__FILE__)->parent->child(qw(Release 07pumpkings.txt));
436+
my $pumpking_file = $self->cpan->child(qw(authors 08pumpkings.txt.gz));
440437
if ( -e $pumpking_file ) {
441438
log_debug { "parsing ", $pumpking_file };
442-
my $fh = $pumpking_file->openr;
439+
440+
my $fh = $pumpking_file->openr(':gzip');
443441
while ( my $line = <$fh> ) {
444442
chomp $line;
445443
push( @{ $authors{perl} ||= [] }, $line );

lib/MetaCPAN/Script/Release/07pumpkings.txt

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)