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 copyright date to 2012 #1644
Conversation
@@ -9,7 +9,7 @@ | |||
""" | |||
|
|||
#----------------------------------------------------------------------------- | |||
# Copyright (C) 2008-2011 The IPython Development Team | |||
# Copyright (C) 2010-2012 The IPython Development Team |
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.
why not 2008-... ?
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.
2010 is probably correct - this file didn't exist in 2008, and the copyright was probably just copied from another file.
Otherwise, looks clean. |
Thanks, looks good enough for me. Aside @fperez - Is there any better way that we can express this so we don't have to change the copyright dates in every file every year? That seems incredibly pointless. Something like |
I really don't know: I've always seen copyright notices with explicit years, though we obviously let them lapse occasionally and it's no big deal. I've simply followed the tradition I've seen. But looking up online a bit just now, revealed this. Citing the relevant section here from the US Copyright Office in case that link goes down:
Based on that information, we could instead remove all ending dates from all notices, and leave only the beginning years. That would actually be nice, since it would mean never updating these things again :) I'm +1 for changing things to removing the end years from every notice, based on this. |
Verging on bike-shedding, but FWIW -- first publication of what? My lay interpretation of this, and longtime practice, has been that the copyright year in a source file is updated when and only when the source is modified. Thus 2008-2012 would mean that the file contains some code first published in 2008, some code first published in 2012, and possibly some code first published in between. It seems unlikely that a revision constitutes a "derivative work" or "compilation". |
I suspect in a strict interpretation you're right, @jdmarch. But given that copyright exists regardless of registration, we're probably OK if we only put the year of file creation and let things be after that... In reality, the ultimate arbiter of copyright in an open source project would have to be the version control log. I'd be comfortable with leaving only the first year on the files, which has the advantage of being vastly simpler to maintain in the long run. |
I think @jdmarch is right, that the dates are all start dates - for the various parts of the file (i.e. it should not say 2012 on a file that hasn't been edited this year). But the copyright is not actually affected in any way by what we write in the notice, so I would just keep at most the file creation year, and let people ask git about the individual snippets, which are necessarily newer than that date. Otherwise, I would leave the date out altogether, and put a single X-Y date in a top-level file. I think individual file copyright/license is a stupid practice in general - it's like putting copyright notice on every page of a book, but it is standard. |
So if we're all OK with the idea of leaving only start dates everywhere, then we should instead close this PR (sorry @Carreau :) and have one that removes the |
Legal squinting aside, start year sounds good to me. |
i'm -1 on making sweeping changing like this across the whole codebase in one go. I'd prefer it if we slowly integrate the start-year-only proposal into individual files as we work on them for other reasons. If a file hasn't been touched for a long time, there's no reason to update its copyright now. This, to me, is similar to not having commits that just PEP8 the entire codebase in a bunch of places as one giant commit - whereas fixing PEP8-related things in a particular file of that you're changing in order to fix a bug or add a new feature is totally fine. |
@ivanov's proposal sounds sensible to me: If you touch a file, feel free to edit the copyright to include this first year only copyright edit, if it has X-Y format. A sweeping copyright fix is less problematic than pep8, because it doesn't touch the code with meaningless changes, but it does touch the file's history in general. |
+1 on that too. I agree that big commits that touch everything tend to create more noise than they're worth (and they often make things like rebases and cherry-picks trickier). So let's close this one and go with the above approach moving forward. |
Well, everything in title.
I don't think it has a lot of chance to conflict with anything else.