Skip to content

Fix the copyright statement in source code files to be accurate #2

Closed

Description

Original Launchpad bug 502789: https://bugs.launchpad.net/ipython/+bug/502789
Reported by: ellisonbg (Brian Granger).

The copyright statements in some source files are inaccurate and need to be updated.

Activity

  1. tomspur commented on Jun 12, 2010

    @tomspur
    Contributor

    What needs to be done for this?
    Just copying the 'following banner' from COPYING.txt?

    I think so, and would have done that, but I guess everywhere 2010 instead of 2008, isn't it? Or 2008-2010 or whatever?

    After an answer, I could take care of adding this everywhere and send a pull-request.

  2. ghost assigned on Apr 10, 2011
  3. Carreau commented on Nov 20, 2011

    @Carreau
    Member

    this start to be an old issue.
    I don't know the politics of copyright updating:

    • all files
    • all files already mentionning the Dev Team
    • all files already mentionning the Dev Team and edited in 2011 ...

    I wrote a small python class the shoul handle simple querry of wether the Copyright is up to date or not and update it if necessary.
    I can try to put it in the test suit. As it's not hi-priority i won't make it work also on windows, because it rely on grep and find ...
    https://github.com/Carreau/ipython/tree/fix-copyright

  4. fperez commented on Nov 20, 2011

    @fperez
    Member

    @Carreau, no need to automate this, it's more likely to break and give build hassles than anything else, and it's not critical. In general, we just have the policy of having a copyright notice at the top of files that says

    #-----------------------------------------------------------------------------
    #  Copyright (C) 2001-200X OLD Copyrights Always Left intact
    #  Copyright (C) 200Y-200Z OLD Copyrights Always Left intact
    #  Copyright (C) 2008-This Year  The IPython Development Team
    #
    #  Distributed under the terms of the BSD License.  The full license is in
    #  the file COPYING, distributed as part of this software.
    #-----------------------------------------------------------------------------
    

    For new files, it's simply

    #-----------------------------------------------------------------------------
    #  Copyright (C) 2011  The IPython Development Team
    #
    #  Distributed under the terms of the BSD License.  The full license is in
    #  the file COPYING, distributed as part of this software.
    #-----------------------------------------------------------------------------
    

    But it's not the end of the world if one or two files are missing this, and I'd rather never have to debug a grep/find error on BSD vs Linux vs Solaris because of automation here.

    A PR that simply updates files that are missing a notice or brings the current year to 2011 where it's not would be fine, for sure.

  5. fperez commented on Nov 24, 2011

    @fperez
    Member

    Thanks a lot, @Carreau. I think the fixes in #1033 are sufficient, closing here.

  6. added a commit that references this issue on Jul 1, 2013
  7. added a commit that references this issue on Jul 1, 2013
  8. added a commit that references this issue on Jul 1, 2013
  9. added a commit that references this issue on Jul 14, 2013
  10. added a commit that references this issue on Jul 17, 2013
  11. added a commit that references this issue on Jul 19, 2013
  12. added a commit that references this issue on Aug 13, 2013
  13. added a commit that references this issue on Feb 28, 2014
  14. added a commit that references this issue on Feb 28, 2014
  15. 2 remaining items

  16. added a commit that references this issue on Jul 27, 2014
  17. added 8 commits that reference this issue on Nov 3, 2014
    a39139e
    6b947ac
    989b813
    4aaef86
    7152e1e
    6966989
    df226e7
    0162805
  18. added a commit that references this issue on Jun 8, 2016
  19. added a commit that references this issue on Aug 31, 2016
  20. added a commit that references this issue on Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions