Configuring and Scripting WEBDAV Subversion Repos Part 1
Subversion is a great system for centralized repository usage and
administration. One of the good (pragmatic?) things about subversion is the
simple built in access method using the svn protocol. While the
svn protocol is nice; using the webdav capability
for managing repositories
is definitely a nice touch. Managing a lot of repositories
can be challenging to say the least. In this series a quick look at setting
up a single webdav based repository; a simplistic script
to add repositories, a script to manage user and finally a full blown shell
program for managing webdav based subversion repositories.
Configuring and Setting up Webdav Repos by Hand
In the example, a repository called foo is used.
The repository will reside in /var/subversion/foo.
Webdav auth files are in /var/htpasswds/.
The following
pre-requisites are needed:
- httpd (preferably configured and working).
- subversion
Getting the Packages
First and foremost the apache installation needs to have the appropriate
module installed. Packages will be used in the following example. On
RPM based systems yum or up2date
can be used to seek out the packages:
Leave a Reply