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

Unified Diff: scripts/slave/recipe_modules/bot_update/api.py

Issue 1022993003: Add manifest output to the bot_update api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 9 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 | « no previous file | scripts/slave/recipe_modules/bot_update/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/bot_update/api.py
diff --git a/scripts/slave/recipe_modules/bot_update/api.py b/scripts/slave/recipe_modules/bot_update/api.py
index 1e547ed960d8dc4c7d1686e9f442be2b6a895600..639a800c28a377fd32e65046decece3165e2c70b 100644
--- a/scripts/slave/recipe_modules/bot_update/api.py
+++ b/scripts/slave/recipe_modules/bot_update/api.py
@@ -70,7 +70,8 @@ class BotUpdateApi(recipe_api.RecipeApi):
patch=True, update_presentation=True,
force=False, patch_root=None, no_shallow=False,
with_branch_heads=False, refs=None,
- patch_project_roots=None, patch_oauth2=False, **kwargs):
+ patch_project_roots=None, patch_oauth2=False,
+ output_manifest=False, **kwargs):
refs = refs or []
# We can re-use the gclient spec from the gclient module, since all the
# data bot_update needs is already configured into the gclient spec.
@@ -173,6 +174,8 @@ class BotUpdateApi(recipe_api.RecipeApi):
cmd.append('--force')
if no_shallow:
cmd.append('--no_shallow')
+ if output_manifest:
+ cmd.append('--output_manifest')
if with_branch_heads:
cmd.append('--with_branch_heads')
@@ -181,7 +184,8 @@ class BotUpdateApi(recipe_api.RecipeApi):
first_sln = cfg.solutions[0].name
step_test_data = lambda: self.test_api.output_json(
master, builder, slave, root, first_sln, rev_map, git_mode, force,
- self.m.properties.get('fail_patch', False))
+ self.m.properties.get('fail_patch', False),
+ output_manifest=output_manifest)
# Add suffixes to the step name, if specified.
name = 'bot_update'
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/bot_update/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698