librariesio / license-compatibility

:copyright: Check compatibility between different SPDX licenses
https://libraries.io/github/librariesio/license-compatibility
MIT License
34 stars 5 forks source link

Sanity checking compatibility approach #3

Open andrew opened 8 years ago

andrew commented 8 years ago

I've started this project based on some basic's that I've picked up from https://en.wikipedia.org/wiki/License_compatibility but I'm not that experienced with software licensing laws, would anyone with more experience like advise if this library is barking up the right tree?

camillem commented 8 years ago

Hi, Just a few points regarding /lib/license/compatibility.rb You include 'EPL-1.0' and 'MPL-2.0' in the PERMISSIVE array, while they're generally considered as (weak) copyleft. Regarding copyleft, it's not uncommon to consider two dimensions, the scope (typically permissive/weak/strong copyleft) and the triggering action of obligations (distribution in most licences / network access, like in Affero licences). The licences in your STRONG_COPYLEFT would be more generally qualified as "network copyleft", while "strong copyleft" generally refers to licences like the GPL, CECILL-2.0. You seem to refer to SPDX 1, using licence IDs with "+". Starting with SPDX 2, "+" is considered as an operator in an expression (cf. http://spdx.org/sites/spdx/files/SPDX-2.0.pdf ). I don't know if this is relevant for your approach, but it might (Npm has switched to SPDX 2.0.) HTH

andrew commented 8 years ago

Thanks for the feedback @camillem, I've made a few tweaks based on your suggestions: