[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lab: using CVS <http://shot.holycross.edu/courses/methods/S02/cvslab>



 
    

Title: Lab: using CVS
Course home page | Schedule

Lab: using CVS

Summary

Post a text-only abstract of your topic in a CVS archive.

If you tunnel your connection through a secure shell, you can get material from our course CVS archive from anywhere on the internet.

Software you'll need

  • a ssh2 client that supports tunnelling (port forwarding). [Recommended options: for Windows, putty; for Classic Mac OS, MacSSH; for Linux, Mac OS X and other BSD-derived operating systems, and various flavors of UNIX, ssh is probably already installed on your system: if not, openSSH is available here ]
  • a cvs client. [Recommended options: for Windows 98 or more recent, or for Classic Mac OS: WinCVS and MacCVS, both available from CvsGui.org; for Windows 95, jcvs, available from jCVS.org (and note that for the current version you'll need both java and Sun's JavaBeans Activation Framework, available from java.sun.com; Mac OS X: Concurrent Versions Librarian; for Linux, BSD-derived operating systems, and various flavors of UNIX, the command-line cvs is probably already installed on your system.]
  • a text editor (for this lab, anything that can create a text file or "Save As..." text-only format is adequate)

Instructions

Step 1: set up secure tunnel

First, set up the secure tunnel, or "port forwarding," for your connection Port 2401 is the standard port for CVS. You will forward port 2401 on your machine to port 2401 on epimetheus.holycross.edu. Then, when you point your CVS client at your local machine, it will actually be connected to the CVS server on epimetheus.holycross.edu.

Instructions for setting up portforwarding:

  • if using putty, see the putty documentation (Windows)
  • if using MacSSH, see a good illustrated tutorial (specific examples use Univ. of Pennsylvania machines: change for your requirements) (Classic Mac OS)
  • using ssh: from a terminal, enter
    ssh -x -L 2401:localhost:2401 epimetheus.holycross.edu
    (hint: since you will use the archive frequently, you might might want to add a line to your .login to alias this long command to something easier to type; I use getcvs as an alias.) (Linux, OS X, BSD, etc)

Step 2: open connection to CVS archive

User-interface details will be slightly different from one client to another, but the basic sequence is the same for all:

  1. login
  2. checkout your module
  3. [edit your files
  4. [create new files/add them to repository]
  5. commit your changes to the archive [= save your files to the archive]
  6. release the module [= logout]

The information you will need in any case is:

  • type of server = pserver (epimetheus is a Public Server)
  • module name = (your personal module on epimetheus)
  • name of server = localhost (since you've set up your tunnel)
  • repository location = /home/cvs (that's where it is on epimetheus)
  • login name = (your personal login name on epimetheus)
  • password = (your personal password epimetheus)

Why your abstract should be in an open format -- see Richard Stallman's comments on word attachments

Google