next up previous contents
Next: Using Tags Up: Using CVS Previous: CVS Examples   Contents

Checking Out Flesh and Thorns with CVS

Login
Prior to any CVS operation, you need to log into the Cactus repository. For an anonymous checkout, type:
cvs -d :pserver:cvs_anon@cvs.cactuscode.org:/cactus login You will be prompted for a password which is anon.
Checkout
To obtain a fresh copy of Cactus, move to a directory which does not contain a previously checked out version, and type cvs -d :pserver:cvs_anon@cvs.cactuscode.org:/cactus checkout Cactus The CVS checkout procedure will create a directory called Cactus and install the code inside this directory. From now on we will reference all directory names relative to Cactus.

If you want to compile Cactus with thorns, you now need to checkout separately the required arrangement (or arrangements) into the arrangements directory. To see the available Cactus arrangements and thorns type cvs -d :pserver:cvs_anon@cvs.cactuscode.org:/cactus checkout -s To check out an arrangement or thorn go to the arrangements directory, cd arrangements, and for an arrangement type cvs checkout <arrangement_name> or for just one thorn cvs checkout <arrangement_name/thorn_name>

To simplify this procedure you may use >make checkout in the Cactus home directory which provides menus to pick arrangements and thorns from.

Update
To update an existing Cactus checkout (to patch in possible changes, etc.), do the following within the Cactus directory. cvs update The update process will operate recursively downwards from your current position within the Cactus tree. To update only on certain directories, change into these directories and issue the update command.
CVS status
To obtain a status report on the ``age'' of your Cactus or arrangement routines (from your current directory position downward), type cvs status
non-anonymous CVS
If you have an account at the central repository (cvs.cactuscode.org) and would like to perform any of the operation above non-anonymously, replace cvs_anon by your login name and provide the appropriate password during the CVS login process. Depending on your permissions, you may then make commits to Cactus or its arrangements.
Commits
You need to perform a personalized login and have proper permissions to commit code to the repository.


next up previous contents
Next: Using Tags Up: Using CVS Previous: CVS Examples   Contents