Re: New copyright program

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New copyright program
Date: 2011-08-19 17:51:57
Message-ID: 201108191751.p7JHpv624893@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Fetter wrote:
> 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.

Thanks. Applied to HEAD. I never liked putting scripts in git that
only I could run, but I thought if something happened to me, it would be
good to record what I did. The Perl solution is perfect.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergey E. Koposov 2011-08-19 17:56:06 two index bitmap scan of a big table & hash_seq_search
Previous Message Tom Lane 2011-08-19 17:13:10 Re: Transient plans versus the SPI API