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

Side by Side Diff: app.py

Issue 14113044: Removed refereces from waterfall to local buildbot interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-build
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from __future__ import with_statement 5 from __future__ import with_statement
6 6
7 import datetime 7 import datetime
8 import json 8 import json
9 import logging 9 import logging
10 import os 10 import os
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 "horizontal_one_box_per_builder'", 574 "horizontal_one_box_per_builder'",
575 "'https://chromium-build.appspot.com/p/" 575 "'https://chromium-build.appspot.com/p/"
576 "chromium.webkit/horizontal_one_box_per_builder" 576 "chromium.webkit/horizontal_one_box_per_builder"
577 "?chromiumconsole'", content) 577 "?chromiumconsole'", content)
578 578
579 # Convert the chromium-status reference to reuse the local instance. 579 # Convert the chromium-status reference to reuse the local instance.
580 content = re.sub(r"http://chromium-status\.appspot\.com/current", 580 content = re.sub(r"http://chromium-status\.appspot\.com/current",
581 "https://chromium-build.appspot.com/p/" 581 "https://chromium-build.appspot.com/p/"
582 "chromium-status/current", content) 582 "chromium-status/current", content)
583 583
584 # TODO(hinoka): Enable these when the app is done.
584 # Convert direct build.chromium.org links to local links. 585 # Convert direct build.chromium.org links to local links.
585 content = re.sub("http://build.chromium.org/p/", "/buildbot/", content) 586 # content = re.sub("http://build.chromium.org/p/", "/buildbot/", content)
586 content = re.sub(r"/buildbot/(.*)/buildstatus\?builder=(.*)&number=(\d+)", 587 # content = re.sub(r"/buildbot/(.*)/buildstatus\?builder=(.*)&number=(\d+)",
587 r"/buildbot/\1/builders/\2/builds/\3", content) 588 # r"/buildbot/\1/builders/\2/builds/\3", content)
588 589
589 # Disable the personalized for box for now. 590 # Disable the personalized for box for now.
590 content = re.sub(r"<input id='namebox", r"<!-- <input id='namebox", content) 591 content = re.sub(r"<input id='namebox", r"<!-- <input id='namebox", content)
591 content = re.sub(r"reload_page\(\)'/>", r"reload_page()'/> -->", content) 592 content = re.sub(r"reload_page\(\)'/>", r"reload_page()'/> -->", content)
592 593
593 # Replace lkgrPath with a URL to chromium-build. 594 # Replace lkgrPath with a URL to chromium-build.
594 content = re.sub( 595 content = re.sub(
595 "var lkgrPath = c.status_lkgr", 596 "var lkgrPath = c.status_lkgr",
596 "var lkgrPath = '/p/chromium.lkgr'", 597 "var lkgrPath = '/p/chromium.lkgr'",
597 content) 598 content)
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 'builds/-1?as_text=1'), 1210 'builds/-1?as_text=1'),
1210 'localpath': 1211 'localpath':
1211 'chromium.lkgr/json/builders/Linux%20x64/builds/-1/as_text=1.json', 1212 'chromium.lkgr/json/builders/Linux%20x64/builds/-1/as_text=1.json',
1212 'maxage': 2*60, # 2 mins 1213 'maxage': 2*60, # 2 mins
1213 }, 1214 },
1214 1215
1215 # # Trigger background process update. 1216 # # Trigger background process update.
1216 # { 1217 # {
1217 # 'remoteurl': 'http://chromium-build.appspot.com/backend/update' 1218 # 'remoteurl': 'http://chromium-build.appspot.com/backend/update'
1218 ] 1219 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698