Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 74754
Status: open
Priority: 0/
Queue: Dist-Zilla

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

Bug Information
Severity: Unimportant
Broken in: 4.300007
Fixed in: (no value)



Subject: Licence is always required in config.ini, even if not used
Download (untitled) / with headers
text/plain 556b
Dist::Zilla::_build_licence blows up if there is no licence configured in ~/.dzil/config.ini, even if it is not used or needed - for example if the minting profile specifies its own licence in a dist.ini provided in a template. The error reported is: "no license data in config, no %Rights stash, couldn't make a good guess at license from Pod; giving up". This should only happen after conclusively determining that licence information has not been provided from any other source (i.e. when filling in the licence field while generating the dist.ini).
Download (untitled) / with headers
text/plain 972b
On 2012-02-07 15:07:56, ETHER wrote: Show quoted text
> Dist::Zilla::_build_licence blows up if there is no licence configured > in ~/.dzil/config.ini, even if it is not used or needed - for example if > the minting profile specifies its own licence in a dist.ini provided in > a template. > > The error reported is: "no license data in config, no %Rights stash, > couldn't make a good guess at license from Pod; giving up". This should > only happen after conclusively determining that licence information has > not been provided from any other source (i.e. when filling in the > licence field while generating the dist.ini).
I'm not sure I see why this should happen. That message is from the license builder, and license is lazy. So, *something* is trying to use it. That or, because I made you wait so long on this ticket, it was fixed in the interim. That doesn't seem to be the case, though. Can you still reproduce this? If so, please provide the steps. 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.