Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3128)

Unified Diff: app.py

Issue 13892003: Added buildbot appengine frontend for chromium-build app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-build
Patch Set: Review fixes Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | app.yaml » ('j') | templates/step.html » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app.py
diff --git a/app.py b/app.py
index 9b1160239078e7998c9443b72e1a89aac836b737..b2878eff15668c813a3de8b269cc8803fe315bef 100644
--- a/app.py
+++ b/app.py
@@ -581,6 +581,11 @@ def console_handler(unquoted_localpath, remoteurl, page_data=None):
"https://chromium-build.appspot.com/p/"
"chromium-status/current", content)
+ # Convert direct build.chromium.org links to local links.
+ content = re.sub("http://build.chromium.org/p/", "/buildbot/", content)
+ content = re.sub(r"/buildbot/(.*)/buildstatus\?builder=(.*)&number=(\d+)",
+ r"/buildbot/\1/builders/\2/builds/\3", content)
+
# Disable the personalized for box for now.
content = re.sub(r"<input id='namebox", r"<!-- <input id='namebox", content)
content = re.sub(r"reload_page\(\)'/>", r"reload_page()'/> -->", content)
« no previous file with comments | « no previous file | app.yaml » ('j') | templates/step.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698