Prototyping CVS Repository


We operate temporary CVS repository for prototyping that does not interfere with the standard LHCb repository. This page documents its usage.

How to setup the work environment

The temporary repository together with some helper scripts resides in my (Kurt's) AFS area at CERN:


I created a AFS group krinnert:lhcbateam. Every team member is a member of this group. This group has full write permissions for /afs/ and all of its subdirectories.

To setup the working environment you simply do

. /afs/ for (ba)sh


source /afs/ for (t)csh.

This will put /afs/ in your PATH and set the evironment variables

  • ATEAMROOT=/afs/
  • ATEAMCVS=/afs/

The /afs/ directory contains two scripts:

  • a hacked version of getpack
  • the import2ateam script to import packages from the LHCb repository

How to use the Repository

To check out packages you use the hacked version of getpack that should now be the one found in your PATH. This version of getpack works like the standard one. It just features one more option for the -f switch. To add a package to your working area you do:

getpack -f ateam <Hat>/<Package> [<Tag>]

Afterwards you work as usual.

How to import packages from LHCb into the repository

To import a package from LHCb into our CVS you do:

import2ateam <Hat>/<Package> [<Tag>]

That's all. Afterwards, if you use getpack -f ateam, you will get our prototyping version instead of the standard one.

Initial Packages

Initially, the CVS only contains three packages:

  • Tf/TfAlgorithms v0r0
  • Tf/TfData v0r0
  • Tf/TfTools v0r0

These do not contain any source code yet and will be populated during prototyping.

NOTE: If you check out a package that does not contain any headers in the include directory or any implementation source code in src/Lib or src/component you have to create and add these directories first. E.g.:

cvs add src
cd src
mkdir Lib
cvs add Lib

Then poulate src/Lib with your .cpp files and finally do cvs ci.

-- Main.krinnert - 06 Jun 2007

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2007-06-06 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback