[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: Martin Tomes <lists_at_tomes.org>
Date: 2006-01-19 16:10:42 CET

Peter N. Lundblad wrote:
> On Thu, 19 Jan 2006, Martin Tomes wrote:
>> Peter N. Lundblad wrote:
>>> On Wed, 18 Jan 2006 kfogel@collab.net wrote:
>>> OK. I have started updating the copyright notices in my last commit. It's
>>> not a big deal, but we will forget it all the time.
>> Isn't this what the pre-commit hook is for?
> Possibly, but it would be annoying just for this minor thing. You update a
> header that gets used in many places, build and test. Then commit and find
> that you forgot that damn copyright year and have to rebuild again.

How about a post-commit hook which either e-mails an author when they
have forgotten or just keeps a list of committed files with incorrect
copyright. If you keep a file it's vi `cat filename` to update them all.

Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
Visit http://www.subversionary.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 19 18:39:26 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.