Particle Physics Data Grid
A member of
  ANL · BNL · Caltech · FNAL · JLAB · ISI · LBNL · SDSC · SLAC · Wisconsin · UCSD

Search
News & Events
Teams
Email lists
PPDG RA
PPDG at Work
Papers
Presentations
Software
Meetings
Calendars
SciDAC Contacts
Other Grid Projects
Management
Acknowledgements

US Physics Grid Projects

Scientific Discover through Advanced Computing
Notice to users
Webmaster

PPDG web pages and cvs access

The PPDG cvs module is hosted from http://cdcvs.fnal.gov. In order to obtain an account you will need to have a Fermilab visitors ID. This can be obtained without visiting the lab and with the authorization of ppdg-exec@ppdg.net.    You want pserver access and should receive a password associated with your cvs account.  A WWW interface to the CVS repository at FNAL can be used to see the directory structure of the ppdg-web and hicb modules. Cvs clients can be used to access the repository from Linux or Windows.

Files under the ppdg-web repository are updated on the www.ppdg.net server every hour (5 min. past the hour).  Check with ppdg-exec@ppdg.net (Doug or Ruth) about where in the repository new pages should be created.

Help Desk

Support for problems with cvs should be directed to helpdesk@fnal.gov

Linux example

These instructions refer to the "cvsuser" access with ssh and RSA keys mentioned at http://cdcvs.fnal.gov.  After you have set up your access to cdcvs.fnal.gov you need to set up your local environment.  The following example works on a RH6.2 system with OpenSSH_2.9.9p2.
Create a file called cvs_setup in your home directory.  The contents are:
#!/bin/csh -f
# setup things to access the fermi CVS repository
setenv CVSROOT cvsuser@cdcvs.fnal.gov:/cvs/cd
if ( $?SSH_AGENT_PID ) then
    kill $SSH_AGENT_PID
    unsetenv SSH_AGENT_PID
endif
eval `ssh-agent -c`
ssh-add
setenv CVS_RSH ssh

Before executing any cvs commands, source this file:

source ~/cvs_setup
Agent pid xxxxxx
Enter passphrase for <user>@<hostname>:
Identity added: /home/users/<user>/.ssh/identity (<user>@<hostname>)

Now you should be set up to carry out the normal set of CVS commands

WinCvs example

Install WinCvs and (optionally) Tcl81:
Install the Windows Interface (mandatory):
A Windows interface (WinCvs) to the cvs repository can be downloaded from http://www.cvsgui.org/download.html.
        • Select  "The x86 version 1.2"  binary version to download (you do NOT need to download the source code).
        • Select the highlighted line for WinCvs120.zip and double-click to download.  This will come as a zip file "WinCvs120.zip".
        • Extract and install from the file "WinCvs120.zip".  Use all the default installation instructions.
Install Additional Tcl Macros (optional):
Several useful macros, such as "List Files on Server" will be unavailable to you unless you also download and install "tcl81.exe". This is not a mandatory step.
  • Select and download the file tcl81.exe from the Tcl download site.
  •  After downloading, install Tcl8.1 by double-clicking the file tcl81.exe.
  • Decide where you want to keep the local copies of your checked out code and create that directory structure. e.g. C:\ppdg-web.

    Set the WinCvs Preferences:

    Open the WinCvs Preferences panel by selecting Admin->Preferences from the menu.
        • Update the "General" tab:

        • CVSROOT should be set to :pserver:<username>@cdcvs.fnal.gov:/cvs/cd
          where <username> is your cvs repository username.
          Authentication should be '"passwd" file on the cvs server.
          Use version: select cvs 1.10 (Standard)
        • Update the "Globals" tab:

        • Select only the following fields:
            üCheckout read-only
            üSupply control when adding files
            üDirty files support
            üPrune (remove) empty directories
        • Update the "Ports" tab: No fields should be selected.
        • Update the "Proxy" tab: No fields should be selected.
        • Update the WinCvs tab:

        • Choose your own Default viewer .  The HOME folder is where cvs stores your passwords.  Typically, it is set to the directory in which the WinCvs program resides (C:\Program Files\GNU\WinCvs 1.2)
      Logging in to the server
        Before any cvs file operations can be performed, the user must log in to cvs.  Log in to cvs by selecting Admin->Login from the menu.  You will be prompted for your password (i.e., your cvsuser password on the cvs repository).  You will need to supply your password when you first login.

    Useful Documentation

    Obtaining write access to a module

        Access to CVS modules needs to be obtained before you can commit a changed file back to the repository.  Check with ppdg-exec@ppdg.net (Doug or Ruth) to obtain this access.
        You will need to tell them which modules you are requesting access to.
    CS-1 CS-2 CS-3 CS-4 CS-5 CS-6 CS-7 CS-8 CS-9 CS-10 CS-11 CS-12
    Atlas BaBar CDF CMS DZero PHENIX STAR TJNAF
    Condor Globus SRB SRM
    www.ppdg.net www.griphyn.org www.ivdgl.org