Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Licence is always required in config.ini, even if not used [rt.cpan.org #74754] #681

Open
rjbs opened this issue Jul 3, 2021 · 0 comments

Comments

@rjbs
Copy link
Owner

rjbs commented Jul 3, 2021

https://rt.cpan.org/Ticket/Display.html?id=74754

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant