Table of Contents
Subversion Repository installation
Packages
aptitude install websvn
Configuration
- Edit
/etc/vhffs/vhffs.conf
<svn> # Use this module or not activate = yes # URL to the svnweb svnweb_url = "http://svnweb.domain.com" # From: of emails sent by svn commit notifier notify_from = subversion@domain.com # URL to the documentation (optional) url_doc = http://help.domain.net/svn </svn>
- activate the bots with a cron file, for example,
/etc/cron.d/vhffs
#*/10 * * * * root ionice -c3 nice -n 19 /usr/lib/vhffs/bots/svn_create.pl #*/10 * * * * root ionice -c3 nice -n 19 /usr/lib/vhffs/bots/svn_delete.pl #*/10 * * * * root ionice -c3 nice -n 19 /usr/lib/vhffs/bots/svn_public.pl #*/10 * * * * root ionice -c3 nice -n 19 /usr/lib/vhffs/bots/svn_viewvcconf.pl #*/10 * * * * root ionice -c3 nice -n 19 /usr/lib/vhffs/bots/svn_websvn.pl
Initiate a new repository
- create repository through the panel
- from your local machine
svn co svn+ssh://user@domain.com/your/path/to/svnroot/group/namesvn localcopyname cd localcopyname svn up svn add filename #add a file to repository svn ci #commit change