-
Notifications
You must be signed in to change notification settings - Fork 1
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
WARNING: binstalk is currently GPL #2
Comments
Or by appending to GPL the following texts:
|
Thanks for reaching out about this. I'm a total license noob, so I don't quite know the steps to take. Would this require re-licensing They currently have the same dual license, but correct me if I'm wrong; adding a third license would not be a solution?
I don't know where this would be appended. In And I'm not opposed to changing the license, I just want to do the right thing. |
I am not a lawyer, so take what I said with a grain of salt. According to my experience and internet, linking MIT/Apache crates with GPL crates is ok, but it will affect the license for the final executable created since they are linked together, you would have to list the crates binstalk used in the final executable and warn people that it uses GPL.
I was talking about changing license in binstalk as this might be a concern for some users. |
Honestly, I probably need to do more research on this, this is something I don't have much knowledge of. |
(Edited multiple times as I got my thoughts in order) Fundamentally, without changes to binstalk's licensing model, descendent crates such as yours must be distributed under the same terms or more permissive as the GPL. That is in the nature of the GPL, which is a strong copyleft viral license. ✅ MIT/Apache-2 are compatible with GPL (and more permissive), so it's fine really. Specifically the only thing you (and any descendent crates) are required to do is to provide the source of your program alongside any binary (or more generically, non-source) distribution. A link to this repo does the trick. (If you're a library, you may want to add a mention somewhere that you depend on GPL code so descendent binary crates know they need to do this, but it's also the responsibility of downstream users to do their due diligence.) This prevents binstalk (and GPL projects in general) being used in fully-proprietary products, as they'd generally not want to provide their sources, and not want those sources to be licensed under GPL-compatible licenses. Source-available products are fine too, so long as their license are compatible; indeed many public projects don't really accept contributions, but can still use GPL code. (Another aspect which isn't the case here, but which is often confused with the above, is that if you modify binstalk (like if you fork it, or patch it in some way), you must release those patches under the GPL.) |
I am not a lawyer and all that. This is a great summary, thanks @passcod. 🙌
For completeness, here I think they mention they are compatible: Apache License, Version 2.0, Expat License.
We provide releases which contains a ZIP of the source file, so I would guess this is sufficient? |
It is.
Really we should have a link to the source in the |
No worries 😉 Does linking to the repo of the binaries source code suffice? Is would it be rather be linking to individual GPL components? |
To the repo of the code that's being distributed (so the binaries'), yes. |
* Show license and source in long help Ref oeb25/binswap#2 * Typo
I am the upstream maintainer of binstalk and the license seems to be a problem for this crate.
I can open an issue/PR in upstream to convert license of binstalk to MIT/Apache, but that requires everybody who contributed to cargo-binstalk to agree and that requires discussion among maintainers.
cc @passcod
The text was updated successfully, but these errors were encountered: