ryanuber / go-license

Software licensing standardization library for Golang
MIT License
69 stars 15 forks source link

MPLv2 is sometime stated without a comma #19

Closed aybabtme closed 7 years ago

aybabtme commented 7 years ago

For instance, in github.com/hashicorp/go-sockaddr the MPLv2 starts like:

Mozilla Public License Version 2.0

https://github.com/hashicorp/go-sockaddr/blob/master/LICENSE#L1

I think long term it'd be better to tokenize the licenses and do some sort of TF-IDF matching.

ryanuber commented 7 years ago

Huh, that is strange. AFAIK this is not typical for MPL2, but being lenient in this case is probably a good thing.

WRT more formal parsing, my feeling is that it just becomes too expensive for this package. I am not opposed to it, but we would need to closely look at what we are gaining from it, and weigh that against the complexity and performance penalty we would likely incur.

ryanuber commented 7 years ago

Thanks!