all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to update the copyright notice?
@ 2013-12-24 14:30 Xue Fuqiao
  2013-12-24 18:30 ` Paul Eggert
  2013-12-24 19:16 ` Glenn Morris
  0 siblings, 2 replies; 11+ messages in thread
From: Xue Fuqiao @ 2013-12-24 14:30 UTC (permalink / raw)
  To: emacs-devel

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/



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-12-25  1:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-24 14:30 How to update the copyright notice? Xue Fuqiao
2013-12-24 18:30 ` 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

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.