New copyright program

Поиск
Список
Период
Сортировка
От David Fetter
Тема New copyright program
Дата
Msg-id 20110812203030.GA18572@fetter.org
обсуждение исходный текст
Ответы Re: New copyright program  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Extra check in 9.0 exclusion constraint unintended consequences
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: VACUUM FULL versus system catalog cache invalidation