Re: pgsql-server/doc TODO - Mailing list pgsql-committers

From Sean Chittenden
Subject Re: pgsql-server/doc TODO
Date
Msg-id 20030623045801.GR97131@perrin.int.nxad.com
Whole thread Raw
In response to pgsql-server/doc TODO  (momjian@svr1.postgresql.org (Bruce Momjian))
Responses Re: pgsql-server/doc TODO  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
> Log message:
>     Add:
>
>     > * Change CVS $Id$ to $PostgreSQL$

<cvsadmin_hat>
This is simple and takes two seconds to do.  The master CVS server has
to be FreeBSD (or have the FreeBSD patches to CVS, which I'm pretty
sure it does if it's running on hub.org):

cd open_source/pgsql/CVSROOT
echo "tag=PostgreSQL=CVSHeader" > options
echo "tagexpand=iPostgreSQL" >> options
echo "options" >> checkoutlist
cvs add options
cvs ci options checkoutlist

The rest is history, nothing else to be done (client or server) but
migrate the $Id$ RCS keywords to $PostgreSQL$.  Wholesale removal of
$Date, $Header, and $Revision$ RCS tags or replacing them with
$PostgreSQL$ would be extremely prudent as they won't be expanded with
the above options file (and the whole point of using $PostgreSQL$ is
to prevent RCS keyword expansion when PostgreSQL's bits are used in
other projects, something that happens with the non-$PostgreSQL$ RCS
keywords in the repos of other projects).  If there's a big stink
about converting everything over, the options file could read like:

echo "tag=PostgreSQL=CVSHeader" > options
echo "tagexpand=iPostgreSQL,Date,Id,Header,Revision" >> options

And at some point in the future (sooner rather than latter,
hopefully), changing the last line of options to be just
"tagexpand=iPostgreSQL".  It might also be worth while to look at
FreeBSD's CVS commit scripts as it collapses the $PostgreSQL$ on disk
thus reducing some diffing and disk space (likely a bigger issue for
FreeBSD than PostgreSQL because of their extensive CVSup mirrors).
They've also got a nifty check in their scripts to make sure that
every file has a $PostgreSQL$ RCS keyword when a commit takes place.
Worth checking out.

Please feel free to ask me Q's if anyone has any Q's about how to do
any of this.
</cvsadmin_hat>

-sc

--
Sean Chittenden

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server/doc TODO
Next
From: Tom Lane
Date:
Subject: Re: pgsql-server/doc TODO