[patch] lincenses warning
fa-ml at ariis.it
Sun Mar 8 20:32:30 UTC 2015
On Sun, Mar 08, 2015 at 01:19:34PM -0400, Carter Schonwald wrote:
> On Sat, Mar 7, 2015 at 3:43 PM, Francesco Ariis <fa-ml at ariis.it> wrote:
> > My view is that, with an expressive enough License datatype which covers
> > an ample portion of usages, the warning could still be pragmatically
> > useful ("do you really have a reason to draft a new document when there
> > is probably something tried and tested out there which could do for your
> > case?").
> there will never be an expressive enough licenses datatype. Law is
> complicated and fluid and changing. Period.
Well, I ran a little test on the index of packages , to check the most
popular licences there and see how widespread is the use of OtherLicense.
Apache License, Version 2.0 3
Parsing was extremely crude, but enough to conclude that OtherLicense
amounts to less than 4% of the total amount of packages (7771).
If we find a way to deal with dual licences and add some missing licences
to Cabal (e.g. Artistic License 2), the Licence datatype will cover
99%+ of usage, which is expressive enough in my opinion (and it's not
we cannot add more stuff as new licenses pop up).
More information about the cabal-devel