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

Unified Diff: Tools/GardeningServer/lib/revisions.html

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « Tools/GardeningServer/lib/network-simulator.html ('k') | Tools/GardeningServer/lib/sugar.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/lib/revisions.html
diff --git a/Tools/GardeningServer/lib/revisions.html b/Tools/GardeningServer/lib/revisions.html
deleted file mode 100644
index c813496f5684608029b69df125a172b69e82ebb7..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/lib/revisions.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!--
-Copyright 2014 The Chromium Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
-<link rel="import" href="../lib/net.html">
-<link href="../model/ct-builder-status.html" rel="import">
-
-<script>
- // FIXME: Just fetch the latest_builder_info data instead of the entire
- // alerts structure.
- var BUILD_DATA_URI = 'https://sheriff-o-matic.appspot.com/alerts';
-
- var revisions = revisions || {};
-
- (function() {
- revisions.parseBuildInfo = function(data) {
- var groups = data['latest_builder_info'];
- return new Promise(function(resolve, reject) {
- var model = new CTBuilderStatus();
- for (var group in groups) {
- var modelGroup = new CTBuilderGroup(group);
- for (var build in groups[group]) {
- var modelBuilder = new CTBuilderBot(modelGroup, build,
- groups[group][build]['state'],
- groups[group][build]['lastUpdateTime']);
- var revisions = groups[group][build]['revisions'];
- for (var repository in revisions) {
- modelBuilder.addRepository(
- new CTBuilderRepository(repository, revisions[repository]));
- }
- modelGroup.addBuilder(modelBuilder);
- }
- model.addGroup(modelGroup);
- }
- model.sort();
- resolve(model);
- });
- };
-
- revisions.load = function() {
- return net.json(BUILD_DATA_URI).then(revisions.parseBuildInfo);
- };
-
- })();
-</script>
« no previous file with comments | « Tools/GardeningServer/lib/network-simulator.html ('k') | Tools/GardeningServer/lib/sugar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698