Author: reinhard Date: 2007-06-06 09:36:14 -0500 (Wed, 06 Jun 2007) New Revision: 9688
Modified: trunk/www/utils/sbin/update-tasks Log: Improved log output. Modified: trunk/www/utils/sbin/update-tasks =================================================================== --- trunk/www/utils/sbin/update-tasks 2007-06-06 14:02:21 UTC (rev 9687) +++ trunk/www/utils/sbin/update-tasks 2007-06-06 14:36:14 UTC (rev 9688) @@ -52,7 +52,7 @@ ( -echo "Checking for a lockfile" +echo "$(date --iso-8601=seconds) Checking for a lockfile." lockfile-create $LOCKFILE (while :; do lockfile-touch $LOCKFILE; sleep 60; done) 2>/dev/null & # Save the PID of the lockfile-touch process @@ -64,13 +64,13 @@ # if [ "$RECHECKOUT" = "yes" ] then - echo "Checking out svn" + echo "$(date --iso-8601=seconds) Checking out svn." rm -rf ${CHECKOUT} svn co -q --non-interactive file:///var/svn/gnue/trunk ${CHECKOUT} else SVNUPDATE="svn update --non-interactive -q" SVNCLEANUP="svn cleanup" - echo Updating svn... + echo "$(date --iso-8601=seconds) Updating svn." # Autogenerated stuff that gets in the way cd ${CHECKOUT} rm -f */po/*.po* 2>&1 > /dev/null @@ -84,19 +84,19 @@ # Run setup-svn.py to get a working install in /usr/local/gnue-sandbox/ # rm -rf ${BASE}/gnue ${BASE}/bin/* -echo "Running setup.py..." +echo "$(date --iso-8601=seconds) Running setup-svn.py." cd ${CHECKOUT}/gnue-common HOME=${BASE} ./setup-svn.py --auto 2>&1 | sed 's/^/ (*) /g' # Update the website based on gnue/www/ -echo "Updating website..." +echo "$(date --iso-8601=seconds) Updating website." cd ${CHECKOUT}/www $BASE/bin/gcvs utils/create-website --update --dest /usr/local/www/gnue/htdocs --htdig /etc/htdig --twiki /var/lib/twiki/templates 2>&1 | sed 's/^/ (*) /g' # Update the downloads section -echo "Updating downloads..." -/usr/local/gnue-sandbox/sbin/update-downloads +echo "$(date --iso-8601=seconds) Updating downloads." +/usr/local/gnue-sandbox/sbin/update-downloads 2>&1 | sed 's/^/ (*) /g' # # Create docs @@ -105,7 +105,7 @@ for tool in `(cd ${INSTALLED}/gnue; ls|grep -v '\.')` do SRC=${INSTALLED}/gnue/${tool} - echo -n "Performing tasks for ${tool}..." + echo -n "$(date --iso-8601=seconds) Performing tasks for ${tool}:" # # Epydoc @@ -144,8 +144,7 @@ cat $log ) >> $NIGHTLIESLOG fi - echo - + echo "." done kill ${BADGER} 2>/dev/null @@ -172,4 +171,3 @@ fi rm -f $LOGLIST fi - _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue