Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail.com>
To: "Joseph S. Myers" <joseph@codesourcery.com>
Cc: Joel Brobecker <brobecker@adacore.com>,
	binutils@sourceware.org,	gdb-patches@sourceware.org,
	gcc-patches@gcc.gnu.org
Subject: Re: copyright dates in binutils (and includes/)
Date: Mon, 03 Mar 2014 03:45:00 -0000	[thread overview]
Message-ID: <20140303034451.GD5934@bubble.grove.modra.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1402281818151.14521@digraph.polyomino.org.uk>

[-- Attachment #1: Type: text/plain, Size: 3639 bytes --]

On Fri, Feb 28, 2014 at 06:22:08PM +0000, Joseph S. Myers wrote:
> On Fri, 28 Feb 2014, Joel Brobecker wrote:
> 
> > > Joseph, do you know why implicitly adding years to the claimed
> > > copyright years is a problem?  I'm guessing the file needs to be
> > > published somewhere for each year claimed.
> > 
> > IANAL, but from 2 discussions with copyright-clerk:
> > 
> >   1. We start claiming copyright the year the file as committed
> >      to a medium (hard drive), not the year it was published.
> 
> I don't think it counts unless the version in question got published at 
> some point.  The question is about versions that weren't published at the 
> time, but were published later when the version control history was 
> released.
> 
> There was a discussion on bug-standards starting Jan 2012.  Karl's revised 
> wording from 11 May 2012 seems to indicate that if a version was committed 
> to a version control history that was later released, the dates from that 
> history count as copyrightable years (so reducing the number of cases 
> where it may not be possible to fill in gaps) - but that revised wording 
> doesn't seem to have been committed.

Thanks for pointing me at that discussion Joseph.  I've read through
all of those posts and the current
http://www.gnu.org/prep/maintain/maintain.html

It's clear that we are allowed, and even encouraged, to add the
current year to the copyright notice in each file when activity on the
package *as a whole* makes that year a "copyrightable" year.  ie. It
is not necessary that a given file had changes itself in the current
year, which was the practice we followed in the binutils project
previously.

Extending that reasoning to previous years allows us to fill in
missing years in many files.  The only condition is that each year
added be a "copyrightable" year.  You explained upthread, based on the
bug-standards discussion, exactly what constituted a "copyrightable"
year so I won't repeat it here.  I'm certain that every year since the
inception of the binutils project was in fact a "copyrightable" year,
but the funny thing is that we don't even need to know what makes a
year a "copyrightable" year.  If one file in the project correctly
claims copyright in a given year, then all files extant at that time
in the project can also have that year filled in.  For example,
gas/read.h is "Copyright 1986, 1990, .." and gas/read.c before Nick
changed that file to a year range was "Copyright 1986, 1987, 1990,..".
That allows us to add 1987 to the years in gas/read.h.

opcodes/m88k-dis.c is "Copyright 1986, 1987, 1988, 1989, 1990, 1991,.."
so there we have every year since the start of the binutils project,
until binutils had a public CVS repository.  Multiple other files also
call out each of these years, as can easily be verified with grep.

The only fly in the ointment is a file like binutils/filemode.c, added
to binutils in 1991 carrying a copyright of "1985, 1990, 1991,..".
For that file we have to look at the emacs project where it
originated, and ask whether the missing years are "copyrightable".
I think they are, using the same reasoning as above for the emacs
project.

Attached is the diff I'd like to commit.  Generated by
/usr/bin/python ./update-copyright.py --this-year
chmod a+x bfd/mep-relocs.pl binutils/ranlib.sh binutils/sanity.sh binutils/testsuite/binutils-all/windres/msupdate gas/testsuite/gas/rx/make-d gold/testsuite/*.sh gprof/bbconv.pl ld/genscripts.sh
git checkout -- `for z in include/*; do test -f ../gcc-current/$z && echo $z; done`

I'll post update-copyright.py separately.

-- 
Alan Modra
Australia Development Lab, IBM

[-- Attachment #2: copyright.diff.gz --]
[-- Type: application/octet-stream, Size: 134189 bytes --]

  reply	other threads:[~2014-03-03  3:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-27  4:50 Alan Modra
2014-02-27 13:25 ` Joel Brobecker
2014-02-27 18:47   ` Joseph S. Myers
2014-02-28  8:57     ` Alan Modra
2014-02-28 13:08       ` Joel Brobecker
2014-02-28 18:22         ` Joseph S. Myers
2014-03-03  3:45           ` Alan Modra [this message]
2014-03-03  4:16             ` Alan Modra
2014-03-03 13:33               ` Richard Sandiford
2014-03-05 12:34                 ` Alan Modra

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=20140303034451.GD5934@bubble.grove.modra.org \
    --to=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=brobecker@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=joseph@codesourcery.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox