Skip to content

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

Merged
merged 1 commit into from
May 12, 2017

Conversation

mickeyn
Copy link
Contributor

@mickeyn mickeyn commented May 12, 2017

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.

@mickeyn mickeyn requested a review from oalders May 12, 2017 12:37
@coveralls
Copy link

coveralls commented May 12, 2017

Coverage Status

Coverage remained the same at 75.107% when pulling 2b4e340 on mickey/dist_3rd_party_packages into 896370a on master.

use List::MoreUtils qw( uniq );
use CPAN::DistnameInfo;
use Email::Simple ();
use Email::Sender::Simple ();
Copy link
Member

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 ();

is => 'ro',
isa => Str,
lazy => 1,
builder => '_build_host_rx',
Copy link
Member

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?

}
else {
push @failures => [ $source, $url ],
;
Copy link
Member

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.
@mickeyn mickeyn force-pushed the mickey/dist_3rd_party_packages branch from 2b4e340 to 3dfdfd7 Compare May 12, 2017 13:56
@coveralls
Copy link

coveralls commented May 12, 2017

Coverage Status

Coverage remained the same at 75.107% when pulling 3dfdfd7 on mickey/dist_3rd_party_packages into 896370a on master.

@oalders oalders merged commit 8296c45 into master May 12, 2017
@oalders oalders deleted the mickey/dist_3rd_party_packages branch May 12, 2017 16:57
book added a commit to book/CPANio that referenced this pull request May 17, 2017
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants