summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-12-24 01:56:22 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-12-24 01:56:22 +0000
commit1a3e27b0eb96a7fed149c46873e3e74abc0d8b11 (patch)
tree199d194352b8f1208926411245dcaacbd807ecf0
parent- Add a patch to prevent segfault in the editor (diff)
Copy the duds file to a directory where the web server can find it. This
makes it possible to correctly analyze why packages were not built for a specific run. Add a beginning and ending email notification to help coordinate between multiple portmgrs doing runs.
Notes
Notes: svn path=/head/; revision=204424
-rwxr-xr-xTools/portbuild/scripts/dopackages7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/dopackages b/Tools/portbuild/scripts/dopackages
index f6f152ec4d3a..21a1f1a4904e 100755
--- a/Tools/portbuild/scripts/dopackages
+++ b/Tools/portbuild/scripts/dopackages
@@ -253,6 +253,8 @@ fi
branch=$1
date=$2
+echo | mail -s "$(basename $0) started for ${arch}-${branch} ${date} at $(date)" ${mailto}
+
if [ "x$branch" != x5 -a "x$branch" != x5-exp -a "x$branch" != x6 -a "x$branch" != x6-exp -a "x$branch" != "x6-exp2" -a "x$branch" != x7 -a "x$branch" != x7-exp -a "x$branch" != x8 ]; then
usage
fi
@@ -382,6 +384,8 @@ if [ "$skipstart" = 0 ]; then
echo "error logs in ${newerrors}"
cp -p ${pb}/${arch}/${branch}/cvsdone ${newerrors}/cvsdone
cp -p ${pb}/${arch}/${branch}/cvsdone ${newlogs}/cvsdone
+ cp -p ${pb}/${arch}/${branch}/duds ${newerrors}/duds
+ cp -p ${pb}/${arch}/${branch}/duds ${newlogs}/duds
cp -p ${pb}/${arch}/${branch}/ports/${INDEXFILE} ${newerrors}/INDEX
cp -p ${pb}/${arch}/${branch}/ports/${INDEXFILE} ${newlogs}/INDEX
@@ -617,3 +621,6 @@ echo "================================================"
echo "all done at $(date)"
echo "entire process took $(date -u -j -r $(($endtime - $starttime)) | awk '{print $4}')"
echo "================================================"
+
+sleep 1
+echo | mail -s "$(basename $0) ended for ${arch}-${branch} ${date} at $(date)" ${mailto}