Table of Contents
Installation d'un dépôt Subversion
Paquets
aptitude install subversion websvn
Configuration
- éditer
/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>
- activer les robots dans le fichier cron, par exemple,
/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
Création d'un nouveau dépôt
- créer le dépôt dans le panel d’administration
- dans un terminal, depuis votre ordinateur:
svn co svn+ssh://user@domain.com/your/path/to/svnroot/group/namesvn localcopyname cd localcopyname svn up svn add filename #ajouter un fichier au dépôt svn ci #envoyer les modifications