all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Years in copyright notices
Date: 23 Jun 2004 10:08:41 +0200	[thread overview]
Message-ID: <m3vfhiu25y.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1BcuWM-0001ml-DF@fencepost.gnu.org>

Richard Stallman <rms@gnu.org> writes:

>     What is the exact policy concerning copyright years?  I see that some
>     people update the copyright years when they make changes, but
>     apparently most people do not.  Are copyright years automatically
>     updated from CVS data when a release is made?
> 
> We need to update the copyright years for all the files.
> 
> One reason we don't always add a year when making a change is that we
> don't add a year when only small changes are made during that year.
> That means that people making small changes in a file often don't
> check to see whether the changes in the current year are enough to
> justify adding the year.
> 
> Does anyone want to help in this process of adding the years
> that should be added?

If we just want to document the years that have any changes at all
(i.e. not differentiate between small and big changes), it is a fairly
easy task to accomplish (and automate) --

For each file do:

1) cvs update FILE
2) cvs log FILE
3) find the YEAR of each log entry and put it into a list
   (if not already there)
4) sort the list
5) update the copyright in FILE using that list
6) cvs commit -m"Updated copyright years" FILE

In the process, all 2-digit years would be converted into 4-digit
years.

Of course, step 5 and 6 should be avoided if the current list of
years in FILE is already correct.

A Miles pointed out, this will lead to some merge conflicts, but since
this is legal stuff, we have to accept that inconvenience.

I can do this if you approve.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  parent reply	other threads:[~2004-06-23  8:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-17  5:08 Years in copyright notices Richard Stallman
2004-06-17 13:13 ` Kim F. Storm
2004-06-18  2:42   ` Miles Bader
2004-06-18 21:51   ` Richard Stallman
2004-06-21 20:46 ` Luc Teirlinck
2004-06-22  5:18   ` Eli Zaretskii
2004-06-22 23:17   ` Richard Stallman
2004-06-23  7:09     ` Jan D.
2004-06-24 23:48       ` Richard Stallman
2004-06-23  8:08     ` Kim F. Storm [this message]
2004-06-23  8:22       ` Miles Bader
2004-06-23  9:58         ` Kim F. Storm
2004-06-24 23:48         ` Richard Stallman
2004-06-25  0:03           ` Miles Bader
2004-06-23 22:39       ` Kevin Ryde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3vfhiu25y.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.