I'm extremely new with CVSup, but I believe that what I have said below is
correct. Please correct any mistakes I've made, suggest better ways of doing
things, or simply add to my comments to make our understanding of CVSup more
Download the CVSup package for your OS from postgresql.org. I'm using RedHat
Linux 6.1, so I downloaded the package: 'cvsup-15.5-1-libc5.i386.rpm' (I had
trouble with the newer 16.0 package.) In any event, install the package as per
the contained instructions. In addition to the package, you should download the
file 'README.cvsup'. This is the file containing a stock cvsup script for
PostgreSQL. You'll probably want to rename it to something more descriptive, and
edit it to customize your installation. Here's a listing of mine, followed by
commentary on what I changed and why. Note that lines beginning with the '#'
character are comments:
# CVSup distribution file for the PostgreSQL ORDBMS project
# Modified by lockhart(at)alumni(dot)caltech(dot)edu 1997-08-28
# - Point to my local snapshot source tree
# Defaults that apply to all the collections
*default delete use-rel-suffix
# base directory points to where CVSup will store its 'bookmarks' file(s)
# will create subdirectory sup/
#*default base=/opt/postgres # /usr/local/pgsql
# prefix directory points to where CVSup will store the actual distribution(s)
#*default prefix=/opt/postgres/cvs # /usr/local/pgsql
# complete distribution, including all below
# individual distributions vs 'the whole thing'
# end file
Here are the lines I changed:
This command synchronizes the local dist dir with the latest sources.
This command sets the directory where CVSup stores its bookmark files, which are
used in the synchronization process. For PostgreSQL, the directory structure
sup/pgsql will be created above to store these files.
This command sets the root directory where all sources are stored. For
PostgreSQL, the directory pgsql will be created above, with the source
distribution contained therein.
The above script file, or more properly 'distribution file,' will download and
synchronize the entire distribution. I don't know yet how to only grab the JDBC
sources, but I'm sure someone around here does. Assuming you've named the file
'pgsql.cvsup', issue the command:
and watch it do its magic.
Dave Del Signore
Joseph Shraibman wrote:
> Dave Del Signore wrote:
> > No, I've received no reply yet. To download the latest development sources,
> > add the line:
> > *default tag=.
> > to your cvsup parameter script. Is that what you're asking?
> What cvsup parameter script? Slow down. I need step by step instuctions to
> use on the unix command line with the end result being the source code in my
pgsql-interfaces by date
|Next:||From: Peter Mount||Date: 2000-02-22 07:26:58|
|Subject: RE: [INTERFACES] JDBC: getUpdateCount always at least one?|
|Previous:||From: Herbert Rabago Ambos||Date: 2000-02-21 23:26:09|
|Subject: Visual Basic/Data Environment Designer/PgODBC|