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

Side by Side Diff: Tools/GardeningServer/model/ct-builder-revisions.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a basic test Created 6 years, 3 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
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel='import' href='ct-commit.html'> 7 <link rel='import' href='ct-commit.html'>
8 <link rel='import' href='ct-repositories.html'>
8 9
9 <script> 10 <script>
10 11
11 // A simple map of builder to latest processed revision. 12 // A simple map of builder to latest processed revision.
12 // FIXME: Stop special casing blink. 13 // FIXME: Stop special casing blink.
13 function CTBuilderRevisions(builderData) { 14 function CTBuilderRevisions(builderData) {
15 var repositories = new CTRepositories();
14 Object.keys(builderData, function(builder, builderInfo) { 16 Object.keys(builderData, function(builder, builderInfo) {
15 this[builder] = CTCommit.createIncomplete('http://src.chromium.org/viewvc/bl ink?rev={revision}', 17 this[builder] = {
16 parseInt(builderInfo.revisions['blink'], 10), 'blink'); 18 "lastUpdateTime": builderInfo.lastUpdateTime,
19 "state": builderInfo.state,
20 "revisions": { }
21 }
22 Object.keys(builderInfo.revisions, function(repository, revision) {
23 this[builder].revisions[repository] = CTCommit.createIncomplete(repositori es.repositories[repository].repositoryUrl,
24 parseInt(builderInfo.revisions[repository], 10), repository);
25 }.bind(this));
17 }.bind(this)); 26 }.bind(this));
18 } 27 }
19 28
20 </script> 29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698