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

Unified Diff: scripts/tools/buildbot_tool_templates/master_source_cfg.py

Issue 761253003: Add a new buildbot-tool generator for master configs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: add buildbot-tool, turn files into actual templates Created 6 years 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
Index: scripts/tools/buildbot_tool_templates/master_source_cfg.py
diff --git a/masters/master.client.mojo/master_source_cfg.py b/scripts/tools/buildbot_tool_templates/master_source_cfg.py
similarity index 75%
copy from masters/master.client.mojo/master_source_cfg.py
copy to scripts/tools/buildbot_tool_templates/master_source_cfg.py
index 7887715652bdc99df877fbdeadb9d78883f0aa6a..324e2294caad03df6968b67a23d1842444ac74b5 100644
--- a/masters/master.client.mojo/master_source_cfg.py
+++ b/scripts/tools/buildbot_tool_templates/master_source_cfg.py
@@ -2,11 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# This file is used by scripts/tools/buildbot-tool to generate master configs.
agable 2014/12/09 21:13:24 I'm not convinced of the need for a master_source_
Dirk Pranke 2014/12/09 21:32:01 OK. I tend to agree, but I wasn't sure if it would
+
from master import gitiles_poller
def Update(config, active_master, c):
master_poller = gitiles_poller.GitilesPoller(
- 'https://chromium.googlesource.com/external/mojo')
+ '%(git_repo_url)s')
c['change_source'].append(master_poller)

Powered by Google App Engine
This is Rietveld 408576698