CVS is the version control system we (well, some of us) use around the ILRT. It manages source code and other projects that fit into the text-document mold.
It's pretty straightforward, once you get to grips with it, but the "getting to grips with" can sometimes prove problematical.
I'm offering a short session introducing the command-line tools for CVS for those who've not seen it before: the target audience is technical developers who haven't used CVS before.
Prerequisites will be some familiarity with a unix command line, a unix account, and I'll need names beforehand so that we can set up access to the repository for people. I'm not going to go into advanced esoterica but I might run a followup later on if it proves popular.
Because the introduction has to be practical, there's a maximum limit of 6 people for this.
I'll also try to present some guidelines about how to get the most out of CVS (a "CVS patterns" guide, if you will).
The following are things you need to check or do prior to turning up for the session. Please, please get in touch with me on or before the 4th July 2003 if you are having trouble with any of these.
> ssh Usage: ssh [options] host [command] Options: -l user Log in using this user name. [... rest of command help elided ...] > cvs Usage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc. [... rest of command help elided ...]If you cannot connect or see
cvs: Command not found.then you should contact me for help.
On your own machine, you'll have a raft of more convenient and pretty text editors to use, so this requirement may seem a little archaic. This is unfortunately out of my hands: we're going to be in the Computer Centre Training Room (TR-F) and the software provision on those machines doesn't include an appropriate text editor. (There's a CVS "gotcha" here that I'll explain on the day.)
To your .profile file, append these two lines:
CVSROOT=:ext:$USER@cvs.ilrt.org:/usr/local/cvsroot export CVSROOT CVS_RSH=ssh export CVS_RSHand to your .cshrc file, append these two lines:
setenv CVSROOT :ext:$USER@cvs.ilrt.org:/usr/local/cvsroot setenv CVS_RSH ssh
Once you've done this, you're ready to go. I'm sorry if this list seems daunting, but if everyone is going to get the most benefit out of the session I'd like to get the debugging done prior to the day.
The following are pretty much what I'm intending to cover. This should run to no more than a couple of hours (depending on how fast we whizz through it) including time for coffee in the middle. I'm going to concentrate on the hands-on aspects rather than the theory.
Questions are invited at any time.