Svn

From NAMIC Wiki
Jump to: navigation, search
Home < Svn

Description

The goal of the Subversion project is to build a version control system that is a compelling replacement for CVS in the open source community. The software is released under an Apache/BSD-style open source license.

Documentation

Create Repository

This is tested on Debian GNU/Linux and it may or may not work on other operating systems.

sudo svnadmin create /directory/to/the/project/
sudo chown -R www-data:www-data /directory/to/the/project/
sudo vim /etc/apache2/mods-enabled/dav_svn.conf

add:


<Location /svn/ProjectPath>
  DAV svn
  SVNPath /directory/to/the/project
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /project/passwords/file.passwords

  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

Example Repositories

http://www.na-mic.org/websvn/