UsingRepositories » History » Version 22
- SVN Access
- SVN Checkout
- SVN Introduction
- Running the Code
SVN Access¶To Access the DESpec SVN, you need:
- a services account
- to be a member of the subprojects of DESpec
- a kerberos ticket
- a svn client
Recommended SVN Clients¶
- Windows: TortoiseSVN http://tortoisesvn.tigris.org/
- Mac: Versions http://versionsapp.com/
- command line
Services Account at Fermilab¶
How to get a services account:
Member of the Subprojects¶
If you would like to have write access, email Brian or Laurenz, so we can add you to the DESpec project. If you don't need write access, look at the section Anonymous SVN.
How to set up kerberos¶
$ mv /etc/krb5.conf /etc/krb5.conf.bak $ cd /etc $ wget http://security.fnal.gov/krb5.conf $ echo "host cdcvs.fnal.gov ForwardX11 = no GSSAPIAuthentication yes GSSAPIDelegateCredentials yes" >> ~/.ssh/config $ kinit -f your-fnal-username $ klist
The final klist should show your kerberos ticket and the svn can be checked out now using the svn checkout command below.
Links with further documentation¶
One need not supply a URL for commit. SVN automatically contacts external server
svn commit -m "your message"
svn checkout svn+ssh://email@example.com/cvs/projects/simulation_pipeline-main/trunk despec
svn checkout svn+ssh://firstname.lastname@example.org/cvs/projects/simulation_pipeline-main/data data
svn checkout svn+ssh://email@example.com/cvs/projects/simulation_pipeline-main/paper paper
This will create a directory called despec containing a checkout the complete pipeline.
svn export http://cdcvs.fnal.gov/subversion/simulation_pipeline-main/trunk/ despec
Run the Code¶
Instructions on how to run the pipeline: Run_Pipeline
Creating a sub-project repository¶
- Creating a Repository in a Sub-Project: see https://cdcvs.fnal.gov/redmine/projects/fermi-redmine/wiki/CreatingRepositories
- setting up a repository on your local machine (which will then be pushed/pulled to/from the FRedmine (FNAL Redmine) repository you created:
- If you have a project "fred" and a "main" repository with no identifier
you get put in
- if you have a project fred and a repository identifier of "joe" you get
- So you can do give them all identifiers, or have one (main) one without;
or you can give the Main one an identifier...
- If there is no "Main" repository, the Repository tab doesn't show up,
Also see https://cdcvs.fnal.gov/redmine/projects/fermi-redmine/wiki/Subversion for Subversion