Subversion Info
Note for the current alpha version of us2 somo, use
bcf2.uthscsa.edu/ultrascan2alpha/trunk
instead of
bcf2.uthscsa.edu/ultrascan2/trunk
below.
A privileged user can checkout from subversion with:
svn co svn+ssh://bcf2.uthscsa.edu/ultrascan2/trunk ultrascan
or any user can get the sources. If you just want the files once:
svn export svn://bcf2.uthscsa.edu/ultrascan2/trunk ultrascan
change the final 'ultrascan' above to any directory name you desire. It will be created in the current directory. If you use:
svn co svn://bcf2.uthscsa.edu/ultrascan2/trunk ultrascan
any user will be able to get updates with:
svn update
To pass a different privileged user to an ssh access to svn, use
svn co svn+ssh://username@bcf.uthscsa.edu/ultrascan2/trunk ultrascan
To pass separate parameters to ssh, such as compression, an environment variable like:
SVN_SSH="ssh -C" svn co svn+ssh://username@bcf2.uthscsa.edu/ultrascan2/trunk [PATH]
can be used. Another alternative is to set up a custom user and parameters in your $HOME/.ssh/config file. See the man page for ssh_config for more details. but you will not be able to check anything into the system.
When you are creating a new file or directory, you need to tell the SVN server about it.
svn add <filename(s) or directory>
When adding a file to svn, be sure to set attributes (on text files):
svn propset svn:keywords "LastChangedDate Author" <filename>
For non-ASCII files, set the appropriate MIME type. E.g. for png files:
svn propset svn:mime-type image/png <filename>
For arbitrary binary data:
svn propset svn:mime-type application/octet-stream <filename>
Other svn commands include "delete", "status", "diff", "move", and "commit". For more details on subversion see the on-line book at http://svnbook.red-bean.com/en/1.4/svn-book.html