]> Cypherpunks repositories - gostls13.git/commitdiff
misc/dashboard: tweak build fail notification email
authorAndrew Gerrand <adg@golang.org>
Fri, 18 Feb 2011 20:37:24 +0000 (07:37 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 18 Feb 2011 20:37:24 +0000 (07:37 +1100)
R=rsc
CC=golang-dev
https://golang.org/cl/4170063

misc/dashboard/godashboard/const.py
misc/dashboard/godashboard/gobuild.py

index 26e1e4873b68b4da19ca6177ae9932b66ed07974..b0110c6354de5bd08206f0fb4e81d720c511e6a6 100644 (file)
@@ -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"
 
index 4cf04093a64cb9439a393d7e62c860d3c394ae91..08d70ec645e11ca19318a44197a5006efb3932e1 100644 (file)
@@ -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