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

Add method guess license from meta json #28

Closed
wants to merge 2 commits into from
Closed

Add method guess license from meta json #28

wants to merge 2 commits into from

Conversation

magnolia-k
Copy link

I think that the method corresponding to it is required for it since CPAN Meta spec 2 can specify two or more licenses.

I wrote method guess_license_from_meta_json.

magnolia added 2 commits April 4, 2014 22:33
CPAN Meta spec 2.0 allows that the distribution has multiple licenses.

guess_license_from_meta_json will return a guess to each specified licenses
in a hash reference format.
@karenetheridge
Copy link
Member

As noted in #39, the correct thing to do here is to use the already-provided APIs in CPAN::Meta to parse meta files, rather than doing it ourselves. But the intent is good -- that META.json can contain a list and we should be able to read that format.

@rjbs
Copy link
Member

rjbs commented Nov 20, 2015

Agreed with @karenetheridge . Tagged "needs rework." I'm otherwise in favor.

@rjbs rjbs deleted the branch Perl-Toolchain-Gang:master August 2, 2021 13:33
@rjbs rjbs closed this Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants