cvsup
I've been trying to set up a cvsup mirror following the instructions at
http://developer.postgresql.org/docs/postgres/cvsup.html
However, it seems to be awry w.r.t. the earthdistance module. Could some
kind person please tell me what needs to be done in either the cvsup
config or the modules file or both, so that "cvs co -p pgsql" works nicely?
If done as an update to the docs that would be especially nice :-) But
if not, I'll do the docs once I get it working.
cheers
andrew
I wrote:
I've been trying to set up a cvsup mirror following the instructions
at http://developer.postgresql.org/docs/postgres/cvsup.htmlHowever, it seems to be awry w.r.t. the earthdistance module. Could
some kind person please tell me what needs to be done in either the
cvsup config or the modules file or both, so that "cvs co -p pgsql"
works nicely?If done as an update to the docs that would be especially nice :-) But
if not, I'll do the docs once I get it working.
Here's what I got working.
In CVSROOT/modules:
pgsql-earth -d pgsql/contrib/earthdistance earthdistance
pgsql-server -d pgsql pgsql-server
pgsql -a pgsql-server pgsql-earth
In postgres.cvsup:
# complete distribution, including all below
pgsql
earthdistance
Does that all make sense?
cheers
andrew
Andrew Dunstan wrote:
In postgres.cvsup:
# complete distribution, including all below
pgsql
earthdistance
I've been using this in postgres.cvsup
# complete distribution, including all below
repository
I think Marc told me to use that at one point.
Joe
On Sat, 25 Sep 2004, Joe Conway wrote:
Andrew Dunstan wrote:
In postgres.cvsup:
# complete distribution, including all below
pgsql
earthdistanceI've been using this in postgres.cvsup
# complete distribution, including all below
repositoryI think Marc told me to use that at one point.
Yup, that will bring down the /cvsroot to your machine, so that you can
work similar to anoncvs, but locally ...
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664
Joe Conway wrote:
Andrew Dunstan wrote:
In postgres.cvsup:
# complete distribution, including all below
pgsql
earthdistanceI've been using this in postgres.cvsup
# complete distribution, including all below
repositoryI think Marc told me to use that at one point.
Here's a small doc patch so this info is not hidden - getting this
working was mildly annoying until I found out about using refuse files.
Now it's working like a champ.
cheers
andrew
Attachments:
cvsupdoc.patchtext/x-patch; name=cvsupdoc.patchDownload
Index: doc/src/sgml/cvs.sgml
===================================================================
RCS file: /home/cvsmirror/pgsql-server/doc/src/sgml/cvs.sgml,v
retrieving revision 1.27
diff -c -w -r1.27 cvs.sgml
*** doc/src/sgml/cvs.sgml 29 Nov 2003 19:51:36 -0000 1.27
--- doc/src/sgml/cvs.sgml 26 Sep 2004 18:55:50 -0000
***************
*** 431,436 ****
--- 431,451 ----
</para>
<para>
+ If you specify <option>repository</> instead of <option>pgsql</>
+ in the above setup, you will
+ get a complete copy of the entire repository at cvsup.postgresql.org,
+ including its CVSROOT directory. If you do that, you will probably want
+ to exclude those files in that directory that you want to modify locally,
+ using a refuse file. For example, for the above setup you might put this
+ in <filename>/home/cvs/sup/repository/refuse</>:
+ <programlisting>
+ CVSROOT/config*
+ CVSROOT/commitinfo*
+ CVSROOT/loginfo*
+ </programlisting>
+ See the <productname>CVSup</> manual pages for how to use refuse files.
+ </para>
+ <para>
The following is a suggested <productname>CVSup</productname> config file from
<ulink url="ftp://ftp.postgresql.org/pub/CVSup/README.cvsup">the <productname>PostgreSQL</> ftp site</ulink>
which will fetch the current snapshot only:
On Mon, 2004-09-27 at 05:00, Andrew Dunstan wrote:
Here's a small doc patch so this info is not hidden - getting this
working was mildly annoying until I found out about using refuse files.
Barring any objections I'll apply this later today.
-Neil