Prototyping CVS Repository

Introduction

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:

/afs/cern.ch/user/k/krinnert/ateam

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

To setup the working environment you simply do

. /afs/cern.ch/user/k/krinnert/ateam/setup.sh for (ba)sh

or

source /afs/cern.ch/user/k/krinnert/ateam/setup.csh for (t)csh.

This will put /afs/cern.ch/user/k/krinnert/ateam/bin in your PATH and set the evironment variables

  • ATEAMROOT=/afs/cern.ch/user/k/krinnert/ateam
  • ATEAMPYTHON=/afs/cern.ch/user/k/krinnert/ateam/python
  • ATEAMCVS=/afs/cern.ch/user/k/krinnert/ateam

The /afs/cern.ch/user/k/krinnert/ateam/bin 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 - KurtRinnert
 
    • 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-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback