Forum OpenACS Q&A: Local CVS question

Collapse
Posted by Dave Manginelli on
I'm trying to set up a local copy of the OACS 4.5 CVS but I keep
failing.  Here's what I did:

Created /cvsweb directory and loaded the current cvs code into it using:
cvs -d:pserver:mailto:anonymous@openacs.org /cvsroot -r oacs-4-5 -d arc -P
openacs-4

This command successfully created a complete copy of the CVS in my
/cvsweb/arc directory, which I wish to use as my local repository.  I
then did a cvs init in the /cvsweb directory to create the CVSROOT
directory for cvs's use.

cd /web

cvs -d /cvsweb checkout arc

Appears to checkout the /cvsweb/arc code to /web/arc but only creates
empty directories.  Obviously, I want the code too!  What am I doing
wrong???

Thanks.

Collapse
Posted by Dave Bauer on
You need to import the code into your local repository. Don't checkout from openacs.org directly into the repository.

Read http://www.arsdigita.com/asj/version-control/ for more information about using a local CVS repository.

Collapse
Posted by Dave Bauer on
You will have to checkout new copies of the source, and merge that into your local repository.

This should work if you are doing this to keep your private changes to the code in CVS and keep up with openacs development.

Collapse
Posted by Lars Pind on
Collapse
Posted by Dave Manginelli on
Thanks guys!

Lars, your docs are great.  They would be a great addition to the "official" openacs documentation.

Collapse
Posted by David Geilhufe on
Dave, you've hit on my hot button issue!

I've started to pull together stuff like CVS resources into pages on the new openacs site, which may or may not go live in the near future. At the very least everything will be in one place.

Current CVS docs: http://openacs.museatech.net/oacs-doc/cvs_doc/ I did a quick bboard search and trolled through the file repository. Have I missed any documentation?