SVN With Multiple Users on the Grid


Browse by products and services

  • Applies to: Grid
    • Difficulty: Medium
    • Time Needed: 20
    • Tools Required: SSH, vi knowledge

Overview

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.

Requirements

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.

Instructions

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

NOTE:

Replace 00000 with your site number.

Then, as another user (user@domain.com), you can run svn checkout file:///home/00000/data/newrepo.

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.

Further reading