Removed build status tracking, refreshed front page.
BUG= R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2106004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4613 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -15,7 +15,6 @@ import math
|
||||
from google.appengine.ext.webapp import template
|
||||
import webapp2
|
||||
|
||||
import load_build_status
|
||||
import load_coverage
|
||||
|
||||
|
||||
@@ -26,23 +25,6 @@ class ShowDashboard(webapp2.RequestHandler):
|
||||
in the App Engine database using the AddCoverageData handler.
|
||||
"""
|
||||
def get(self):
|
||||
build_status_loader = load_build_status.BuildStatusLoader()
|
||||
|
||||
# Split the build status data in two rows to fit them on the page.
|
||||
# pylint: disable=W0612
|
||||
build_status_data = build_status_loader.load_build_status_data()
|
||||
split_point = int(math.ceil(len(build_status_data) / 2.0))
|
||||
build_status_data_row_1 = build_status_data[:split_point]
|
||||
build_status_data_row_2 = build_status_data[split_point:]
|
||||
|
||||
last_updated_at = build_status_loader.load_last_modified_at()
|
||||
if last_updated_at is None:
|
||||
self._show_error_page("No data has yet been uploaded to the dashboard.")
|
||||
return
|
||||
|
||||
last_updated_at = last_updated_at.strftime("%Y-%m-%d %H:%M")
|
||||
lkgr = build_status_loader.compute_lkgr()
|
||||
|
||||
coverage_loader = load_coverage.CoverageDataLoader()
|
||||
small_medium_coverage_json_data = (
|
||||
coverage_loader.load_coverage_json_data('small_medium_tests'))
|
||||
|
||||
Reference in New Issue
Block a user