|
|
|
@ -19,6 +19,7 @@
|
|
|
|
|
**[Recipes](#Recipes)**
|
|
|
|
|
* [bot_update:examples/full](#recipes-bot_update_examples_full) (Python3 ✅)
|
|
|
|
|
* [bot_update:tests/do_not_retry_patch_failures_in_cq](#recipes-bot_update_tests_do_not_retry_patch_failures_in_cq) (Python3 ✅)
|
|
|
|
|
* [bot_update:tests/download_topics](#recipes-bot_update_tests_download_topics) (Python3 ✅)
|
|
|
|
|
* [bot_update:tests/ensure_checkout](#recipes-bot_update_tests_ensure_checkout) (Python3 ✅)
|
|
|
|
|
* [depot_tools:examples/full](#recipes-depot_tools_examples_full) (Python3 ✅)
|
|
|
|
|
* [gclient:examples/full](#recipes-gclient_examples_full) (Python3 ✅)
|
|
|
|
@ -59,12 +60,12 @@ Recipe module to ensure a checkout is consistent on a bot.
|
|
|
|
|
|
|
|
|
|
Wrapper for easy calling of bot_update.
|
|
|
|
|
|
|
|
|
|
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#523)(self, bot_update_step):**
|
|
|
|
|
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#528)(self, bot_update_step):**
|
|
|
|
|
|
|
|
|
|
Deapplies a patch, taking care of DEPS and solution revisions properly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#81)(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, \*\*kwargs):**
|
|
|
|
|
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#81)(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, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
|
* gclient_config: The gclient configuration to use when running bot_update.
|
|
|
|
@ -92,8 +93,10 @@ Args:
|
|
|
|
|
change in self.m.buildbucket.build.input.gerrit_changes, because
|
|
|
|
|
bot_update module ONLY supports one change. Users may specify a change
|
|
|
|
|
via tryserver.set_change() and explicitly set this flag False.
|
|
|
|
|
* download_topics: If True, gclient downloads and patches locally from all
|
|
|
|
|
open Gerrit CLs that have the same topic as the tested patch ref.
|
|
|
|
|
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#500)(self, project_name, gclient_config=None):**
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#505)(self, project_name, gclient_config=None):**
|
|
|
|
|
|
|
|
|
|
Returns all property names used for storing the checked-out revision of
|
|
|
|
|
a given project.
|
|
|
|
@ -109,7 +112,7 @@ Returns (list of str): All properties that'll hold the checked-out revision
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#49)(self):**
|
|
|
|
|
|
|
|
|
|
— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#451)(self, bot_update_json, name):**
|
|
|
|
|
— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#456)(self, bot_update_json, name):**
|
|
|
|
|
|
|
|
|
|
Sets a fixed revision for a single dependency using project revision
|
|
|
|
|
properties.
|
|
|
|
@ -1000,6 +1003,13 @@ PYTHON_VERSION_COMPATIBILITY: PY2+3
|
|
|
|
|
PYTHON_VERSION_COMPATIBILITY: PY2+3
|
|
|
|
|
|
|
|
|
|
— **def [RunSteps](/recipes/recipe_modules/bot_update/tests/do_not_retry_patch_failures_in_cq.py#19)(api):**
|
|
|
|
|
### *recipes* / [bot\_update:tests/download\_topics](/recipes/recipe_modules/bot_update/tests/download_topics.py)
|
|
|
|
|
|
|
|
|
|
[DEPS](/recipes/recipe_modules/bot_update/tests/download_topics.py#9): [bot\_update](#recipe_modules-bot_update), [gclient](#recipe_modules-gclient), [recipe\_engine/json][recipe_engine/recipe_modules/json]
|
|
|
|
|
|
|
|
|
|
PYTHON_VERSION_COMPATIBILITY: PY2+3
|
|
|
|
|
|
|
|
|
|
— **def [RunSteps](/recipes/recipe_modules/bot_update/tests/download_topics.py#16)(api):**
|
|
|
|
|
### *recipes* / [bot\_update:tests/ensure\_checkout](/recipes/recipe_modules/bot_update/tests/ensure_checkout.py)
|
|
|
|
|
|
|
|
|
|
[DEPS](/recipes/recipe_modules/bot_update/tests/ensure_checkout.py#9): [bot\_update](#recipe_modules-bot_update), [gclient](#recipe_modules-gclient), [recipe\_engine/json][recipe_engine/recipe_modules/json]
|
|
|
|
|