CVS User Guide



Document identifier: LCG-03-TYP-nnnn
Date:
Author: Louis Poncet Louis.Poncet@cern.ch
Abstract: A simple documentation about using CVS in LCG.

Contents

Objectives of this Document

Help Using of CVS areas in LCG. This documention must be read by all LCG deployment group and by develloper working on LCG devellopement.

General informations

For all people used to access lcgdeploy and lcg-middleware before 30 of March everything has change.
We have in LCG deployment group 2 differents repository. One for deployment (place where configuration, documentations and set of rpms in LCFGng format is store) and another one for devellopement.
To access a CVS server there is 3 environment variables to set, CVSROOT,CVS_RSH and CVSEDITOR. CVS_RSH must be set to ssh and CVSEDITOR to your favorite editor (if you do not set it set it, vi is the default one).

- For Devellopement the name of the cvs repository is lcgware your CVSROOT is :

:ext:YOUR_AFS_LOGIN@isscvs.cern.ch:/local/reps/lcgware

- For Deployment the name of the cvs repository is lcgdeploy your CVSROOT is :

:ext:YOUR_AFS_LOGIN@lcgdeploy.cvs.cern.ch:/cvs/lcgdeploy

Access

If you need a write access ask it to Louis.poncet@cern.ch or Carlos.Osuna.Escamilla@cern.ch. Instead of rewriting the documentation from CVS cern group I prefer to give you urls of documentations for accessing cvs repository on cern cvs.

For accessing developement :
Our CVSROOT is CVSROOT=:ext:YOUR_AFS_LOGIN@isscvs.cern.ch:/local/reps/lcgware

The documentation to have all details for your settings (you need to read this) :
http://cvs.web.cern.ch/cvs/howto.html#accessing

For accessing deployment :
CVSROOT=:ext:YOUR_AFS_LOGIN@lcgdeploy.cvs.cern.ch:/cvs/lcgdeploy

The documentation to have all details for your settings (you need to read it) :
http://lcgcvs.web.cern.ch/lcgcvs/howto.html#accessing-clients

And how to use CVS ?

This part is only a short memo (thanks to Yannick Patois all simple infos are welcome) :
Creating a module:

cvs import -m" My comments" ModuleName Author TagName (Note: This command will probably be reserved to administrators).

Checkout a module:
cvs checkout ModuleName (With a tag name: cvs checkout -r TagName ModuleName)
Updating a module:

cvs update -PAd
Tagging a release:

cvs tag TagName
Adding a file:

cvs add FileName
Removing a file:

cvs remove FileName
Differences:

cvs diff
Developers Logs:

cvs rdiff
Checking freshness:

cvs release
Updating a file:

cvs commit -m" my comments" FileName

Info

from a file: cvs status FileName

About this document ...

Infrastructure support documentation

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.70)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 0 -html_version 4.0 -no_navigation -address 'GRID deployment' cvs-guide.drv_html

The translation was initiated by Louis Poncet on 2004-05-11


GRID deployment