Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No GPL recommendation for libraries #11

Open
LourensVeen opened this issue Aug 10, 2018 · 2 comments
Open

No GPL recommendation for libraries #11

LourensVeen opened this issue Aug 10, 2018 · 2 comments

Comments

@LourensVeen
Copy link

If I select software/my own code/yes/library the selector suggests five different weak copyleft licenses, but not the GPL, even though the GPL would also be compatible with those choices.

@thawn
Copy link

thawn commented Aug 15, 2024

I think the current recommendation is sensible.

Without wanting to start a licensing flame war, here is why:
A GPL licensed library forces all code that uses the library to use GPL. Even if the code only uses the compiled binaries of the library. In my humble opinion, this defeats the purpose of a library.

I personally am almost always using BSD-3, which means I cannot write code that depends on GPL licensed libraries.

@LourensVeen
Copy link
Author

It seems to me that the goal of this widget is to help people to choose a license that matches the conditions that they want to put on their code. So if they want to put a condition on there that says that they want their library to be used only in FOSS, then they should be getting a recommendation for the GPL. I don't see why the widget should decide for them that that's a bad idea. As you say, opinions vary, and I'll-share-mine-if-you-share-yours sounds perfectly reasonable to me.

As for using a GPL library in a permissively-licensed project, you can do that because the GPL allows you to give additional permissions for your own code. So as long as the licenses are compatible (GPLv2 and Apache2 is the only problem with commonly used licenses) you're fine. If you really want to be sure, dual-license your own code BSD-3 and GPL.

Of course, if someone wanted to use your code in a proprietary program, then they would have to replace the GPL dependency first, after which they can use the rest under the BSD-3 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants