documentation:dev:scm:svk:script
=>  Releases

Current version
Git/Latestdiff: 1.5.6

Latest Snapshots
Produced after each commit or rebase to new upstream version

GIT
RSBAC source code, can be unstable sometimes

=>  Events

No events planned

SVK auto-setup

Just copy/paste that script and execute it :)

#!/bin/bash
svn=svn+ssh://rsbac.org/daten/subversion
repos="rsbac-2.6 rsbac-2.4 rsbac-admin rsbac-apache rsbac-misc rsbac-python"
 
[ -d $HOME/.svk ] && {
        echo "You already have a svk configuration in $HOME/.svk"
        echo "Please remove it before proceeding. Backup any data you need."
        exit 1
}
 
echo "Please reply y if you want a default repository (safe to say yes, takes low disk space)"
svk depot -i
echo "Please enter the directory path to store your depots:"
echo -n "[$HOME/.svk]: "
read path
[ "$path" == "" ] && path="$HOME/.svk"
[ -d "$path" ] || {
        echo "Error: Not a directory"
        exit 1
}
echo "Creating the RSBAC depot"
echo "=> Just say y once :)"
svk depot rsbac $path/rsbac
echo -n "Creating mirrors: "
for rep in $repos; do
        echo -n "$rep... "
        svk mirror $svn/$rep /rsbac/$rep > /dev/null
done
echo "done"
 
echo "Syncing all mirrors [this may take a long time]..."
svk sy -a
 
echo "All done! Summary:"
svk depot -l
svk ls /rsbac/
//
documentation/dev/scm/svk/script.txt · Last modified: 2006/06/06 14:11 by kang

documentation/dev/scm/svk/script.txt · Last modified: 2006/06/06 14:11 by kang
This website is kindly hosted by m-privacy