Skip to content

Commit

Permalink
Revise bundling recommendations slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Sep 26, 2020
1 parent c317d67 commit 2e808d6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions license.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,7 @@ There are five main cases to consider:

- If your license and their license are the same: it's OK to bundle.

- If their license is permissive, it's OK to bundle.
(One important exception is that Apache License 2.0 is only compatible with GPLv3, not GPLv2).

- If both licenses are copyleft licenses (but not the same), you'll need to do a little research.
Wikipedia has a [useful diagram](https://en.wikipedia.org/wiki/License_compatibility#Compatibility_of_FOSS_licenses) and Google is your friend.
It's important to note that different versions of the same license are not necessarily compatible, e.g.
GPLv2 and GPLv3 are not compatible.
- If their license is MIT or BSD, it's OK to bundle.

- If their code has a copyleft license and your code has a permissive license, you can't bundle their code.
You'll need to consider an alternative approach, either looking for code with a more permissive license, or putting the external code in a separate package.
Expand All @@ -250,6 +244,11 @@ There are five main cases to consider:
. This means that you need to take extra care when using Stack Overflow code in open source packages
. Learn more at <https://empirical-software.engineering/blog/so-snippets-in-gh-projects>.

- Otherwise, you'll need to do a little research.
Wikipedia has a [useful diagram](https://en.wikipedia.org/wiki/License_compatibility#Compatibility_of_FOSS_licenses) and Google is your friend.
It's important to note that different versions of the same license are not necessarily compatible, e.g.
GPLv2 and GPLv3 are not compatible.

[^license-5]: <https://stackoverflow.com/help/licensing>

[^license-6]: <https://creativecommons.org/share-your-work/licensing-considerations/compatible-licenses/>
Expand Down

0 comments on commit 2e808d6

Please sign in to comment.