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

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

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



Subject: Reverse lookup would be very helpful
Download (untitled) / with headers
text/plain 526b
It would be nice to have a reverse lookup method or module to map from the CPAN::Meta format to the subclass of Software::License. There is some code in Module::Build ::Base crying out for this and I am contemplating copying and pasting that code. Seems to me a separate module would make sense - that would include all the contributed modules such as Beerware. It could be Software::License::Factory and could return a fully formed Software::License object. I am happy to do it myself and happy for someone else to do it.
Subject: Re: [rt.cpan.org #68502] Reverse lookup would be very helpful
Date: Fri, 27 May 2011 15:33:00 +0200
To: bug-Software-License [...] rt.cpan.org
From: Flavio Poletti <polettix [...] gmail.com>
Download (untitled) / with headers
text/plain 1.1k
I might be missing something, but isn't it the purpose of Software::LicenseUtils::guess_license_from_meta? Cheers, Flavio. On Fri, May 27, 2011 at 11:10 AM, Nicholas Bamber via RT < bug-Software-License@rt.cpan.org> wrote: Show quoted text
> Fri May 27 05:10:51 2011: Request 68502 was acted upon. > Transaction: Ticket created by SILASMONK > Queue: Software-License > Subject: Reverse lookup would be very helpful > Broken in: (no value) > Severity: Wishlist > Owner: Nobody > Requestors: SILASMONK@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68502 > > > > It would be nice to have a reverse lookup method or module to map from the > CPAN::Meta format to > the subclass of Software::License. There is some code in Module::Build > ::Base crying out for this and > I am contemplating copying and pasting that code. Seems to me a separate > module would make > sense - that would include all the contributed modules such as Beerware. It > could be > Software::License::Factory and could return a fully formed > Software::License object. > I am happy to do it myself and happy for someone else to do it. >
Download (untitled) / with headers
text/plain 284b
On Fri May 27 09:33:34 2011, polettix@gmail.com wrote: Show quoted text
> I might be missing something, but isn't it the purpose of > Software::LicenseUtils::guess_license_from_meta? > > Cheers, > > Flavio. >
Yes that seems to be what I was looking for. Perhaps it could be documented better.
Subject: Re: [rt.cpan.org #68502] Reverse lookup would be very helpful
Date: Fri, 27 May 2011 19:50:50 +0200
To: bug-Software-License [...] rt.cpan.org
From: Flavio Poletti <polettix [...] gmail.com>
Download (untitled) / with headers
text/plain 561b
On Fri, May 27, 2011 at 6:10 PM, Nicholas Bamber via RT < bug-Software-License@rt.cpan.org> wrote: Show quoted text
> Queue: Software-License > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68502 > > > On Fri May 27 09:33:34 2011, polettix@gmail.com wrote:
> > I might be missing something, but isn't it the purpose of > > Software::LicenseUtils::guess_license_from_meta?
> > Yes that seems to be what I was looking for. Perhaps it could be > documented better. >
Yes, maybe it would benefit from a little more advertising in the main module's documentation.
Download (untitled) / with headers
text/html 1014b
I've added this in git, it will be in the next release. -- 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.