[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

a script or 2

From: ninjahimself <ninjahimself_at_gmail.com>
Date: Mon, 12 Nov 2012 20:09:38 -0500

i just want to throw up 2 scripts, 1 to deploy a SVN repository quickly
easily and effectively, and 1 to configure and control the users /
server operations post repo deployment. /usr/bin/snvdploy & /usr/bin/svnctl

/usr/bin/snvdploy
/code/
#!/bin/bash
if [ ! -d "/home/svn" ]; then
mkdir /home/svn
fi
echo "name your SVN repo"
read DIRNAME
mkdir /home/svn/$DIRNAME
chgrp svn /home/svn/$DIRNAME
chmod g+w /home/svn/$DIRNAME
chmod g+s /home/svn/$DIRNAME
umask 002
svnadmin create /home/svn/$DIRNAME
umask 022
cd /home/svn/$DIRNAME/conf
echo 'dont forget to run svnctl'
/-code/

/usr/bin/svnctl
/code/
#!/bin/bash
echo 'what SVN server do you wish to configure? (cAsE sensitive)'
ls /home/svn
read DIRNAME
nano /home/svn/$DIRNAME/conf/svnserve.conf
nano /home/svn/$DIRNAME/conf/passwd
/-code/
Received on 2012-11-13 06:52:44 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.