Subversion, often referred to as SVN, is a software versioning and a revision control system distributed under a free license. Developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation.
This article explains how to set up and connect to SVN repos on a Grid with multiple users. The authoritative documentation for Subversion can be found on their website.
Before you start, be sure to have these handy:
- Enable SSH access.
Please note that if you want a user other than 'serveradmin' to use the repository you must enable SSH for the other user.
- Your site number.
- A repository has already been created. Follow the instructions in this article and be sure to create the repo as the serveradmin user.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
Allowing multiple users to connect to your repository
You will now need to grant permissions to allow other users.
Log in via SSH as serveradmin. Run each command separately.
cd /home/00000/data chmod -R g+w newrepo
Replace 00000 with your site number.
Then, as another user (firstname.lastname@example.org), you can run svn checkout
The other user will be able to add files and commit them to the repository. The chmod lets anyone in the site group write files in the repository which is all subversion needs.
- Additional info for using Eclipse
This site is not owned by (mt) Media Temple and therefore unsupported. http://www.breakitdownblog.com/2007/subversion-svnssh-with-eclipse/
- Additional third-party info on how to connect to SVN via windows can be found at:
This site is not owned by (mt) Media Temple and therefore unsupported. http://www.cs.ubc.ca/~vailen/svn_howto.htm
- Additional third-party info on how to connect to SVN via TortoiseSVN can be found at:
This site is not owned by (mt) Media Temple and therefore unsupported. http://www.vesic.org/english/blog/software/how-to-use-tortoisesvn-to-access-mediatemple-subversion-over-svn-ssh/