-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update to copyleft license #78
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this PR !
General comments :
- Is there a smooth and dynamic way to insert the header in every new files ?
- Following this 1st statement should we create a test to ensure that headers are well incorporated in those new files ?
Codecov Report
@@ Coverage Diff @@
## master #78 +/- ##
=======================================
Coverage 85.73% 85.73%
=======================================
Files 21 21
Lines 820 820
=======================================
Hits 703 703
Misses 117 117
Continue to review full report at Codecov.
|
@Akilditu: Thanks for your comments. More seriously, it would be possible to write a script that automatically add these headers. I don't think we are going to add new files so often, so that shouldn't be a big deal to copy-paste it.
One can imagine parsing all |
Thanks for you reply !
Agreed on that point, will create an issue after merge :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for you precisions, everything is OK on my side !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the license update! A small suggestion in the licensing header about the organization name and the rest looks good to me
LICENSE
Outdated
|
||
Copyright (c) 2019 F-G Fernandez | ||
Copyright (c) 2019-2020 The pyronear developers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating this!
I looked around a bit and apparently, after the year should come the name of the person or organisation. This seems to add up with the default headers for the GPLv3 at least in the github templates (https://github.com/licenses/license-templates/blob/master/templates/gpl3-header.txt). Perhaps we should do "Copyright (c) 2019-2020 Pyronear", don't you think?
Having pyronear in lowercase and "The" before that made me realise that people might think the organization name is "The pyronear developpers" 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If more than one person is involved, why not also mentioning these persons ?
This point was asked at yesterday meeting, everyone seemed to agree that's better to emphasize on the human that produce the code more than the organization behind.
More over, using 'developers' will include any contributor who is not a member of the organization
FYI, it is common to phrase it this way: https://github.com/scikit-learn/scikit-learn/blob/master/COPYING#L3, https://github.com/scipy/scipy/blob/master/LICENSE.txt#L1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I get your point now. Thanks for the clarification 👍
I would only suggest then "Pyronear contributors" (or "Pyronear developers" if you prefer), the "The" seems a bit off to me weirdly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for asking.
Let's be Pyronear contributors then ! ;)
I checked the others GPL licenses and I found the AGPL or also this clear explanation. So with the GPLv3, someone could be able to create a service that will evaluate an image with the Pyronear program and then return the evaluation. OK until here.
As our position seems to be to keep this project as more as possible as a public property, I suggest to use the AGPLv3 instead of GPLv3. |
Thanks @x0s! Just a few comments:
|
@2ndcouteau nice finding, would you have the requirements of the license as well by any chance? (which mentions & files do we have to put in the repo and in the headers). So that we can compare our options here 🙏 @blenzi a few inputs if I may
|
Hi thanks for the review! |
Thanks for fixing the PR title. Actually, I confused the US License with the French Licence (not easy to switch very often between the two when writing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the Update, nice smooth checks :)
Wouldn't have done better 👍
I read a little bit on AGPLv3 also, that's interesting, I thought it may be used in the code that will serve the models, but yes it could also be applied here. I was just worried to be really careful about not disclosing confidential stuff (password, IPs, tokens...) due to mishandling when releasing the server code. Thank you for making us aware this possibility, I'll read more to get the subtleties of it. [Update] |
Hey, a little update ! If anybody is against moving to AGPLv3 (following @2ndcouteau suggestion), I will update the PR. If not, let's discuss, we need a consensus on this PR. Additionally, I guess we can keep CeCILL V2.1 because it seems to be already robust to SaaS loophole while offering compatibility with French law:
What're your thoughts ? |
Hi @x0s, thanks for this PR and for raising this point! I totally agree with @2ndcouteau, AGPLv3 seems to be the most suitable license. The coupling with CeCILL V2.1 is interesting considering the fact we mostly be focus on France in a first step. It's all good for me :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the point is valided, all the reference to GPL should be change to AGPL
I just picked some samples, but the fix from GPL to AGPL should be done on all the files. Thx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks a lot for all the investigation!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me as well.
AGPLv3 seems to best meet our needs, and CeCILL V2.1 fits our current scope.
Also, just to be sure, will we need to update copyright dates range while we update the repo (2019-2021 and so on) ?
Thanks for your review. Yes, with each passing year, the project survival has to be engraved in the git stone ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything's fine on my side !
As discussed with the pyronear contributors, this PR aims at licencing our work as free software through CeCILL v2.1 and AGPLv3 licences.
Motivation:
As "free" in freedom, the contributors like their work to stay free in order to encourage open collaboration and to protect the freedom of users to improve the library for common good (at least help preventing wildfires and share knowledge)
Some notes: