Getting TRIPS from CVS

This page describes how you can checkout the TRIPS source, which is the prerequisite to InstallingTRIPS.

The TRIPS source is stored under a CVS repository hosted at URCS.

Get a CVS Account

Even if you have a URCS account, you will still need a separate account for the CVS server. Contact GeorgeFerguson to get this set up. He will talk to DaveCostello who will send you an email with an account name and password. We will refer to this username below as

Preliminary Setup

The CVS repository is accessed via ssh. As this is not the default setting for CVS, you have to tell it to change. The easiest way is by setting the environmental variable CVS_RSH to 'ssh' (without the quotes). The easiest way to do this once is to put this line in your .bash_profile:

export CVS_RSH=ssh

Decide which module you want/need

There is a lot of stuff in the TRIPS repository, and you may not want all of it. There are various modules set up that you can use to only checkout certain coherent portions of the repository (e.g., just the components needed for TripsPlow). A list of modules can be found at TripsCvsModules.

The First Checkout

Now you can do a checkout.

First, you need to choose your base directory. This will be the directory that TRIPS is installed into. An example is ~/trips/system We will refer to this directory as for the rest of this document. Note, you will probably want this directory to only be for the TRIPS system, because the install process will create a number of files in .

Create this directory if necessary.

Now, cd into .

If you want the whole repository, do:

==cvs -d :ext:@trips.cs.rochester.edu:/p/cvs/trips co src

Or, if you want a particular module, do:

==cvs -d :ext:@trips.cs.rochester.edu:/p/cvs/trips co -P

These should start the checkout which will create a directory names src in your current directory and download a bunch of stuff (Note: this can take a while).

If everything downloads right, you will have successfully checked out the TRIPS source code.

Using CVS

If you need more information on using CVS, you can look at the file /src/Docs/cvs.html which is one of the files you checked out.

-- NateBlaylock - 14 Mar 2007

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2007-03-15 - NateBlaylock
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback