-
Notifications
You must be signed in to change notification settings - Fork 420
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
Adding License to project? #60
Comments
If I understand correctly, as this is an adaptation of the official Arduino Keyboard library, you would have to use the GNU Lesser General Public License v2.1 or later. |
Yes, I think I can do that. At first I was hesitant because a lot of the code is based on this post nkolban/esp32-snippets#230 (comment) and while I do have chegewara's permission to use his code under the MIT license, he wasn't sure how much of the code he actually wrote himself. Now the only issue I see with adding a license is the fact that this library is also heavily based on the official USB keyboard library: https://github.com/arduino-libraries/Keyboard/blob/master/LICENSE So I don't really know what to do now. Maybe @chegewara would give us permission to use his code under the GPL v3.0 license? This way I wouldn't have to deal with figuring out how to deal with multiple licenses. |
Aah, I see. Thanks for the update. I'll hold off submitting a pull request till we know more I guess. Thanks again. |
I dont know about licensing, how it works and how you can change licence when your code is derived from library with Apache licence: My part of code, which is HID i that library, can be considered MIT or Apache. |
Well, if you only have a depency on another library, but don't include its source code in your repository, you can completely ignore its license. The two parts that can't be ignored are the usb keyboard library and the code that you wrote @chegewara, because these are the only parts that actually directly exist in this repo in terms of source code, at least to some degree. Now the question is if I would have your blessing redistributing your code that I modified under the GPL v3 license as part of this library. |
I'm looking to use this library as part of a school project. I was relieved when we found this repo since it abstracts away a ton of work we would otherwise have to do, but we're currently using GPLv3 so we were stumped when we found out that this is unlicensed. Is it okay if we get explicit permission to use this library in our licensed project? On a side note, since code licensed under MIT and Apache2.0 can both be legally used in a GPL project, with @chegewara's permission couldn't this project also be licensed under GPLv3? |
In regards to the code that I wrote, you can use that as if licensed unter MIT or GPLv3. You're probably fine if you consider the whole project GPLv3. |
@T-vK Thanks for the clarification. Good to know. I completely lost track of the original library since I made my keypad, I'll see if there's anything I can contribute there. |
It would be really good to add an explicit licence to this useful project and close this long standing issue out as technically, your project is private domain without an explicit licence. I'm not a lawyer but reading comments above, it seems straightforward that when you combine code under permissive licence (MIT, Apache, BSD) with protective copyleft license such as GPL2 or 3, you issue the derivative work under GPL3 licence. Ref: Wikipedia Licence Compatibility article also see good discussion here |
Would you be willing to add a license to your project? I wanted to incorporate your implementation of media keys in the standard Arduino keyboard library, to use with a matrix keypad. This would be fine for a personal project like mine. But, I also would like to submit a pull request to the Arduino Library with these changes.
I don't think I can do that without a license published in your repository. I would really appreciate it.
Thanks.
The text was updated successfully, but these errors were encountered: