[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding missing copyright years
From: |
Glenn Morris |
Subject: |
Re: Adding missing copyright years |
Date: |
Wed, 18 May 2005 18:53:14 +0100 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
I'm trying to update the copyright in lisp/calendar, and am finding it
really tough to do a good job. FWIW, my algorithm is something like
this:
1. Make a CVS diff between 00:00 on January first of two consecutive
years.
2. Work out the "number of lines" changed, bearing in mind that
renaming "foo" to "bar" in lots of places counts for only one line,
etc, etc.
3. If the number of lines changed is less than 10-15, carry the number
forward to the next year, and add it to any changes made that year.
If the running total becomes greater than 10-15 in any year, add a
copyright for that year, and reset the running total to zero.
4. Modulate the above with the fact that when Emacs was not available
via CVS, only years in which releases were made are eligible to be
in copyright headers. So counts of changed lines should be
accumulated until release years.
5. Keep track of code deletions. If, at any point, enough code is
deleted so that the only remaining changes from some past year are
no longer significant, then that year should not appear in
copyright headers from that point onwards. This is a real PITA.
Bloomin' lawyers. Grrr...
- Re: Adding missing copyright years, (continued)
- Re: Adding missing copyright years, Stefan Monnier, 2005/05/08
- Re: Adding missing copyright years, Alexander Pohoyda, 2005/05/10
- Re: Adding missing copyright years, Richard Stallman, 2005/05/17
- Re: Adding missing copyright years, Alexander Pohoyda, 2005/05/16
- Re: Adding missing copyright years, Richard Stallman, 2005/05/17
- Re: Adding missing copyright years, Richard Stallman, 2005/05/07
- Re: Adding missing copyright years, Glenn Morris, 2005/05/17
- Re: Adding missing copyright years, Richard Stallman, 2005/05/17
- Re: Adding missing copyright years, Kim F. Storm, 2005/05/17
- Re: Adding missing copyright years, Juanma Barranquero, 2005/05/18
- Re: Adding missing copyright years,
Glenn Morris <=
- Re: Adding missing copyright years, Juanma Barranquero, 2005/05/18
- Re: Adding missing copyright years, Richard Stallman, 2005/05/18
- Re: Adding missing copyright years, Thien-Thi Nguyen, 2005/05/18
- Re: Adding missing copyright years, Thien-Thi Nguyen, 2005/05/18
- Re: Adding missing copyright years, Thien-Thi Nguyen, 2005/05/18
- Re: Adding missing copyright years, Glenn Morris, 2005/05/18
- Re: Adding missing copyright years, Richard Stallman, 2005/05/20
- Re: Adding missing copyright years, Thien-Thi Nguyen, 2005/05/21
- Re: Adding missing copyright years, Kenichi Handa, 2005/05/22
- Re: Adding missing copyright years, Richard Stallman, 2005/05/18