Comments on The Perfect Subversion Server - Debian Lenny [ISPConfig3]
The Perfect Subversion Server - Debian Lenny [ISPConfig3] Subversion is a free/open-source version control system. That is, Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of "time machine". This guide will help you setup the subversion system, and integrate it with your existing ISPConfig3 installation allowing you control over disk usage, quota and other factors in a very familiar way. Perhaps one day, somebody can use this process to create a plug in for ISPConfig3 that does all of this automatically.
7 Comment(s)
Comments
You put a lot of great work into a somewhat archaic piece of technology. I'd rather use something modern like
http://sunoano.name/ws/scm.html#provide_a_git_repository_to_the_public
GIT and subversion have two very different usage modes. subversion solves some problems which git does not address and vice verse. One is not archaic simply because it does not support the same behavior as another.
Even with suexec enabled i had to add write permission for group like that:
chmod -R g+w ./svn
Nice article.
How are the permissions set? I tried it, but i had to set chmod 777 in order for eveything to work, which is undesirable
Assuming you need to make sure SuExec is enabled?
Great tutorial, but you appear to have made a mistake in a number of your paths:
You have "/var/clients/"
When it should be "/var/www/clients/" to make it all work
As default ispconfig does not allow to put new folder under .../clientx/weby dir i would suggest doing this way:
Create folder /clientx/weby/web/svndir
Make this folder protected in your ispconfig panel.
Add protected user to this folder.
Now add options to Your apache config, sth like this:
<Location /svn/repo1>
DAV svn
SVNPath /var/www/clients/client1/web1/web/svndir/repo1
AuthType Basic
AuthName "Dev only"
AuthUserFile /var/www/clients/client1/web1/web/svndir/.htpasswd
Require valid-user
</Location>
After creating repo You have to add write for group permission to this folder.
Now You can manager Your users from ispconfig panel. I think it is a better option. It took me 2 hours to figure it out, so I hope this share will help someone.