From: Xue Fuqiao <xfq.free@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: How to update the copyright notice?
Date: Tue, 24 Dec 2013 22:30:56 +0800 [thread overview]
Message-ID: <CAAF+z6HQv24otnq6A6uasfNjEc3OS1W5wwuMEW8GUuvT_4=UBw@mail.gmail.com> (raw)
The year 2014 is coming, and I'd love to help update the copyright
notices in the repo, like the one committed by Paul[fn:1].
First, I found the `set-copyright' function in admin/admin.el, which can
update the copyright notices for these files:
configure.ac
etc/refcards/emacsver.tex
etc/refcards/ru-refcard.tex
lib-src/rcs2log
msdos/sed2v2.inp
nt/config.nt
The copyright strings for these files are simply "Copyright (C) 2013
Free Software Foundation, Inc." and they do not contain year ranges (not
sure whether they are the only ones that don't contain a year range).
`set-copyright' works well on these files, but I'd like to perform this
action "globally".
From admin/notes/years, I knew that maintaining copyright years is now
very simple: every time a new year rolls around, add that year to every
FSF (and AIST) copyright notice. Do we have a such script/function that
can do this job? If not, IMHO we need a function that can change all
"2013"s to "2014", recursively, except for:
a) All ChangeLog files;
b) New files created this year, since we need to change the single year
to a year range
c) The years processed by `set-copyright', since they don't contain year
ranges;
d) Something like
http://lists.gnu.org/archive/html/.*/\([[:digit:]]\)-[[:digit:]]/.*html
often appears in the comment or main body of a file
Then manually check if there are any "2013" being replaced improperly
(see Makefile.in in the root of repo for example), fix them, and
commit. Any ideas?
Footnotes:
[fn:1] http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6aef6b19675b70f1786b16782c277b375257e640
--
http://www.gnu.org/software/emacs/
next reply other threads:[~2013-12-24 14:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-24 14:30 Xue Fuqiao [this message]
2013-12-24 18:30 ` How to update the copyright notice? Paul Eggert
2013-12-24 19:23 ` Glenn Morris
2013-12-24 20:04 ` Glenn Morris
2013-12-24 20:17 ` Paul Eggert
2013-12-25 1:59 ` Glenn Morris
2013-12-24 20:18 ` Paul Eggert
2013-12-24 19:16 ` Glenn Morris
2013-12-24 22:30 ` Jarek Czekalski
2013-12-25 0:32 ` Richard Stallman
2013-12-24 22:51 ` Xue Fuqiao
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='CAAF+z6HQv24otnq6A6uasfNjEc3OS1W5wwuMEW8GUuvT_4=UBw@mail.gmail.com' \
--to=xfq.free@gmail.com \
--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.