|
Size: 1337
Comment: renamed from ReadOnlyCvs
|
Size: 2103
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| #acl AdminGroup:read,write,delete,revert All: |
|
| Line 4: | Line 2: |
== Usage == |
First, [[https://surfer.nmr.mgh.harvard.edu/opensourcereg.html|register to receive the password to this repository]]. This registration form includes [[FreeSurferSoftwareLicense|the license terms]]. Note: tkmedit, tksurfer and tkregister2 are covered under [[FreeSurferCorTechsLicense|the CorTechs license]]. |
| Line 8: | Line 5: |
| Line 9: | Line 7: |
| cvs -d :pserver:anonymous@fscvs.nmr.mgh.harvard.edu:/usr/fscvsroot login | cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot login |
| Line 11: | Line 9: |
| press Enter when prompted for the password (there isn't one). Then type: | You will supply the password received via email after completing the registration form. Then type: |
| Line 13: | Line 12: |
| cvs -d :pserver:anonymous@fscvs.nmr.mgh.harvard.edu:/usr/fscvsroot checkout dev | cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot checkout -P dev |
| Line 15: | Line 14: |
| This will begin the download of the source-code trunk, creating a directory named 'dev'. | This will begin the download of the source-code trunk, creating a directory named 'dev'. The -P flag will purge the junk files that have been deleted from the repository over the years. |
| Line 17: | Line 16: |
| To get a copy of the current 'stable' branch (the code used to build the public release), insert '-r stable4' before 'dev' in the second command, like this: | To get a copy of the current 'stable' branch (the code used to build the public release but that has been internally updated with bug fixes), insert '-r stable5' before 'dev' in the second command, like this: |
| Line 19: | Line 19: |
| cvs -d :pserver:anonymous@fscvs.nmr.mgh.harvard.edu:/usr/fscvsroot checkout -r stable4 dev | cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot checkout -P -r stable5 dev |
| Line 21: | Line 21: |
| Note that this will also create a directory named 'dev', so you should probably create a directory named 'stable4', cd to that, and then do the checkout. | Note that this will also create a directory named 'dev', so you should probably create a directory named 'stable5', cd to that, and then do the checkout. If you need the version used in the 5.1 public release, then use 'release_5_1_0' as the revision tag (instead of 'stable5'). |
| Line 24: | Line 26: |
| Line 32: | Line 35: |
| Remember that cvs will cache the location of CVSROOT (the 'pserver' string from above), so to perform an update, you need only type: | |
| Line 33: | Line 37: |
| {{{ cvs update -d }}} See also [[ReadOnlyCVSadmin|admin notes]]. |
Access the read-only CVS source-code repository
First, register to receive the password to this repository. This registration form includes the license terms. Note: tkmedit, tksurfer and tkregister2 are covered under the CorTechs license.
To check-out a copy of the main 'dev' (development) trunk, type this:
cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot login
You will supply the password received via email after completing the registration form. Then type:
cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot checkout -P dev
This will begin the download of the source-code trunk, creating a directory named 'dev'. The -P flag will purge the junk files that have been deleted from the repository over the years.
To get a copy of the current 'stable' branch (the code used to build the public release but that has been internally updated with bug fixes), insert '-r stable5' before 'dev' in the second command, like this:
cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot checkout -P -r stable5 dev
Note that this will also create a directory named 'dev', so you should probably create a directory named 'stable5', cd to that, and then do the checkout.
If you need the version used in the 5.1 public release, then use 'release_5_1_0' as the revision tag (instead of 'stable5').
Build instructions are found in the DevelopersGuide, but in any case, you will first need to type this:
cd dev ./setup_configure
which will setup the autoconf and automake files for your platform. You need only do this once (or whenever you change configure.in).
The DevelopersGuide will describe how to need to configure, make, and make install.
Remember that cvs will cache the location of CVSROOT (the 'pserver' string from above), so to perform an update, you need only type:
cvs update -d
See also admin notes.
