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

* Re: Allow use of ranges in copyright notices
       [not found] ` <CAGWvny=CjjKyURf9ngxPHsjZswFV2B=kJ__W6465uLmCzgEUgA@mail.gmail.com>
@ 2012-07-02 12:36   ` Alexandre Oliva
  2012-07-02 13:43     ` Robert Dewar
  0 siblings, 1 reply; 8+ messages in thread
From: Alexandre Oliva @ 2012-07-02 12:36 UTC (permalink / raw)
  To: David Edelsohn; +Cc: Joseph S. Myers, gcc, gcc-patches

On Jun 30, 2012, David Edelsohn <dje.gcc@gmail.com> wrote:

> IBM's policy specifies a comma:

> <first year>, <last year>

> and not a dash range.

But this notation already means something else in our source tree.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer

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

* Re: Allow use of ranges in copyright notices
  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
  0 siblings, 2 replies; 8+ messages in thread
From: Robert Dewar @ 2012-07-02 13:43 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: David Edelsohn, Joseph S. Myers, gcc, gcc-patches

On 7/2/2012 8:35 AM, Alexandre Oliva wrote:
> On Jun 30, 2012, David Edelsohn <dje.gcc@gmail.com> wrote:
>
>> IBM's policy specifies a comma:
>
>> <first year>, <last year>
>
>> and not a dash range.
>
> But this notation already means something else in our source tree.
>

I think using the dash is preferable, and is a VERY widely used
notation, used by all major software companies I deal with!

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

* Re: Allow use of ranges in copyright notices
  2012-07-02 13:43     ` Robert Dewar
@ 2012-07-02 14:06       ` Miles Bader
  2012-07-02 14:17       ` Joseph S. Myers
  1 sibling, 0 replies; 8+ messages in thread
From: Miles Bader @ 2012-07-02 14:06 UTC (permalink / raw)
  To: gcc-patches; +Cc: gcc

Robert Dewar <dewar@adacore.com> writes:
> On 7/2/2012 8:35 AM, Alexandre Oliva wrote:
>> On Jun 30, 2012, David Edelsohn <dje.gcc@gmail.com> wrote:
>>> IBM's policy specifies a comma:
>>
>>> <first year>, <last year>
>>
>>> and not a dash range.
>>
>> But this notation already means something else in our source tree.
>
> I think using the dash is preferable, and is a VERY widely used
> notation, used by all major software companies I deal with!

Also the dash notation has been vetted by FSF lawyers (and accordingly
is used by other GNU projects that pay a lot of attention to getting
the legal details right, like Emacs).

-miles

-- 
Politeness, n. The most acceptable hypocrisy.

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

* Re: Allow use of ranges in copyright notices
  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
  1 sibling, 1 reply; 8+ messages in thread
From: Joseph S. Myers @ 2012-07-02 14:17 UTC (permalink / raw)
  To: Robert Dewar; +Cc: Alexandre Oliva, David Edelsohn, gcc, gcc-patches

On Mon, 2 Jul 2012, Robert Dewar wrote:

> On 7/2/2012 8:35 AM, Alexandre Oliva wrote:
> > On Jun 30, 2012, David Edelsohn <dje.gcc@gmail.com> wrote:
> > 
> > > IBM's policy specifies a comma:
> > 
> > > <first year>, <last year>
> > 
> > > and not a dash range.
> > 
> > But this notation already means something else in our source tree.
> 
> I think using the dash is preferable, and is a VERY widely used
> notation, used by all major software companies I deal with!

And as a GNU project there isn't a choice between using IBM convention and 
GNU convention - only about which of the GNU options we use.  The simplest 
is <first-year>-2012 (for any value of <first-year> 1987 or later) and so 
I am proposing we move to that (make this change to README to allow it, 
allow converting files when 2012 is added to the copyright years, as is 
now done in glibc, allow a bulk conversion if anyone wishes to do one).

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: Allow use of ranges in copyright notices
  2012-07-02 14:17       ` Joseph S. Myers
@ 2012-07-02 14:45         ` David Edelsohn
  2012-07-02 15:13           ` Joseph S. Myers
  0 siblings, 1 reply; 8+ messages in thread
From: David Edelsohn @ 2012-07-02 14:45 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Robert Dewar, Alexandre Oliva, gcc, gcc-patches

On Mon, Jul 2, 2012 at 10:17 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Mon, 2 Jul 2012, Robert Dewar wrote:
>
>> On 7/2/2012 8:35 AM, Alexandre Oliva wrote:
>> > On Jun 30, 2012, David Edelsohn <dje.gcc@gmail.com> wrote:
>> >
>> > > IBM's policy specifies a comma:
>> >
>> > > <first year>, <last year>
>> >
>> > > and not a dash range.
>> >
>> > But this notation already means something else in our source tree.
>>
>> I think using the dash is preferable, and is a VERY widely used
>> notation, used by all major software companies I deal with!
>
> And as a GNU project there isn't a choice between using IBM convention and
> GNU convention - only about which of the GNU options we use.  The simplest
> is <first-year>-2012 (for any value of <first-year> 1987 or later) and so
> I am proposing we move to that (make this change to README to allow it,
> allow converting files when 2012 is added to the copyright years, as is
> now done in glibc, allow a bulk conversion if anyone wishes to do one).

Joseph,

You are misunderstanding the point of my message.  I mentioned the
comma convention for worldwide legal precedence and acceptance, not
because it is an IBM convention.

There was a similar discussion many years ago. The dash format is
widely used, but the comma format has better legal clarity and
definition in worldwide copyright litigation, at least many years ago.

- David

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

* Re: Allow use of ranges in copyright notices
  2012-07-02 14:45         ` David Edelsohn
@ 2012-07-02 15:13           ` Joseph S. Myers
  0 siblings, 0 replies; 8+ messages in thread
From: Joseph S. Myers @ 2012-07-02 15:13 UTC (permalink / raw)
  To: David Edelsohn; +Cc: Robert Dewar, Alexandre Oliva, gcc, gcc-patches

On Mon, 2 Jul 2012, David Edelsohn wrote:

> There was a similar discussion many years ago. The dash format is
> widely used, but the comma format has better legal clarity and
> definition in worldwide copyright litigation, at least many years ago.

Maybe questions about the meanings of the dash format are why the GNU 
instructions require a statement in a README file about the use of that 
notation.

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: Allow use of ranges in copyright notices
  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-16 14:02 ` Joseph S. Myers
  1 sibling, 0 replies; 8+ messages in thread
From: Joseph S. Myers @ 2012-07-16 14:02 UTC (permalink / raw)
  To: gcc, gcc-patches

I have now committed this patch to allow the use of ranges.

-- 
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).