1 / 6

Code and Document Management

Code and Document Management. Paul E. Reimer 21 June 2008. Document Management. Fermilab Software DocDB Developed by BTeV, now widely used at Fermilab Archives and provides searchable access to documents For example, see http://des-docdb.fnal.gov/cgi-bin/DocumentDatabase/

bob
Download Presentation

Code and Document Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Code and Document Management Paul E. Reimer 21 June 2008

  2. Document Management Fermilab Software DocDB • Developed by BTeV, now widely used at Fermilab • Archives and provides searchable access to documents • For example, see http://des-docdb.fnal.gov/cgi-bin/DocumentDatabase/ Not yet set up for E906/Drell-Yan—we have a choice: • Run at Fermilab either on EPP small experiment server or on DocDB server • Positive: Nothing for collaboration to maintain • Negative: Access requires either DOE or Fermilab Kerberos certificate But there appears to also be a password-only version as well???? • Run DocDB on Drell-Yan web site • Positive: access controlled via .htaccess file—simple password based system • Negative: Need to have DocDB software installed and enabled web site (at Argonne in http://drell-yan.phy.anl.gov) Paul E. Reimer Code and Document Management

  3. Code Management Fermilab CVS server (Concurrent Versions System) • More information on CVS at http://www.nongnu.org/cvs/ • Manual at http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs.html • Server address is cdcvs.fnal.gov • Web based access at http://cdcvs0.fnal.gov/cgi-bin/public-cvs/cvsweb-public.cgi/?cvsroot=e906cvs We should host all our software in this central server • fastMC (currently there) • GEANT MC • Analysis Paul E. Reimer Code and Document Management

  4. Code Management CVS access based on either • Fermilab Kerberos certificate • If you have a kerberized machine and a Fermilab Kerberos login, tell me and I will add your Kerberos principal to the authorized data base. • See http://computing.fnal.gov/xms/Services/Getting_Started/Introduction_to_Computing_at_Fermilab to get Fermilab computing account. This can be done remotely • ssh public/private key • Give me a copy of your ssh DSA public key and I will add it to the authorized data base • Under UNIX/LINUX give the command ssh-keygen –t dsa • This will create ~/.ssh/id_dsa and ~/.ssh/id_dsa.pub • Protect ~/.ssh/id_dsa and send me (reimer@anl.gov) ~/.ssh/id_dsa.pub Paul E. Reimer Code and Document Management

  5. CVS session reimer@reimerlp2 ~/tmp $ export CVS_RSH=ssh reimer@reimerlp2 ~/tmp $ cvs -d :ext:e906cvs@cdcvs.fnal.gov:/cvs/e906 checkout fastMC cvs checkout: Updating fastMC U fastMC/Makefile_acu U fastMC/dedx.f U fastMC/makefile U fastMC/mc_906.f U fastMC/random.f U fastMC/random.inc U fastMC/ranluxseed.dat U fastMC/sigdy.f EDIT FILES/COMPILE/ETC. reimer@reimerlp2 ~/tmp $ cvs -d :ext:e906cvs@cdcvs.fnal.gov:/cvs/e906 commit fastMC OR reimer@reimerlp2 ~/tmp $ cvs -d :ext:e906cvs@cdcvs.fnal.gov:/cvs/e906 release fastMC You have [0] altered files in this repository. Are you sure you want to release directory `fastMC': yes reimer@reimerlp2 ~/tmp Paul E. Reimer Code and Document Management

  6. Conclusion • DocDB by BTeV hosted by computing division appears to be the best solution • if password issues can be worked out • I will initiate a “help ticket” on Monday at Fermilab to have DocDB repository for E906 • cdcvs.fnal.gov e906cvs repository up an running • Currently only contains fastMC • We need to consider management strategy and rules • CVS really only keeps track of what we’ve done, including our mistakes. • It is not a substitute for good management • Your input is appreciated!! • I will try to help with CVS issues, but other collaboration members have more experience than I do. Paul E. Reimer Code and Document Management

More Related