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

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

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



Subject: Separate license data into its own distribution
Download (untitled) / with headers
text/plain 405b
ExtUtils::MakeMaker and Module::Build could make use of Software::License to verify its license field, but SL has a lot of dependencies which make it difficult to bundle. The meat of the module is just data. If that data were put into its own distribution, basically just a .pm file with a data structure, it would be far more portable. Then S::L could generate its classes from it. What do you think?
Il Mar 28 Feb 2012 21:05:16, MSCHWERN ha scritto: Show quoted text
> The meat of the module is just data. If that data were put into its own > distribution, basically just a .pm file with a data structure, it would > be far more portable. Then S::L could generate its classes from it. > > What do you think?
I'm only a "host maintainer" so my feedback is actually not authoritative. Anyway... As you correctly point out, S::L is data - structured in the same way all the times - and some code around it. I personally think that all of the licenses might be transformed according to how Software::License::Custom works, because it lets you define a single file with all the relevant sections and would allow having a bunch of data files and a single module with the code to handle it. On the other hand, keep in mind that S::L also provides means for customising those messages with relevant info, e.g. author's name, copyright holder, year, etc. and this is done using Text::Template. I think you have to consider this when you think about the data as plain "meat". Cheers, Flavio.
Subject: Re: [rt.cpan.org #75395] Separate license data into its own distribution
Date: Sat, 24 Mar 2012 17:21:08 +0000
To: bug-Software-License [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Download (untitled) / with headers
text/plain 709b
On 2012.3.22 1:52 AM, Flavio Poletti via RT wrote: Show quoted text
> On the other hand, keep in mind that S::L also provides means for customising those > messages with relevant info, e.g. author's name, copyright holder, year, etc. and this is done > using Text::Template. I think you have to consider this when you think about the data as plain > "meat".
Yes, that's why the data would be separated into its own distribution. Having access to the license data and writing out licenses are two different use cases. You can have the data without the ability to write licenses, but not the other way around, and the data alone is useful if nothing else to answer the question "what are the valid open source licenses?".
Download (untitled) / with headers
text/plain 419b
I have a basic implementation of Software::License::Template, with files containing data and a module to load them with virtually no dependency (you can avoid loading Text::Template if you use the right option). You can find it on GitHub - https://github.com/polettix/software-license- template I still have to write docs for it and adapt Software::License to use it, but I'd like to hear from RJBS before going on.
Download (untitled) / with headers
text/plain 220b
The link to the repository: Show quoted text
> [...] You can find it on GitHub - > https://github.com/polettix/software-license- > template
got corrupted by RT. Here's the right one, hopefully: http://bit.ly/HALC4o Cheers, Flavio.
Download (untitled) / with headers
text/plain 403b
Il Ven 06 Apr 2012 04:25:55, POLETTIX ha scritto: Show quoted text
> The link to the repository:
> > [...] You can find it on GitHub - > > https://github.com/polettix/software-license- > > template
> > got corrupted by RT. Here's the right one, hopefully: > > http://bit.ly/HALC4o
This is becoming embarassing, I linked the wrong repository! Here's my last call: http://bit.ly/Hmzyae When you talk about qwalitee...
Download (untitled) / with headers
text/plain 373b
Il Ven 06 Apr 2012 04:27:58, POLETTIX ha scritto: Show quoted text
> Il Ven 06 Apr 2012 04:25:55, POLETTIX ha scritto:
> > The link to the repository:
> > http://bit.ly/Hmzyae
Added a pull request against Software::License for using Software::License::Template under the hood: http://bit.ly/HrWaa0 Before going any further I need RJBS to comment here or on GitHub. Cheers, Flavio.


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.