Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Software-License CPAN distribution.

Report information
The Basics
Id: 36805
Status: resolved
Priority: 0/
Queue: Software-License

People
Owner: Nobody in particular
Requestors: bricas [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.007
Fixed in: (no value)



Subject: guess_license_from_meta_yml() doesn't properly return multi-match results
Download (untitled) / with headers
text/plain 504b
Should the guess_license_from_meta_yml() method match a non-distinct license, it will attempt to use the arrayref as the license name instead of returning a list of licenses. for e.g., the mozilla license: mozilla => [ map { "Mozilla_$_" } qw(1_0 1_1) ], but the code does this: return unless $license_text and my $license = $yaml_keys{ $license_text }; return "Software::License::$license"; A fix could be (untested): return map { "Software::License::$_" } ( ref $license ? @$license : $license );
resolved and tested in 0.008 thanks -- rjbs


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.