[ooo-build-commit] .: bin/tinbuild
Thorsten Behrens
thorsten at kemper.freedesktop.org
Mon Feb 1 12:32:19 PST 2010
bin/tinbuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 5a19a3cbbc11e8928b246f547c6551f8d6897c63
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Mon Feb 1 21:28:36 2010 +0100
Send nagmail to all committers since last known-good
* bin/tinbuild: don't single out last committer when the build
breaks, but mail everybody since last commit that succeeded
diff --git a/bin/tinbuild b/bin/tinbuild
index 73b9ba1..2f18079 100755
--- a/bin/tinbuild
+++ b/bin/tinbuild
@@ -32,7 +32,11 @@ reportError ()
case "$error_kind" in
owner) to_mail="$OWNER"
message="box broken" ;;
- *) to_mail=`git log '--pretty=format:%ce' -n1`
+ *) if test -z "$prev_head" ; then
+ to_mail=`git log '--pretty=format:%ce' -n1`
+ else
+ to_mail=`git log '--pretty=format:%ce' ${prev_head}..HEAD`
+ fi
message="last commit: $commit" ;;
esac
fi
@@ -92,6 +96,7 @@ test $HTML_OUTPUT -eq 1 && export BUILD_HTML_OUTPUT=true
# main
good_head=""
+prev_head=""
while true; do
err_msg=""
More information about the ooo-build-commit
mailing list