Bug 1043880 - Update Treeherder URL to shorter form now bug 1063411 is fixed
authorEd Morley <emorley@mozilla.com>
Mon, 15 Dec 2014 01:27:27 +0000 (2014-12-15)
changeset 4006 713f1073fb8c789593c0fe4ba8023c098b44103c
parent 4004 5785005084918c7222a493abfd01defc3b50dcdf
child 4007 8e7940ff9558d84909844d758a14ad3c08c24183
push id3313
push useremorley@mozilla.com
push dateMon, 15 Dec 2014 01:27:50 +0000 (2014-12-15)
bugs1043880, 1063411
Bug 1043880 - Update Treeherder URL to shorter form now bug 1063411 is fixed
bin/try_mailer.py
status/generators.py
--- a/bin/try_mailer.py
+++ b/bin/try_mailer.py
@@ -120,17 +120,17 @@ Your %(tree)s Server %(task)s (%(revisio
             summary = summary.replace('<br>', '')
             summary = re.sub("\n\n*", "\n", summary)
             text += '%s\n\n' % summary
 
     if log_url:
         log_url = log_url.replace('://stage', '://ftp')
         text += "The full log for this %(task)s run is available at <a href=\"%(log_url)s\">%(log_url)s</a>.\n\n" % locals()
 
-    text += "For an overview of all results see <a href=\"https://treeherder.mozilla.org/ui/#/jobs?repo=%(tree)s&revision=%(revision)s\">Treeherder</a>.\n" % locals()
+    text += "For an overview of all results see <a href=\"https://treeherder.mozilla.org/#/jobs?repo=%(tree)s&revision=%(revision)s\">Treeherder</a>.\n" % locals()
     text += "Alternatively, view them on <a href=\"https://tbpl.mozilla.org/?tree=%(tbpl_tree)s&rev=%(revision)s\">TBPL</a> (soon to be deprecated).\n" % locals()
     text = re.sub("\n", "<br>\n", text)
 
     headers = {"In-Reply-To": "<%(branch)s-%(revision)s>" % locals(),
                "References": "<%(branch)s-%(revision)s>" % locals(),
                }
 
     return dict(
--- a/status/generators.py
+++ b/status/generators.py
@@ -12,17 +12,17 @@ def buildTryChangeMessage(change, packag
     msgdict['subject'] = "%(tree)s submission %(revision)s" % locals()
     msgdict['headers'] = {"In-Reply-To": "<%(branch)s-%(revision)s>" % locals(),
                           "References": "<%(branch)s-%(revision)s>" % locals(),
                           }
     msgdict["body"] = """\
 Thank you for your try submission. It's the best!
 
 Results will be displayed on Treeherder as they come in:
-https://treeherder.mozilla.org/ui/#/jobs?repo=%(tree)s&revision=%(revision)s
+https://treeherder.mozilla.org/#/jobs?repo=%(tree)s&revision=%(revision)s
 
 Alternatively, view them on TBPL (soon to be deprecated):
 https://tbpl.mozilla.org/?tree=%(tbpl_tree)s&rev=%(revision)s
 
 Once completed, builds and logs will be available at:
 %(packageDir)s
 """ % locals()