Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

take pumpking data from cpan #1188

Merged
merged 1 commit into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.