New copyright program

David Fetter <david@fetter.org>

From: David Fetter <david@fetter.org>
To: PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-08-12T20:30:30Z
Lists: pgsql-hackers

Attachments

Folks,

I noticed that src/tools/copyright looks like it can only be run on
Bruce's machine, so this translation to Perl is intended:

1.  To make the script idempotent, which allows its safe use in
automated tools that might run it many times.

2.  To get the script to run on any machine a PostgreSQL developer
would be using, as Perl is already required.

3.  To make the script more efficient.  As the copyright notice we
need to munge only appears once per file, it stops once it has made a
substitution.

Please find attached a patch implementing same.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate