Archive:DocsProject/CvsHelp

= Help With CVS =

Please ignore this, it's just a dumping ground for right now.

CVS Procedures
or, CVS for Dummies, by Dummies

''[FIXME: This entire section will be folded into the DocumentationGuide. Please mind the gap. ''

Setting Up
You only need to follow the procedures in this section to prepare for first-time CVS use.

Make sure you have the  package installed. If not, use  to do so:

yum install cvs

We recommend that you set up a  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  and   subdirectories. Create a local alias in  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  file. The following lines export a CVSROOT environment variable, and set  to use   for authentication to the CVS server.

export CVSROOT=:ext:pfrields@cvs.fedora.redhat.com:/cvs/docs export CVS_RSH=ssh

Open a new terminal, or source in the changes to  with the following command:

. ~/.bashrc

Create a  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  produces by default, change the first line to read   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...