Revision: 9442 http://pure-data.svn.sourceforge.net/pure-data/?rev=9442&view=rev Author: eighthave Date: 2008-02-14 15:15:34 -0800 (Thu, 14 Feb 2008)
Log Message: ----------- renamed files since they also work with SVN in addition to CVS
Added Paths: ----------- trunk/scripts/auto-build/pure-data-rsync trunk/scripts/auto-build/pure-data-rsync-checkout
Removed Paths: ------------- trunk/scripts/auto-build/pure-data-cvs-rsync trunk/scripts/auto-build/pure-data-cvs-rsync-checkout
Deleted: trunk/scripts/auto-build/pure-data-cvs-rsync =================================================================== --- trunk/scripts/auto-build/pure-data-cvs-rsync 2008-02-14 21:35:48 UTC (rev 9441) +++ trunk/scripts/auto-build/pure-data-cvs-rsync 2008-02-14 23:15:34 UTC (rev 9442) @@ -1,30 +0,0 @@ -#!/bin/sh -# rsync the CVS source files from SourceForge to make a local copy - -# the source dir where this script is -SCRIPT_DIR=`echo $0 | sed 's|(.*)/.*$|\1|'` -. $SCRIPT_DIR/auto-build-common - -# the name of this script -SCRIPT=`echo $0| sed 's|.*/(.*)|\1|g'` - -LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt - -VERBOSE_FLAGS=-v -#VERBOSE_FLAGS="-v --progress" - -touch $LOGFILE - -echo "rsync pure-data" >> $LOGFILE 2>&1 -echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 -(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pure-data.cvs.sourceforge.net/cvsroot/p/pu/pure-data/ /home/pd/cvsroot/pure-data/ || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pure-data CVS FAILED") >> $LOGFILE 2>&1 - -echo "rsync pd-gem" >> $LOGFILE 2>&1 -echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 -(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pd-gem.cvs.sourceforge.net/cvsroot/p/pd/pd-gem/ /home/pd/cvsroot/pd-gem || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pd-gem CVS FAILED") >> $LOGFILE 2>&1 - -echo "chown -R pd.pd /home/pd/cvsroot" >> $LOGFILE 2>&1 -echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 -chown -R pd.pd /home/pd/cvsroot >> $LOGFILE 2>&1 - -
Deleted: trunk/scripts/auto-build/pure-data-cvs-rsync-checkout =================================================================== --- trunk/scripts/auto-build/pure-data-cvs-rsync-checkout 2008-02-14 21:35:48 UTC (rev 9441) +++ trunk/scripts/auto-build/pure-data-cvs-rsync-checkout 2008-02-14 23:15:34 UTC (rev 9442) @@ -1,31 +0,0 @@ -#!/bin/sh -# update from the local CVS repository - -# the source dir where this script is -SCRIPT_DIR=`echo $0 | sed 's|(.*)/.*$|\1|'` -. $SCRIPT_DIR/auto-build-common - -# the name of this script -SCRIPT=`echo $0| sed 's|.*/(.*)|\1|g'` -LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt - -update_distro () -{ - distro=$1 - echo "------------------------------------------------------------" >> $LOGFILE 2>&1 - echo "$distro" >> $LOGFILE 2>&1 - echo "------------------------------------------------------------" >> $LOGFILE 2>&1 - /home/pd/rsync/$distro/scripts/update-developer-layout.sh >> $LOGFILE 2>&1 -} - -touch $LOGFILE - -for dir in /home/pd/rsync/*; do - dirname=`echo $dir | sed 's|.*/(.*)|\1|'` - test -e $dir/scripts/update-developer-layout.sh && \ - update_distro $dirname -done - -# since the above test can cause this script to exit with an error, force it -# to be happy to prevent getting automated error emails to root -true
Copied: trunk/scripts/auto-build/pure-data-rsync (from rev 9441, trunk/scripts/auto-build/pure-data-cvs-rsync) =================================================================== --- trunk/scripts/auto-build/pure-data-rsync (rev 0) +++ trunk/scripts/auto-build/pure-data-rsync 2008-02-14 23:15:34 UTC (rev 9442) @@ -0,0 +1,30 @@ +#!/bin/sh +# rsync the CVS source files from SourceForge to make a local copy + +# the source dir where this script is +SCRIPT_DIR=`echo $0 | sed 's|(.*)/.*$|\1|'` +. $SCRIPT_DIR/auto-build-common + +# the name of this script +SCRIPT=`echo $0| sed 's|.*/(.*)|\1|g'` + +LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt + +VERBOSE_FLAGS=-v +#VERBOSE_FLAGS="-v --progress" + +touch $LOGFILE + +echo "rsync pure-data" >> $LOGFILE 2>&1 +echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 +(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pure-data.cvs.sourceforge.net/cvsroot/p/pu/pure-data/ /home/pd/cvsroot/pure-data/ || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pure-data CVS FAILED") >> $LOGFILE 2>&1 + +echo "rsync pd-gem" >> $LOGFILE 2>&1 +echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 +(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pd-gem.cvs.sourceforge.net/cvsroot/p/pd/pd-gem/ /home/pd/cvsroot/pd-gem || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pd-gem CVS FAILED") >> $LOGFILE 2>&1 + +echo "chown -R pd.pd /home/pd/cvsroot" >> $LOGFILE 2>&1 +echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 +chown -R pd.pd /home/pd/cvsroot >> $LOGFILE 2>&1 + +
Copied: trunk/scripts/auto-build/pure-data-rsync-checkout (from rev 9440, trunk/scripts/auto-build/pure-data-cvs-rsync-checkout) =================================================================== --- trunk/scripts/auto-build/pure-data-rsync-checkout (rev 0) +++ trunk/scripts/auto-build/pure-data-rsync-checkout 2008-02-14 23:15:34 UTC (rev 9442) @@ -0,0 +1,31 @@ +#!/bin/sh +# update from the local CVS repository + +# the source dir where this script is +SCRIPT_DIR=`echo $0 | sed 's|(.*)/.*$|\1|'` +. $SCRIPT_DIR/auto-build-common + +# the name of this script +SCRIPT=`echo $0| sed 's|.*/(.*)|\1|g'` +LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt + +update_distro () +{ + distro=$1 + echo "------------------------------------------------------------" >> $LOGFILE 2>&1 + echo "$distro" >> $LOGFILE 2>&1 + echo "------------------------------------------------------------" >> $LOGFILE 2>&1 + /home/pd/rsync/$distro/scripts/update-developer-layout.sh >> $LOGFILE 2>&1 +} + +touch $LOGFILE + +for dir in /home/pd/rsync/*; do + dirname=`echo $dir | sed 's|.*/(.*)|\1|'` + test -e $dir/scripts/update-developer-layout.sh && \ + update_distro $dirname +done + +# since the above test can cause this script to exit with an error, force it +# to be happy to prevent getting automated error emails to root +true
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.