m (1 revision(s)) |
m (DocsProject/CvsHelp moved to Archive:DocsProject/CvsHelp: wiki cleanup) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 22: | Line 22: | ||
We recommend that you set up a <code>~/fedora-cvs/</code> 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 <code>docs/</code> and <code>extras/</code> subdirectories. Create a local alias in <code>~/.bashrc</code> to change your CVSROOT based on which folder you use. Consult our page of [[DocsProject/HelperScripts| example scripts]] for more information. ''[FIXME: As long as you want bash that __might__ work, I can take care of this later. -- PWF] '' | We recommend that you set up a <code>~/fedora-cvs/</code> 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 <code>docs/</code> and <code>extras/</code> subdirectories. Create a local alias in <code>~/.bashrc</code> to change your CVSROOT based on which folder you use. Consult our page of [[DocsProject/HelperScripts| example scripts]] for more information. ''[FIXME: As long as you want bash that __might__ work, I can take care of this later. -- PWF] '' | ||
{{ | {{Admon/caution | The rest of this process document focuses only on FDP work.}} | ||
If you have not handled CVSROOT in some other way, then edit your <code>~/.bashrc</code> file. The following lines export a CVSROOT environment variable, and set <code>cvs</code> to use <code>ssh</code> for authentication to the CVS server. | If you have not handled CVSROOT in some other way, then edit your <code>~/.bashrc</code> file. The following lines export a CVSROOT environment variable, and set <code>cvs</code> to use <code>ssh</code> for authentication to the CVS server. | ||
Line 69: | Line 69: | ||
=== If You Make a Mistake === | === If You Make a Mistake === | ||
---- | ---- | ||
[[Category: | |||
[[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.
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 cvs
package installed. If not, use yum
to do so:
yum
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 docs/
and 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:pfrields@cvs.fedora.redhat.com:/cvs/docs export CVS_RSH=ssh
Open a new terminal, or source in the changes to ~/.bashrc
with the following command:
. ~/.bashrc
Create a ~/.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...