Weblog entry #2 for jurrit
#2
Managing Subversion with Submin
Posted by jurrit on Wed 11 Aug 2010 at 09:48
Submin is a web-based administration tool for subversion (svn), it is a nice alternative for User-friendly SVN and doing it by hand. It's features include user management, repository management and integration with trac. It uses apache2 for access to the repository and management interface. Unfortunately, submin isn't included in the stable Debian packages repository, but the project provides it's own debian repository which eases the installation process.
Requirements
Clean Debian 5.0 Lenny install. Submin uses apache2 and the apache2-svn module for user access.
Installation
We first add the supmerind repository to apt by editing the sources.list:
username: admin
password: admin.
Now start creating those users and svn repositories!
Original article on: http://www.virtualconcepts.nl/2010/07/managing-subversion-with-submin/
Requirements
Clean Debian 5.0 Lenny install. Submin uses apache2 and the apache2-svn module for user access.
Installation
We first add the supmerind repository to apt by editing the sources.list:
vi /etc/apt/sources.listAdd the following line:
deb http://debian.supermind.nl/ current mainBefore we can use the new repository, we need to add it's key:
wget -q -O - http://supermind.nl/debian.key | apt-key add -And update the repository:
apt-get updateThe next step is to install submin:
apt-get install subminThis will automatically install all the required packages, such as apache2 & subversion:
The following NEW packages will be installed: apache2 apache2-mpm-worker apache2-utils apache2.2-common ca-certificates file libapache2-mod-python libapache2-svn libapr1 libaprutil1 libdb4.5 libexpat1 libldap-2.4-2 libmagic1 libmysqlclient15off libneon27-gnutls libpcre3 libpq5 libserf-0-0 libsqlite3-0 libsvn1 libxml2 mime-support mysql-common openssl openssl-blacklist perl perl-modules python python-central python-minimal python-subversion python-support python2.5 python2.5-minimal sgml-base ssl-cert submin subversion xml-coreAfter the packages are installed. It is necessary to create the default submin configuration files that will be placed in /etc/submin:
submin-admin create defaultNext we need to use the newly create apache config file for submin in the apache2 configuration. You can add the content of /etc/submin/default-apache-cgi.conf into a virtualhost section, but the following will also work:
ln -s /etc/submin/default-apache-cgi.conf /etc/apache2/conf.d/submin.confThe only thing left, is to edit the default config since we don't use trac:
vi /etc/submin/default.confChange this in the trac section:
[trac] enabled = False basedir = /tmpChange this in the www section
[www] trac_base_url = https://example.com/tracWe finally need to enable the rewrite module and restart apache:
a2enmod rewrite /etc/init.d/apache2 restartAll done! Get your browser and access the submin page, for example: http://127.0.0.1:8080/submin/ These are the default login credentials:
username: admin
password: admin.
Now start creating those users and svn repositories!
Original article on: http://www.virtualconcepts.nl/2010/07/managing-subversion-with-submin/
Comments on this Entry
Posted by Anonymous (80.69.xx.xx) on Wed 18 Aug 2010 at 07:07
thanks for this info. The project sounds very interesting and usefull!
/thorsten
/thorsten
[ Parent | Reply to this comment ]