From: Andrew Gerrand Date: Fri, 18 Feb 2011 20:37:24 +0000 (+1100) Subject: misc/dashboard: tweak build fail notification email X-Git-Tag: weekly.2011-02-24~57 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=79ba1ce076561fb8f75d2f55f9c4cb810feee996;p=gostls13.git misc/dashboard: tweak build fail notification email R=rsc CC=golang-dev https://golang.org/cl/4170063 --- diff --git a/misc/dashboard/godashboard/const.py b/misc/dashboard/godashboard/const.py index 26e1e4873b..b0110c6354 100644 --- a/misc/dashboard/godashboard/const.py +++ b/misc/dashboard/godashboard/const.py @@ -8,5 +8,6 @@ mail_submit_to = "adg@golang.org" mail_submit_subject = "New Project Submitted" mail_fail_to = "golang-dev@googlegroups.com" +mail_fail_reply_to = "golang-dev@googlegroups.com" mail_fail_subject = "%s broken by %s" diff --git a/misc/dashboard/godashboard/gobuild.py b/misc/dashboard/godashboard/gobuild.py index 4cf04093a6..08d70ec645 100644 --- a/misc/dashboard/godashboard/gobuild.py +++ b/misc/dashboard/godashboard/gobuild.py @@ -351,13 +351,14 @@ class Build(webapp.RequestHandler): path = os.path.join(os.path.dirname(__file__), 'fail-notify.txt') body = template.render(path, { "builder": builder, - "node": node, + "node": node[:12], "user": user, "desc": desc, "loghash": loghash }) mail.send_mail( sender=const.mail_from, + reply_to=const.mail_fail_reply_to, to=const.mail_fail_to, subject=subject, body=body