public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Allow use of ranges in copyright notices
@ 2012-06-30 19:23 Joseph S. Myers
       [not found] ` <CAGWvny=CjjKyURf9ngxPHsjZswFV2B=kJ__W6465uLmCzgEUgA@mail.gmail.com>
  2012-07-16 14:02 ` Joseph S. Myers
  0 siblings, 2 replies; 8+ messages in thread
From: Joseph S. Myers @ 2012-06-30 19:23 UTC (permalink / raw)
  To: gcc, gcc-patches

I propose that GCC should allow the use of ranges of years (e.g. 
1987-2012) in copyright notices on source files.  As described at 
<http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html>:

* This requires a notice in README about the use of range notation; I 
propose such a notice below.

* It is not necessary to track the modification dates of individual files, 
only the package as a whole; as there have been public GCC releases or 
public version control in each year from 1987 onwards, the form 
<first-year>-2012 is OK for all GCC source files (whose source is in GCC 
rather than being copied from another package) as long as <first-year> is 
1987 or later.

Comments?  GDB and glibc already make active use of ranges (as does the 
Ada front end in GCC).  I think it's a useful cleanup to convert source 
files to the <first-year>-2012 form, and to set up automatic updates of 
all files at the start of the year so people don't need to care about 
copyright notice updates for the rest of the year, but don't plan to work 
on these things myself.  (gnulib has a script that can help with both of 
those things.  glibc has been converting individual files to the single 
range form whenever the dates needed updating to include 2012, but may do 
a general bulk conversion later.)

2012-06-30  Joseph Myers  <joseph@codesourcery.com>

	* README: Document use of ranges of years in copyright notices.

Index: README
===================================================================
--- README	(revision 189094)
+++ README	(working copy)
@@ -15,3 +15,8 @@
 version of the manual is in the files gcc/doc/gcc.info*.
 
 See http://gcc.gnu.org/bugs/ for how to report bugs usefully.
+
+Copyright years on GCC source files may be listed using range
+notation, e.g., 1987-2012, indicating that every year in the range,
+inclusive, is a copyrightable year that could otherwise be listed
+individually.

-- 
Joseph S. Myers
joseph@codesourcery.com

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

end of thread, other threads:[~2012-07-16 14:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-30 19:23 Allow use of ranges in copyright notices Joseph S. Myers
     [not found] ` <CAGWvny=CjjKyURf9ngxPHsjZswFV2B=kJ__W6465uLmCzgEUgA@mail.gmail.com>
2012-07-02 12:36   ` Alexandre Oliva
2012-07-02 13:43     ` Robert Dewar
2012-07-02 14:06       ` Miles Bader
2012-07-02 14:17       ` Joseph S. Myers
2012-07-02 14:45         ` David Edelsohn
2012-07-02 15:13           ` Joseph S. Myers
2012-07-16 14:02 ` Joseph S. Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).