ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/documentation/papers/cvs-1.txt
(Generate patch)

Comparing projects/cms/documentation/papers/cvs-1.txt (file contents):
Revision 1.1 by tdb, Wed Oct 25 18:17:22 2000 UTC vs.
Revision 1.3 by tdb, Thu Nov 2 00:34:41 2000 UTC

# Line 1 | Line 1
1   Using CVS (part 1)
2   ==================
3  
4 < tdb1, 18/10/2000
4 > Contents
5 > --------
6 > - Overview
7 > - CVS Repository Structure
8 > - Setting up CVS on Raptor
9 > - Setting up CVS on a Public PC (with WinCVS)
10 > - Setting up CVS from off campus
11 > - How to use CVS
12 >
13 > - See "Using CVS (part 2)" for information on binaries,
14 >   branching, tagging and keywords.
15  
16 +   tdb1, 18/10/2000
17 +
18   Overview
19   --------
20   CVS means "Concurrent Versioning System" and is used to keep
# Line 52 | Line 64 | ROOT
64    documentation
65      minutes
66      misc
67 +    papers
68      plan
69 +    presentation
70      specification
71      user
72    experimental
# Line 74 | Line 88 | ROOT
88  
89   We may need to expand that a bit, but it's a start.
90  
91 < Using CVS on Raptor
92 < -------------------
91 > Setting up CVS on Raptor
92 > ------------------------
93   Setting up CVS on raptor to use our "repository" takes a bit
94   of effort. This is because the cs-sysadmin guys have been
95   setting up CVS to run from marble, but it's not ready yet.
# Line 102 | Line 116 | not to add certain files, but I think we've got enough
116   to be able to do that ourselves... but by all means leave
117   that line out if you feel happier.
118  
119 <
120 < Using CVS on a Public PC (with WinCVS)
107 < --------------------------------------
119 > Setting up CVS on a Public PC (with WinCVS)
120 > -------------------------------------------
121   WinCVS is (obviously) a Windows frontend to CVS. The command
122   line thing is far easier to use if you're doing stuff
123   directly on raptor (or any other unix box), but under
# Line 135 | Line 148 | of the View menu.
148  
149   Finally, it might be possible to get it working with SSH
150   straight onto raptor, but I'm not sure of the exact process,
151 < and even if it'll work.
151 > and even if it'll work. I may add this as an errata in part2
152 > of this documentation.
153  
154 < Using CVS from off campus
155 < -------------------------
154 > Setting up CVS from off campus
155 > ------------------------------
156   Using CVS from off campus is much trickier. We have no
157   "proper" CVS facilities on raptor for remote access (it can
158   run a server specifically for this task). However, as the
# Line 146 | Line 160 | command line CVS will make use of SSH we can connect t
160   the firewall. This is fine if you have a Unix box at home,
161   but I'm not sure (again) if this will work from Windows.
162  
163 + From any Unix box (that has SSH and CVS installed) you just
164 + need to setup the following environment variables. These are
165 + best put in a file such as .cshrc (for the csh shell).
166 +
167 + CVS_RSH =
168 +     ssh
169 + CVSROOT =
170 +     :ext:user@raptor.ukc.ac.uk:/usr/local/proj/co600_10/cvs
171 +
172 + Every shell has it's own way of setting up environment
173 + variables, for example csh using the setenv command. Consult
174 + the man pages for more details.
175 +
176 + With this done you can use the command line facilities as
177 + usual, and you will be prompted for your raptor password
178 + each time a connection is made.
179 +
180   How to use CVS
181   --------------
182   There are three main CVS operations that you'll use on a
# Line 154 | Line 185 | smaller commands such as add, delete, and export. I'll
185   describe them, then give an example. This all assumes you've
186   setup the CVSROOT environment variable as described above.
187  
188 + These commands are for the command line version of CVS, but
189 + the ideas can be applied to any version, including WinCVS.
190 +
191   A full list of commands can be found by typing;
192  
193   cvs --help-commands
# Line 276 | Line 310 | gzip -v9 source.tar
310  
311   That's just about it for basic CVS. I'll probably produce
312   another document on tagging at some point in the future.
313 +
314 + About
315 + -----
316 + This document was written by Tim Bishop [tdb1@ukc.ac.uk] for
317 + use by the team working on a 3rd year Computer Science
318 + project called "i-scream". More details can be found on the
319 + project website;
320 +
321 + http://www.i-scream.org.uk

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines