See also the Subversion section of CSLabDevelopment

Subversion

The astrometry.net code repository is:

To check out a copy of astrometry under svn, use the following command:

svn co svn+ssh://username@astrometry.net/svn/trunk astrometry

where "username" is your user name on astrometry.net. If you don't have an account or username on astrometry.net, email keir and he will set it up.

If you don't have an account on astrometry.net, then you can check out the code with the http protocol:

svn co http://astrometry.net/svn/trunk astrometry

This will create a local working copy in the directory 'astrometry'.

Using Subversion

Subversion can be used almost identically to CVS. For most operations, it is literally identical, except you get added functionality like svn revert, svn mv, svn rm (which works on directories), and more. There is an entire book available in case more detail is needed. Also, email keir if you have specific issues.

Username bug

If your username on astrometry.net differs from your username on the machine where you are checking out your working copy, you won't be able to effectively use (commit, update, etc) your working copy unless you put the following lines in your $HOME/.ssh/config file:

Host astrometry.net
  User username

where "username" is your username on astrometry.net.

Repository backup

The SVN repository is rsync'd every hour on the hour to Toronto (cronjob is on monte.ai); it is stored in a section of disk that gets backed up daily and moved offsite at regular (though larger) intervals. It is also backed up daily to Princeton but only as a "live" rsync.