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: 87729
Status: resolved
Priority: 0/
Queue: Software-License

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: Regexp in guess_license_from_meta is too restrictive; can't detect artistic_2
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
Message-ID: <rt-4.0.16-25533-1376036571-122.0-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1376036571-25533-2"
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
Content-Length: 117
Download (untitled) / with headers
text/plain 117b
artistic_2 is in the %meta_keys lookup table, but the regexp just looks for: ([a-z_]+) which disallows numbers.
Subject: software-license.t
MIME-Version: 1.0
Content-Type: application/x-troff; name="software-license.t"
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline; filename="software-license.t"
Content-Transfer-Encoding: base64
Content-Length: 404
Download software-license.t
text/x-perl 404b
use strict; use warnings; use Test::More 0.96; use Software::LicenseUtils; my ($artistic) = 'Software::LicenseUtils'->guess_license_from_meta(<<'META'); license: artistic META is($artistic, 'Software::License::Artistic_1_0'); my ($artistic_2) = 'Software::LicenseUtils'->guess_license_from_meta(<<'META'); license: artistic_2 META is($artistic_2, 'Software::License::Artistic_2_0'); done_testing;
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-25533-1376036571-122.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.16-25533-1376036571-122.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-10293-1382926182-1096.87729-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 45
I believe this was addressed today. -- 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.