|
|
|
@ -48,16 +48,16 @@ Recipe module to ensure a checkout is consistent on a bot.
|
|
|
|
|
|
|
|
|
|
#### **class [BotUpdateApi](/recipes/recipe_modules/bot_update/api.py#10)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
|
|
|
|
|
|
|
|
|
— **def [\_\_call\_\_](/recipes/recipe_modules/bot_update/api.py#31)(self, name, cmd, \*\*kwargs):**
|
|
|
|
|
— **def [\_\_call\_\_](/recipes/recipe_modules/bot_update/api.py#27)(self, name, cmd, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Wrapper for easy calling of bot_update.
|
|
|
|
|
|
|
|
|
|
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#428)(self, bot_update_step):**
|
|
|
|
|
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#423)(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#72)(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, with_branch_heads=False, with_tags=False, refs=None, patch_oauth2=None, oauth2_json=None, use_site_config_creds=None, clobber=False, root_solution_revision=None, rietveld=None, issue=None, patchset=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, disable_syntax_validation=False, manifest_name=None, patch_refs=None, ignore_input_commit=False, \*\*kwargs):**
|
|
|
|
|
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#68)(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, with_branch_heads=False, with_tags=False, refs=None, patch_oauth2=None, oauth2_json=None, use_site_config_creds=None, clobber=False, root_solution_revision=None, rietveld=None, issue=None, patchset=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, disable_syntax_validation=False, manifest_name=None, patch_refs=None, ignore_input_commit=False, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
|
gclient_config: The gclient configuration to use when running bot_update.
|
|
|
|
@ -68,7 +68,7 @@ Args:
|
|
|
|
|
manifest_name: The name of the manifest to upload to LogDog. This must
|
|
|
|
|
be unique for the whole build.
|
|
|
|
|
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#405)(self, project_name, gclient_config=None):**
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#400)(self, project_name, gclient_config=None):**
|
|
|
|
|
|
|
|
|
|
Returns all property names used for storing the checked-out revision of
|
|
|
|
|
a given project.
|
|
|
|
@ -82,9 +82,9 @@ Args:
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
— **def [initialize](/recipes/recipe_modules/bot_update/api.py#26)(self):**
|
|
|
|
|
— **def [initialize](/recipes/recipe_modules/bot_update/api.py#22)(self):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#40)(self):**
|
|
|
|
|
  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#36)(self):**
|
|
|
|
|
### *recipe_modules* / [cipd](/recipes/recipe_modules/cipd)
|
|
|
|
|
|
|
|
|
|
[DEPS](/recipes/recipe_modules/cipd/__init__.py#1): [infra\_paths](#recipe_modules-infra_paths), [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
|
|
|
@ -994,18 +994,18 @@ Move things around in a loop!
|
|
|
|
|
|
|
|
|
|
— **def [RunSteps](/recipes/recipe_modules/windows_sdk/examples/full.py#13)(api):**
|
|
|
|
|
|
|
|
|
|
[recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-buildbucket
|
|
|
|
|
[recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-cipd
|
|
|
|
|
[recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-context
|
|
|
|
|
[recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-file
|
|
|
|
|
[recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-json
|
|
|
|
|
[recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-path
|
|
|
|
|
[recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-platform
|
|
|
|
|
[recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-properties
|
|
|
|
|
[recipe_engine/recipe_modules/python]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-python
|
|
|
|
|
[recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-raw_io
|
|
|
|
|
[recipe_engine/recipe_modules/runtime]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-runtime
|
|
|
|
|
[recipe_engine/recipe_modules/source_manifest]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-source_manifest
|
|
|
|
|
[recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-step
|
|
|
|
|
[recipe_engine/recipe_modules/url]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/README.recipes.md#recipe_modules-url
|
|
|
|
|
[recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/fc3791701f0801ab86e840225a7a566fee806ba0/recipe_engine/recipe_api.py#1012
|
|
|
|
|
[recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-buildbucket
|
|
|
|
|
[recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-cipd
|
|
|
|
|
[recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-context
|
|
|
|
|
[recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-file
|
|
|
|
|
[recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-json
|
|
|
|
|
[recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-path
|
|
|
|
|
[recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-platform
|
|
|
|
|
[recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-properties
|
|
|
|
|
[recipe_engine/recipe_modules/python]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-python
|
|
|
|
|
[recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-raw_io
|
|
|
|
|
[recipe_engine/recipe_modules/runtime]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-runtime
|
|
|
|
|
[recipe_engine/recipe_modules/source_manifest]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-source_manifest
|
|
|
|
|
[recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-step
|
|
|
|
|
[recipe_engine/recipe_modules/url]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/README.recipes.md#recipe_modules-url
|
|
|
|
|
[recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/ed19633e4183c8304db2a9bfd8646819c68ba5ba/recipe_engine/recipe_api.py#1012
|
|
|
|
|