-
Notifications
You must be signed in to change notification settings - Fork 11
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
Multiple licenses #13
Comments
The current paradigm is to detect that from the main source file. I don't know how workable that is with multiple licenses. This needs more investigation. |
Looks like Software::LicenseUtils won't support that. Maybe have a --license option to override the detected license? |
Probably could be done, but corner cases may be tricky.
Probably something using the metamerge file is better. |
If so, then please move the check for a missing license to after the merge. Also, please change:
to a "carp" rather than a "croak". Thanks |
I see that get_license was factored out from get_meta, but any problems getting the license from the .pm file still result in "croak" before metamerge is done. |
It seems there is no easy way to merge licenses in Software::License either, that is a further problem. Consider this stalled until that is made possible. |
Version 2 of the CPAN Meta Spec specifies the license fields as a list and includes an example with more than 1 license. Currently, this module only allows 1 license.
The text was updated successfully, but these errors were encountered: