CVS Basics

Here are some most often used CVS commands. After you got your local copy of a module, all the CVS commands related to the module you should do inside the module directory.
  • Export CVS_RSH if not already done: export CVS_RSH=ssh
  • How to checkout module "hadaq": cvs -d :ext:hadaq@lxi003.gsi.de:/misc/hadesprojects/daq/cvsroot checkout hadaq
  • How to update your local copy of module: cvs update
  • How to commit modified files: cvs commit -m "your message" file1 file2
  • How to add new files to a module:
    • cvs add file1 file2
    • cvs commit -m "your message" file1 file2
  • How to create a new module: cvs import module_name vendor_tag symbolic_tagname

CVS Code Repositories

All VHDL, C and other code should be put to the cvs under /misc/hadesprojects/daq/cvsroot/ to keep it available for everyone - it also gives some additional security in case of a failure on your machine.

Module CVS tagSorted ascending Subdirs Content
rich_adcm - . VHDL for Rich ADCM
mdc_dc_readoutv2 - . VHDL for OEPBv2
trbbase - . VHDL for Acromag
trbnet - . VHDL related to TrbNet
trbnet - basics VHDL basic entities like ram, rom etc.
trbnet - lattice/ecp2m VHDL specific for Lattice ECP/2M
trbnet - lattice/scm VHDL specific for Lattice SCM
trbnet - special VHDL special purpose, trbnet related stuff
trbnet - xilinx VHDL Fifos, PLL, DCM, DDR - all xilinx specific stuff
trbsoft - . Software for Etrax on TRB2
trbsoft - daq DAQ Startup scripts & Settings
trbsoft - libtrbnet Interface to trbnet
trbsoft - mdc daqop, MDC specific software
trbsoft - trbrich Flash programming, RICH specific software
hadaq - . C code for event building etc. plus libhadaq.a
compat - . C library to provide compatibility concerning used standard functions between the different operating systems used for the HADES DAQ
allParam - . C library to provide an unified access to parameters using different souces like files, ca server or the Oracle database
lvme - . C library to have an unified access to the VME bus on different operating systems
latm - . C library to have an unified access to the ATM interface on different operating systems
xild - . Program to load FPGA designs into Xilinx FPGAs
runctrl - . Package to control the DAQ system on basis of EPICS ca servers, EPICS sequencers and EPICS GUIs. Contains subdirectories with drivers for each single DAQ device (VME card)
hwreadout - . C code for readout of different detector systems
ebctrl - . control of parallel event building based on EPICS tools
ebctrl - ioc code for EPICS IO-Controllers including all EPICS support code
ebctrl - mon GUIs based on MEDM
hades-archivist - . perl script for archiving hld files to tapes
trbtdctools - . perl script and config files for producing jam files to program TDCs
oper - . perl scripts and config files for DAQ control (start, stop etc.)
daqctrl_scripts - . more scripts for DAQ control
tools - . even more scripts for DAQ control and other things
daq_remote_access - . perl scripts for remote access to hld files
nagios - . a system and network monitoring application
nagios - config configuration files
nagios - plugins plugin scripts for monitoring
hadaq stab_oct07 . code used during oct07 beam-time
hadaq stab_sep08 . code used during sep08 beam-time

Please hold this list up to date (and also the CVS itself!) to make it as easy as possible for other people to access code they might or might not need.

-- JanMichel - 22 Dec 2008
Topic revision: r7 - 2010-02-18, SergeyYurevich
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 | Imprint | Privacy Policy (in German)