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

Unified Diff: master/skia_master_scripts/master_revision.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 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 | « master/skia_master_scripts/ios_factory.py ('k') | master/skia_master_scripts/monkeypatches.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: master/skia_master_scripts/master_revision.py
diff --git a/master/skia_master_scripts/master_revision.py b/master/skia_master_scripts/master_revision.py
deleted file mode 100644
index d5642e75558a11624b000559ee7b844ac546fb84..0000000000000000000000000000000000000000
--- a/master/skia_master_scripts/master_revision.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright (c) 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.
-
-
-""" JSON interface which gives the buildbot master's current code revision. """
-
-
-from buildbot.status.web.status_json import JsonResource
-
-import utils
-
-
-class MasterCheckedOutRevisionJsonResource(JsonResource):
- """Revision of the buildbot code on the build master."""
- help = ('Revision of the buildbot code on the build master, which may or may '
- 'not be the revision which is actually running, see also '
- 'MasterRunningRevisionJsonResource.')
- pageTitle = 'Master Revision'
-
- def asDict(self, request):
- return {'master_checkedout_revision': utils.get_current_revision()}
-
-
-class MasterRunningRevisionJsonResource(JsonResource):
- """Revision of the buildbot code which the build master is actually running.
- """
- help = ('Revision of the buildbot code which the build master is actually '
- 'running.')
- pageTitle = 'Master Running Revision'
-
- def __init__(self, running_revision, **kwargs):
- JsonResource.__init__(self, **kwargs)
- self._running_revision = running_revision
-
- def asDict(self, request):
- return {'master_running_revision': self._running_revision}
« no previous file with comments | « master/skia_master_scripts/ios_factory.py ('k') | master/skia_master_scripts/monkeypatches.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698