m (add Category:Docs Project archives)
Latest revision as of 02:27, 26 February 2009
Help With CVS
Please ignore this, it's just a dumping ground for right now.
or, CVS for Dummies, by Dummies
[FIXME: This entire section will be folded into the DocumentationGuide . Please mind the gap.
You only need to follow the procedures in this section to prepare for first-time CVS use.
Make sure you have the
cvs package installed. If not, use
yum to do so:
yum install cvs
We recommend that you set up a
~/fedora-cvs/ directory. You may then checkout one or more Fedora subprojects into subdirectories. For instance, if you work on documentation and software development, you would create both
extras/ subdirectories. Create a local alias in
~/.bashrc to change your CVSROOT based on which folder you use. Consult our page of example scripts for more information. [FIXME: As long as you want bash that __might__ work, I can take care of this later. -- PWF]
If you have not handled CVSROOT in some other way, then edit your
~/.bashrc file. The following lines export a CVSROOT environment variable, and set
cvs to use
ssh for authentication to the CVS server.
export CVSROOT=:ext:email@example.com:/cvs/docs export CVS_RSH=ssh
Open a new terminal, or source in the changes to
~/.bashrc with the following command:
~/.cvsrc with your favorite editor, containing the following lines:
cvs -z3 diff -uN rdiff -uN update -dP
If you get tired of the many status messages that
cvs produces by default, change the first line to read
cvs -qz3 instead.
Make the recommended directory structure if it does not exist:
mkdir -p ~/fedora-cvs/docs cd ~/fedora-cvs/docs
Begin your CVS work by checking out the common files and the example tutorial.
cvs co docs-common cvs co example-tutorial
TO BE CONTINUED...