Perl-Toolchain-Gang / Software-License

perl representation of common software licenses
18 stars 40 forks source link

Add method guess license from meta json #28

Closed magnolia-k closed 3 years ago

magnolia-k commented 10 years ago

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.

karenetheridge commented 8 years ago

As noted in https://github.com/Perl-Toolchain-Gang/Software-License/issues/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 commented 8 years ago

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