|
@@ -58,18 +58,18 @@
|
|
|
|
|
|
Recipe module to ensure a checkout is consistent on a bot.
|
|
Recipe module to ensure a checkout is consistent on a bot.
|
|
|
|
|
|
-#### **class [BotUpdateApi](/recipes/recipe_modules/bot_update/api.py#71)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
|
|
|
|
|
+#### **class [BotUpdateApi](/recipes/recipe_modules/bot_update/api.py#74)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
|
|
|
|
|
-— **def [\_\_call\_\_](/recipes/recipe_modules/bot_update/api.py#80)(self, name, cmd, \*\*kwargs):**
|
|
|
|
|
|
+— **def [\_\_call\_\_](/recipes/recipe_modules/bot_update/api.py#83)(self, name, cmd, \*\*kwargs):**
|
|
|
|
|
|
Wrapper for easy calling of bot_update.
|
|
Wrapper for easy calling of bot_update.
|
|
|
|
|
|
-— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#674)(self, bot_update_result):**
|
|
|
|
|
|
+— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#680)(self, bot_update_result):**
|
|
|
|
|
|
Deapplies a patch, taking care of DEPS and solution revisions properly.
|
|
Deapplies a patch, taking care of DEPS and solution revisions properly.
|
|
|
|
|
|
|
|
|
|
-— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#191)(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, with_branch_heads=False, with_tags=False, no_fetch_tags=False, refs=None, clobber=False, root_solution_revision=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, assert_one_gerrit_change=True, patch_refs=None, ignore_input_commit=False, add_blamelists=False, set_output_commit=False, step_test_data=None, enforce_fetch=False, download_topics=False, recipe_revision_overrides=None, step_tags=None, \*\*kwargs):**
|
|
|
|
|
|
+— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#194)(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, with_branch_heads=False, with_tags=False, no_fetch_tags=False, refs=None, clobber=False, root_solution_revision=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, assert_one_gerrit_change=True, patch_refs=None, ignore_input_commit=False, add_blamelists=False, set_output_commit=False, step_test_data=None, enforce_fetch=False, download_topics=False, recipe_revision_overrides=None, step_tags=None, \*\*kwargs):**
|
|
|
|
|
|
Args:
|
|
Args:
|
|
* gclient_config: The gclient configuration to use when running bot_update.
|
|
* gclient_config: The gclient configuration to use when running bot_update.
|
|
@@ -106,7 +106,7 @@ Args:
|
|
author.
|
|
author.
|
|
* step_tags: a dict {tag name: tag value} of tags to add to the step
|
|
* step_tags: a dict {tag name: tag value} of tags to add to the step
|
|
|
|
|
|
-— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#651)(self, project_name, gclient_config=None):**
|
|
|
|
|
|
+— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#657)(self, project_name, gclient_config=None):**
|
|
|
|
|
|
Returns all property names used for storing the checked-out revision of
|
|
Returns all property names used for storing the checked-out revision of
|
|
a given project.
|
|
a given project.
|
|
@@ -120,14 +120,14 @@ Args:
|
|
Returns (list of str): All properties that'll hold the checked-out revision
|
|
Returns (list of str): All properties that'll hold the checked-out revision
|
|
of the given project. An empty list if no such properties exist.
|
|
of the given project. An empty list if no such properties exist.
|
|
|
|
|
|
-  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#99)(self):**
|
|
|
|
|
|
+  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#102)(self):**
|
|
|
|
|
|
-— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#602)(self, bot_update_result, name):**
|
|
|
|
|
|
+— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#608)(self, bot_update_result, name):**
|
|
|
|
|
|
Sets a fixed revision for a single dependency using project revision
|
|
Sets a fixed revision for a single dependency using project revision
|
|
properties.
|
|
properties.
|
|
|
|
|
|
-— **def [step\_name](/recipes/recipe_modules/bot_update/api.py#691)(self, patch, suffix):**
|
|
|
|
|
|
+— **def [step\_name](/recipes/recipe_modules/bot_update/api.py#697)(self, patch, suffix):**
|
|
### *recipe_modules* / [depot\_tools](/recipes/recipe_modules/depot_tools)
|
|
### *recipe_modules* / [depot\_tools](/recipes/recipe_modules/depot_tools)
|
|
|
|
|
|
[DEPS](/recipes/recipe_modules/depot_tools/__init__.py#7): [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/runtime][recipe_engine/recipe_modules/runtime]
|
|
[DEPS](/recipes/recipe_modules/depot_tools/__init__.py#7): [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/runtime][recipe_engine/recipe_modules/runtime]
|