Closed jachym closed 7 years ago
On my branch I have commited the files with the licenses. I am have used the MIT on python-master with the following:
Copyright (C) 2014-2016 PyWPS Development Team, represented by PyWPS Project Steering Committee
1) I am not certain if it should be represented by PyWPS Project Steering Committe or just @jachym. I prefer the first
2) Where I found the authors name (mainly @mgax @Noctalin ) I have included them on __author__
, I thinking to put a table on line and ask for people to fill it to clain authorship of code
3) The code needs to be passed by flake8 at least to check if modules are being used, already noticed some declared modules that are not used
Pull request: I would do it after I pass everything through flake8, @jachym are all the points above OK with you ???
Good idea! Suggestions:
I'd argue against spamming each source file with a copyright header. It's common practice to just provide a LICENSE.txt
file at the top level of the repo. But I think making a single commit to clean up pep8 issues is a great idea.
Having a standard header file is a requirement for OSGeo incubation and IMHO any project serious about copyright, distribution and related issues.
any project serious about copyright
I submit to you a source file from the Django project, I believe they qualify as "serious" :) No copyright header in there. And maybe it's a good time to raise the issue about this particular OSGeo incubation requirement. :)
@mgax thanks for the example ;) Agree, worth a discussion, I will raise.
Update: thread started in https://lists.osgeo.org/pipermail/incubator/2016-September/003165.html.
A Licence file does not replace a Copyright notice. In Europe Copyright applies by default, but this is not the case elsewhere (e.g. US). Therefore I would argue for a Copyright notice in each file header, with a reference to the Licence file.
Hi to all Will had my 2 cents. Yes adding a big header is a pain and having to update the dates even worst, but is a job that has to be done, and better to be "pedantic" now than to be sorrow in the future, meaning I am more in favor of a copyright notice in each file header, I think that the heard was the standard in the past but people and new project stopped using it.
I have read the comments on the thread started by Tom, and maybe a good solution would be a smaller header like this:
/* (c) 2017 Open Source Geospatial Foundation - all rights reserved This code is licensed under the GPL 2.0 license, available at the root application directory. */
This is inline with the suggestion from @ldesousa
Precisely. The header needs only two lines: copyright notice and a reference to the licence file.
Update: this turns out to be not a hard OSGeo requirement after some clarifications. I'm okay with going with @ldesousa's suggestion.
How about this? I think the "all rights reserved" is implied if you state the copyright owner.
# (c) 2017 OSGeo, licensed under GPL 2.0, see LICENSE.txt
Shall we also include the development team ???? and the author on the python code or not necessary?
(c) 2017 OSGeo, licensed under GPL 2.0, see LICENSE.txt on root directory PyWPS Development Team, represented by PyWPS Project Steering Committe
author = "Santa's little helper" email = "santa@polenorte.com"
Any email is not a good idea to void spammer crawlers?
Most files have more than one author, I would leave that bit out. On the demo this might make sense, but I guess not here.
Another thing: I doubt we can have copyright assigned to mlre than one entity. I suggest something like: Copyright OSGeo Foundation, represented by the PyWPS PSC.
PyWPS3.2 authors and license for each file ( done by command line and then checking each file)
Hi,
short (2 lines) copyright header is fine
Forget about Jachym Cepicky - it's PyWPS PSC.
Authors can change - leave them out, git will tell
just my 0.02
PyWPS4-master authors and license for each file ( done by command line and then checking each file)
From the multiple comments, I think we more or less agree on:
PyWPS3-2:
Copyright 2016 OSGeo Foundation, represented PyWPS Project Steering Committe, licensed under GPL 2.0, see LICENSE.txt on root directory.
PyWPS4.0(master)
Copyright 2016 OSGeo Foundation, represented PyWPS Project Steering Committe, licensed under MIT, see LICENSE.txt on root directory.
Personal authors only relevant on demos.
Do we need a final approval vode?
I would remove 'on root directory
', otherwise looks good to me.
+1 to put to a vote.
+1 (also vote for remove of on root directory)
+1 I usually wirte something like: "Please consult the LICENCE file for details."
Implementing
PyWPS3-2:
Copyright 2016 OSGeo Foundation, represented by PyWPS Project Steering Committe, licensed under GPL 2.0, Please consult LICENSE.txt for details.
PyWPS4.0(master)
Copyright 2016 OSGeo Foundation, represented by PyWPS Project Steering Committe, licensed under MIT, Please consult LICENSE.txt for details.
Everything done made two pull requests #192 #193, when they are accepted please close issue
Thanks all!
Add Copyright headers