Re: New copyright program
От | Bruce Momjian |
---|---|
Тема | Re: New copyright program |
Дата | |
Msg-id | 201108191751.p7JHpv624893@momjian.us обсуждение исходный текст |
Ответ на | New copyright program (David Fetter <david@fetter.org>) |
Ответы |
Re: New copyright program
|
Список | 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@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-hackers по дате отправления: