Header comments in the recently added files

Поиск
Список
Период
Сортировка
Искать

Header comments in the recently added files

От:
Itagaki Takahiro <itagaki.takahiro@gmail.com>
Дата:
I found trivial mistakes in the recently added files.
Will they fixed by some automated batches, or by manual?

- "Copyright (c) xxx-*2010*, PostgreSQL Global Development Group" in pg_collation.h, pg_foreign_table.h, basebackup.h, syncrep.h, pg_backup_directory.c and auth_delay.c.
- "IDENTIFICATION $PostgreSQL$" in pg_collation.h, syncrep.h, and syncrep.c Other files has their actual paths in the same place.

-- 
Itagaki Takahiro

Re: Header comments in the recently added files

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Wed, Mar 9, 2011 at 8:33 PM, Itagaki Takahiro
 wrote:
> I found trivial mistakes in the recently added files.
> Will they fixed by some automated batches, or by manual?
>
> - "Copyright (c) xxx-*2010*, PostgreSQL Global Development Group"
>  in pg_collation.h, pg_foreign_table.h, basebackup.h, syncrep.h,
>  pg_backup_directory.c and auth_delay.c.
> - "IDENTIFICATION $PostgreSQL$" in pg_collation.h, syncrep.h, and syncrep.c
>  Other files has their actual paths in the same place.

I think these should be fixed manually.  The first might eventually
get fixed automatically, but perhaps not until 2012, and I'm not sure
the second would ever get fixed automatically.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Header comments in the recently added files

От:
Itagaki Takahiro <itagaki.takahiro@gmail.com>
Дата:
On Thu, Mar 10, 2011 at 12:55, Robert Haas  wrote:
> On Wed, Mar 9, 2011 at 8:33 PM, Itagaki Takahiro
>  wrote:
>> I found trivial mistakes in the recently added files.
>> Will they fixed by some automated batches, or by manual?

> I think these should be fixed manually.  The first might eventually
> get fixed automatically, but perhaps not until 2012, and I'm not sure
> the second would ever get fixed automatically.

OK, I'll do that.

-- 
Itagaki Takahiro

Re: Header comments in the recently added files

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Itagaki Takahiro  writes:
> I found trivial mistakes in the recently added files.
> Will they fixed by some automated batches, or by manual?

> - "Copyright (c) xxx-*2010*, PostgreSQL Global Development Group"
>   in pg_collation.h, pg_foreign_table.h, basebackup.h, syncrep.h,
>   pg_backup_directory.c and auth_delay.c.
> - "IDENTIFICATION $PostgreSQL$" in pg_collation.h, syncrep.h, and syncrep.c
>   Other files has their actual paths in the same place.

It might be worth Bruce making another run of his copyright-update
script to fix the former problems.  As for the latter problems,
I have a to-do item to go around and standardize the format of the
header comments a bit better --- I'd like to have a uniform convention
that we put the full path name of each file at the top, and then get
rid of the vestigial "IDENTIFICATION" sections.  Don't know quite when
I'll get to it though.
		regards, tom lane

Re: Header comments in the recently added files

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Tom Lane wrote:
> Itagaki Takahiro  writes:
> > I found trivial mistakes in the recently added files.
> > Will they fixed by some automated batches, or by manual?
> 
> > - "Copyright (c) xxx-*2010*, PostgreSQL Global Development Group"
> >   in pg_collation.h, pg_foreign_table.h, basebackup.h, syncrep.h,
> >   pg_backup_directory.c and auth_delay.c.
> > - "IDENTIFICATION $PostgreSQL$" in pg_collation.h, syncrep.h, and syncrep.c
> >   Other files has their actual paths in the same place.
> 
> It might be worth Bruce making another run of his copyright-update
> script to fix the former problems.  As for the latter problems,

I ran it just now and nothing was changed, so we are OK now.

--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + It's impossible for everything to be true. +

FAQ