You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

General CVS Information

For general CVS information and guides, please refer to the CVS man-page, or any of the very informative tutorials found online.  For example, here and here.

Acquiring a CVS Account

The CRBS CVS repository is available to all CRBS participants.  If you do not already have an account, you can request one by emailing support_at_crbs.ucsd.edu. 

Please include the following information with your request:

  • Full Name
  • Email address
  • Desired username
  • List of CRBS projects you are affiliated with and/or a list of CVS modules you require access to

Using CVS

Once you have an account, you can access the CRBS CVS repository with the following connection parameters:

  • CVS_RSH=ssh
  • CVSROOT=<username>@cvs.crbs.ucsd.edu:/CVSROOT

Module names are either upper or lower case, upper case modules are controlled by the CVS administrators, and as a normal user you cannot add new directories or files at that level. Lower case modules or subdirectories are under user control, meaning that you are free to add content as needed for your project.

Adding and Committing Files

To add a file, use the following syntax:

cvs add backend.c

To commit a file to the repository, use the following syntax:

cvs commit \-m "Early version." backend.c

FAQ

Is there anonymous access:

No.

Can I login to the CVS server and "look around"

No, but you can use Crucible to browse it if you have a CRBS SSO Account.

Can I restrict access to my code?

Yes. Create a Jira ticket with the specific details of what code you want restricted and to whom.

Can I use an ssh key so I don't have to continually type my password

Yes. Install your ssh key like this:

ssh <username>@cvs.crbs.ucsd.edu add-pub-key
e.g.   ssh vrowley@cvs.crbs.ucsd.edu add-pub-key

Can I access CVS via Jira/Bamboo/Eclipse/Confluence/Fisheye?
Yes. If the code you want to access isn't immediately available, enter a Jira ticket.

Can I change my CVS password?

The CVS server is not yet tied into our CRBS SSO system. In the meantime, to change your CVS password, execute the following command:

ssh <username>@cvs.crbs.ucsd.edu password
e.g.   ssh vrowley@cvs.crbs.ucsd.edu password

You should see this:

client$ ssh cvs.crbs.ucsd.edu password
<username>@cvs.crbs.ucsd.edu's password: 
Old CVS PASSWORD: 
New CVS PASSWORD: 
Verify New CVS PASSWORD: 
Changing password for user <username>.
Changing password for <username>
  • No labels