[Cdd-commits] r1236 - blends/trunk/webtools
CDD Subversion Commit
noreply at alioth.debian.org
Thu Nov 13 08:45:40 UTC 2008
Author: tille
Date: Thu Nov 13 08:45:39 2008
New Revision: 1236
Added:
blends/trunk/webtools/deploy-svn (contents, props changed)
Log:
Add a script to easily deploy current state of webtools in SVN
Added: blends/trunk/webtools/deploy-svn
==============================================================================
--- (empty file)
+++ blends/trunk/webtools/deploy-svn Thu Nov 13 08:45:39 2008
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+umask 002
+
+#REPOS=$1
+#REV=$2
+# URL_REPOS="svn://svn.debian.org/svn/cdd/blends/trunk/webtools"
+URL_REPOS="svn+ssh://svn.debian.org/svn/cdd/blends/trunk/webtools"
+BASE=/var/lib/gforge/chroot/home/groups/cdd
+
+echo "Deploy website..."
+tmpdir=`mktemp -p $BASE -d`
+svn --force export $URL_REPOS $tmpdir/webtools > /dev/null
+rsync -azult --delete --exclude .gitignore --exclude .svnignore \
+ $tmpdir/webtools $BASE
+rm -rf $tmpdir
+
+cd $BASE/webtools
+./mkmo.sh
+
+# ensure the Group has write permissions...
+chmod -R g+w $BASE/webtools
More information about the Cdd-commits
mailing list