-
Notifications
You must be signed in to change notification settings - Fork 194
Added new script and mapping for Debian package name mapping #637
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
Conversation
lib/MetaCPAN/Script/Debian.pm
Outdated
use List::MoreUtils qw( uniq ); | ||
use CPAN::DistnameInfo; | ||
use Email::Simple (); | ||
use Email::Sender::Simple (); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we alpha sort these and not implicitly import? ie use DBI ()
;
lib/MetaCPAN/Script/Debian.pm
Outdated
is => 'ro', | ||
isa => Str, | ||
lazy => 1, | ||
builder => '_build_host_rx', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about _build_host_regex
?
lib/MetaCPAN/Script/Debian.pm
Outdated
} | ||
else { | ||
push @failures => [ $source, $url ], | ||
; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That semicolon should be on the previous line. I think the extra comma is messing things up.
We want to provide the distribution name mappings for Perl packages to 3rd party sources like Debian. This commit adds the 'external_package' mapping, and starts with adding the entry for 'debian' + the script to populate the data.
2b4e340
to
3dfdfd7
Compare
The history is: - metacpan/metacpan-api#634 - metacpan/metacpan-api#637 The addition to MetaCPAN as a new set of metadata will enable the further addition of more external package listings.
We want to provide the distribution name mappings for Perl
packages to 3rd party sources like Debian.
This commit adds the 'external_package' mapping, and starts
with adding the entry for 'debian' + the script to populate
the data.