-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Library manager should display license for each library #6646
Comments
This is probably out of the scope of this issue but I still wonder why 2 configuration files: A GitHub bot sending Pull Requests may be considered for libraries (if many Arduino libraries are on GitHub) - An exemple of such a bot (in a different context / language ecosystem) can be found at https://juliacomputing.com/blog/2017/08/17/femtocleaner.html https://github.com/JuliaComputing/FemtoCleaner.jl This Ruby Gem https://github.com/benbalter/licensee is used by GitHub to detect under what license a project is distributed. |
@scls19fr Only one configuration file, For all the existing libraries, I suggest to collect the license through:
For the existing library that can't be found or added a license, I suggest to remove it. Thanks. |
library.json is used by platformio. It's not used at all by the Arduino IDE/Library Manager. |
Thanks @per1234 about
(or something similar) Respecting license (open source or not) is crucial and when choosing a library, license is an important criterion to consider. It will make Arduino users (especially new users) aware of this. |
@scls19fr I agree with you of adding a field for license in the
|
My english is not perfect also ;-) so I may have misunderstood. A first step could be to edit library specification |
What I meant above is not to remove the library immediately, sorry. |
It's not clear to me what the intent is behind this suggestion. Here are some comments I have on each component: Add a license field to library.propertiesI'm not necessarily against this but it just seems like the sort of user who is concerned with the license type will have no trouble looking for it in the library folder/source code. Display the license value in Library ManagerThe average Arduino user doesn't care about licenses and probably doesn't even understand why they should. The Arduino IDE attempts to offer a very simple UI to be beginner friendly so we need to carefully evaluate whether adding additional complexity is justified. Add a warning if the license field of library.properties is not suppliedAs someone who has been very active in trying to get library authors to fix this sort of warning I can tell you they have the side effect of causing confusion and unnecessary concern for users and are not always effective at getting library authors to add/fix their metadata. Eventually add licensing requirements for inclusion in the Library Manager indexIs this coming from a legal perspective (i.e. it's not legal for Arduino to distribute all rights reserved libraries via Library Manager) or solely to advocate for open source licensing of these libraries? As to the former, of course that would be a concern but I don't have the knowledge to comment on this. As to the latter, I certainly do understand the importance of licensing. I think a lot of Arduino users just assume that any code published online can be used freely but of course this is not the case and I have seen that assumption cause problems (e.g. #4604). A more light handed approach would be to simply add a note to the Library Manager FAQ that recommends adding a license with a link to more information. |
A light handed approach might be to try to auto detect the license for a library based on its contents and display it in the library manager if it could be detected. This would be similar to what github currently does. |
Looks like a Looks like this is coming from library.properties, e.g.: https://github.com/DaAwesomeP/arduino-cardinal/blob/master/library.properties 👍 |
If We can also detect inconsistency in license (ie a different license in |
From olikraus/U8g2_Arduino#4 (comment) Wiki should be updated to provide what |
Well, fine, but is the "license" keyword already detected as per the Arduino IDE? |
Hello,
Library manager should display license for each library.
Ideally we should find SPDX identifier https://spdx.org/licenses/ https://en.wikipedia.org/wiki/Software_Package_Data_Exchange for each library that can be installed using Arduino IDE.
I didn't find in
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
anything related to license
Pinging @kuanglei @cmaglie @per1234
Kind regards
The text was updated successfully, but these errors were encountered: