You are here:
Foswiki
>
Computing Web
>
HepLinux
>
UseCVS
(23 Apr 2007,
TomRockwell
)
(raw view)
E
dit
A
ttach
%TOC% ---+++ Introduction A CVS repository is available for personal and workgroup use on the MSUHEP Linux Cluster. The location is /opt/cvsroot. Local and remote access is allowed for cluster users. This article provides user instructions. Projects are created as directories below =/opt/cvsroot=. The list of users who can write to the project is controlled by normal UNIX file permissions. Normally a group will be created on the systems that lists all users for a given project. Email rockwell@pa.msu.edu to have this configured for a new project. Remote access is supported for cluster users via SSH. There is no anonymous access. ---++++ Documentation Resources * https://www.cvshome.org/ * /usr/share/doc/cvs-[version] documentation included with cvs * cvs man pages - "man cvs" * cvsdocs directory in the cvs repository - see below for an example of checking it out ---++++ Shell Setup For local access (when logged into a machine on the cluster), set your CVSROOT environment variable to /opt/cvsroot. In bash shell: <verbatim> export CVSROOT=/opt/cvsroot </verbatim> In tcsh shell: <verbatim> setenv CVSROOT /opt/cvsroot </verbatim> For remote access via ssh, set CVSROOT and CVS_RSH environment variables as follows: In bash shell: <verbatim> export CVSROOT=username@hep.pa.msu.edu:/opt/cvsroot export CVS_RSH=ssh </verbatim> In tcsh shell: <verbatim> setenv CVSROOT username@hep.pa.msu.edu:/opt/cvsroot setenv CVS_RSH ssh </verbatim> ---++++ Examples *Checkout the documentation* Some general documentation and local usage notes are in the cvsdocs directory. To check them out, do the environment setup above, then give the command: <verbatim> cvs co cvsdocs </verbatim> A directory cvsdocs will be created below your current directory. *Import a Directory* This process is used for the initial creation and population of a directory in the repository. First do the environment setup, then change directory to your working directory, then use the cvs import command, specifying a useful message or comment, the new repository location to create, the vendor (your name) and a string to be used as the tag. <verbatim> cd working_dir cvs import -m "message/comment text" onetop/st_nlo_paper cao start </verbatim> *Checkout* This will create the diretory onetop/st_nlo_paper in your current directory. <veratim> cvs co onetop/st_nlo_paper </verbatim> -- Main.TomRockwell - 23 Apr 2007
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 23 Apr 2007,
TomRockwell
Computing
Computing Web
Computing Web Home
Changes
Index
Search
Webs
ATLAS_MSU
ATLAS_Physics
ATLAS_Tier3
AtlasSingleTop
Computing
Computing_HEP
DZeroSingleTop
DarkMatterLHC
HAWC
IceCube
Main
PINGU
PP_Wiki_sandbox
Sandbox
System
T2K
ThreeSiteModel
ZPrime
Create
personal sidebar
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback