As of Feb 10 2011 our code repository is located atApril 12 2011 the old Cluster Computing Toolkit code repository file:///afs/slac/g/cci/svnrepo
The old location was
/reg/g/npa/svnrepo
...
has been broken into several experiment level repositories. The svn URLs for these repositories are:
- CTK Core:
file:///afs/slac/g/cci/repositories/ctkrepo
- Petacache:
file:///afs/slac/g/cci/repositories/petacache
- LSST:
file:///afs/slac/g/cci/repositories/lsst
Unlike a CVS repository you can't just cd
to that directory and expect to see a meaningful repository structure; the actual files are entered into a small database only the container files of which are visible.
...
Each project is a top-level name in the repository and has three "subdirectories" under it: trunk, branches and tags. Ordinary development occurs under trunk. A branch or a tag is defined by copying a trunk revision (normally the latest) to a named subdirectory under branches or tags.
Code Block | ||||
---|---|---|---|---|
| ||||
svnsetenv copySVNROOT file:///afs/slac/g/cci/svnrepo/repositories/ctkrepo svn copy ${SVNROOT}/foo/trunk file:///afs/slac/g/cci/svnrepo/${SVNROOT}/foo/tags/V01-20-04 svn copy file:///afs/slac/g/cci/svnrepo/${SVNROOT}/foo/trunk file:///afs/slac/g/cci/svnrepo/${SVNROOT}/foo/branches/experimental5 |
...
Subversion copies are "smart" in the sense that they produce references back to the original; only subsequent changes made to a copy get stored there. A copy in effect produces a snapshot of the original source tree which is unaffected by subsequent changes to the original.
To check out code in the usual arrangmentto make a full build of the core software:
Code Block | ||||
---|---|---|---|---|
| ||||
cd work svnsetenv checkoutSVNROOT file:///afs/slac/g/cci/svnrepo/release/repositories/ctkrepo svn checkout ${SVNROOT}/workspace/trunk releaseworkspace cd releaseworkspace svn checkout file:///afs/slac/g/cci/svnrepo/rce/trunk rce${SVNROOT}/configuration/trunk configuration svn checkout ${SVNROOT}/oldPpi/trunk oldPpi svn checkout file:///afs/slac/g/cci/svnrepo/rceapp/trunk rceapp${SVNROOT}/platform/trunk platform svn checkout file:///afs/slac/g/cci/svnrepo/rceusr/trunk rceusr${SVNROOT}/ppi/trunk ppi svn checkout file:///afs/slac/g/cci/svnrepo/quarks/trunk quarks${SVNROOT}/rtems/trunk rtems svn checkout file:///afs/slac/g/cci/svnrepo/sofi/trunk sofi${SVNROOT}/service/trunk service svn checkout file:///afs/slac/g/cci/svnrepo/petacache/trunk petacache${SVNROOT}/tool/trunk tool |
To check out release Vxx-yy-xx substitute tags/Vxx-yy-xx
for trunk
.
...