PandaCVS

Introduction

This is the CVS info page for the Panda project. Note: The Panda CVS Repository has been moved from BNL to CERN, so please DO NOT use the BNL repository anymore! Start using the CERN repository immediately.

CERN CVS Area

Instructions on how to use the CERN ATLAS CVS Repository are at

http://atlas.web.cern.ch/Atlas/GROUPS/SOFTWARE/OO/tools/cvs_server.html and the repository can be browsed at http://atlas-sw.cern.ch/cgi-bin/viewcvs-atlas.cgi/offline/Production/panda/ or at the LXR Cross Referencer at http://alxr.usatlas.bnl.gov/lxr/source/atlas/Production/panda/

You can find more info on the CERN CVS server at http://atlas.web.cern.ch/Atlas/GROUPS/SOFTWARE/OO/Development/ (second to last item).

For SSH access

  • CVS_RSH=ssh
  • CVSROOT=:ext: your_cern_username @atlas-sw.cern.ch:/atlascvs
  • project name: offline/Production/panda
your_cern_username above is your CERN account. During execution you will be asked for the password. Unless you set up ssh keys; you can find information on how to do this at http://www.triumf.info/hosted/atlas-triumf/index.php/Set_up_CVS_access

For kserver access

  • CVSROOT=:kserver: your_cern_username @atlas-sw.cern.ch:/atlascvs
  • CVS_RSH must NOT be set
  • You will need a kerberos4 ticket:
  • klog.krb -pr your_cern_username -c cern.ch
  • Your machine will need the following entries in the krb files:
  • /etc/krb.conf:
CERN.CH
CERN.CH afsdb1.cern.ch
CERN.CH afsdb3.cern.ch
CERN.CH afsdb2.cern.ch

  • /etc/krb.realms:
.wgs.cern.ch CERN.CH
.plus.cern.ch CERN.CH

  • Your firewall needs to have port 750/udp (and most likely 88/udp as well ) open for INCOMING connections
  • Be aware that you can only use EITHER ssh OR kserver access methods, but you can NEVER switch back and forth once you have checked something out of the repository for the first time with one method! (Unless you know what you are doing and override $CVSROOT with the -d switch on the command line.)

SSH Example (courtesy of Marco)

hep:workarea: export CVS_RSH=ssh
hep:workarea: export CVSROOT=:ext:mambelli@atlas-sw.cern.ch:/atlascvs
hep:workarea: cvs co offline/Production/panda
mambelli@atlas-sw.cern.ch's password: 
cvs checkout: Updating offline/Production/panda
U offline/Production/panda/__init__.py
...
U offline/Production/panda/test/testTB.py
hep:workarea: ls
offline
hep:workarea: ls offline/Production/panda/
brokerage    executorInterface  jobscheduler        PandaTaskBuffer  server
CVS          __init__.py        monitor             PandaUtils       taskbuffer
dataservice  jobdispatcher      PandaJobDispatcher  pilot            test
hep:workarea: 

BNL CVS Area (obsolete - readonly and no longer updated!)

This area is now readonly and contains a snapshot of the project as of 9/28/2005. Check-in should be impossible and do not use it for checkouts or updates because you will get stale files. Use the CERN area above.

The Panda CVS area is on the BNL CVS server at

/afs/usatlas.bnl.gov/project/localcvs/panda

and can be browsed with its web interface at http://atlassw1.phy.bnl.gov/cgi-bin/cvsweb.cgi/panda/?cvsroot=usatlas-repository or at the LXR Cross Referencer at http://tjweb.org/lxr/source/panda/

To access it, you need a BNL AFS token and set

CVSROOT=/afs/usatlas.bnl.gov/project/localcvs

and AFS access, of course.

You can find more info on the USATLAS CVS server at http://www.usatlas.bnl.gov/computing/infra/repositories.html

Example (courtesy of Torre)

acas0008:~ $ export CVSROOT=/afs/usatlas.bnl.gov/project/localcvs
acas0008:~ $ cvs co panda
cvs checkout: Updating panda
acas0008:~ $ cd panda
acas0008:~/panda $ touch .cvsignore
acas0008:~/panda $ cvs add .cvsignore
cvs add: scheduling file `.cvsignore' for addition
cvs add: use 'cvs commit' to add this file permanently
acas0008:~/panda $ cvs commit -m "initial commit"
cvs commit: Examining .
**** Access allowed: Personal Karma exceeds Environmental Karma.
RCS file: /afs/usatlas.bnl.gov/project/localcvs/panda/.cvsignore,v
done
Checking in .cvsignore;
/afs/usatlas.bnl.gov/project/localcvs/panda/.cvsignore,v   
<--  .cvsignore
initial revision: 1.1
done


Major updates:
-- HorstSeverini - 17 Aug 2005



Responsible: HorstSeverini

Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r13 - 2007-02-02 - StephenHaywood
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PanDA All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 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