[Blends-commit] [SCM] website branch, master, updated. 819d5540e6be918d9db85ea32b533ac3e44c3d3f
Andreas Tille
tille at debian.org
Fri Mar 6 10:25:43 UTC 2015
The following commit has been merged in the master branch:
commit 819d5540e6be918d9db85ea32b533ac3e44c3d3f
Author: Andreas Tille <tille at debian.org>
Date: Fri Mar 6 11:25:03 2015 +0100
Record time needed for running bugs_udd per Blend
diff --git a/webtools/update-all-bugs_udd b/webtools/update-all-bugs_udd
index 5846740..53b534f 100755
--- a/webtools/update-all-bugs_udd
+++ b/webtools/update-all-bugs_udd
@@ -1,5 +1,12 @@
#!/bin/sh
+runscript=`basename $0 | sed 's/^update-all-//'`
mkdir -p logs
for blend in `ls webconf/*.conf | grep -v -e "webconf/fun\." -e rest-test | sed 's?webconf/\(.*\)\.conf?\1?'` ; do
- ./bugs_udd.py $blend 2> logs/${blend}_bugs_udd.err > logs/${blend}_bugs_udd.out
+ if [ "$blend" != "debian-edu" ] ; then
+ starttime=`date "+%s"`
+ # time
+ ./${runscript}.py $blend 2> logs/${blend}_${runscript}.err > logs/${blend}_${runscript}.out
+ endtime=`date "+%s"`
+ echo "Rendering bugs from UDD for Blend '$blend' took $((endtime-starttime)) seconds" >> logs/${blend}_${runscript}.out
+ fi
done
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list