Commits

Andrew Gerrand  committed a353ee1 Draft

misc/dashboard: tweak build fail notification email

R=rsc
CC=golang-dev
http://codereview.appspot.com/4170063

Committer: Andrew Gerrand <adg@golang.org>

  • Participants
  • Parent commits 3ccbde9

Comments (0)

Files changed (2)

File misc/dashboard/godashboard/const.py

 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"
 

File misc/dashboard/godashboard/gobuild.py

             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