[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: AW: Re: Copyright notices - update everything to 2006?

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-01-19 17:00:30 CET

On Thu, 19 Jan 2006, Julian Foad wrote:

> Peter N. Lundblad wrote:
> >
> > I guess the best thing is to do a sweep right before a major release,
> > comparing last committed date with the copyright year and updating if
> > necessary. Would that be a sufficient solution?
>
> If... no, When someone writes a little script that checks the copyright year in
> this way, we should have "make check" run this check on every file that is
> locally modified or added. That way we'll not have to remember to run the
> check, and the update to each individual file will be made at exactly the right
> time, i.e. exactly when someone modifies it for the first time in a given year.
>
> By the way, I don't think there is any point in sweeping our files to update
> those that were changed in 2005 to say "2005"; we wouldn't gain anything
> significant (it was last done in 2004) and the "last changed date" according to
> Subversion would then confusingly be "2006".
>
Then let's the sweep script update the files to the year of the
last-changed-date and not of the current year. As long as we do releases
at least once per year, this is a non-issue except for 2005.

> Here is my contribution: a shell script to list any locally-modified files
> whose copyright notices need updating if they are to be checked in.
>

This is still annoying for such a minor thing. I build and start make
check, go for dinner and come back discovering that the tests were aborted
just because I forgot some copyright year.

I would not veto such a thing if someone volunteers to implement it
(preferably in Python so it works on Windows as well). But I would prefer
to let this date thing obstruct our development as little as possible.
BTW, I volunteer to do the sweep before 1.4 is branched if no one else
does something about this.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 19 20:45:07 2006

This is an archived mail posted to the Subversion Dev mailing list.