@ -43,22 +43,20 @@ Recipe module to ensure a checkout is consistent on a bot.
#### **class [BotUpdateApi ](/recipes/recipe_modules/bot_update/api.py#11 )([RecipeApi][recipe_engine/wkt/RecipeApi]):**
— **def [\_\_call\_\_ ](/recipes/recipe_modules/bot_update/api.py#3 5 )(self, name, cmd, \*\*kwargs):**
— **def [\_\_call\_\_ ](/recipes/recipe_modules/bot_update/api.py#3 1 )(self, name, cmd, \*\*kwargs):**
Wrapper for easy calling of bot_update.
— **def [\_\_init\_\_ ](/recipes/recipe_modules/bot_update/api.py#13 )(self, issue, patch_issue, patchset, patch_set, patch_project, repository, patch_repository_url, gerrit_ref, patch_ref, patch_gerrit_url, rietveld, revision, parent_got_revision, deps_revision_overrides, fail_patch, \*args, \*\*kwargs):**
— **def [apply\_gerrit\_ref ](/recipes/recipe_modules/bot_update/api.py# 53 )(self, root, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, \*\*kwargs):**
— **def [apply\_gerrit\_ref ](/recipes/recipe_modules/bot_update/api.py# 49 )(self, root, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, \*\*kwargs):**
— **def [deapply\_patch ](/recipes/recipe_modules/bot_update/api.py#4 38 )(self, bot_update_step):**
— **def [deapply\_patch ](/recipes/recipe_modules/bot_update/api.py#4 27 )(self, bot_update_step):**
Deapplies a patch, taking care of DEPS and solution revisions properly.
— **def [enable\_destination\_branch\_check ](/recipes/recipe_modules/bot_update/api.py#333 )(self):**
— **def [ensure\_checkout ](/recipes/recipe_modules/bot_update/api.py#73 )(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, no_shallow=False, with_branch_heads=False, with_tags=False, refs=None, patch_oauth2=False, oauth2_json=False, use_site_config_creds=True, 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, \*\*kwargs):**
— **def [ensure\_checkout ](/recipes/recipe_modules/bot_update/api.py#69 )(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, no_shallow=False, with_branch_heads=False, with_tags=False, refs=None, patch_oauth2=False, oauth2_json=False, use_site_config_creds=True, 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, \*\*kwargs):**
Args:
use_site_config_creds: If the oauth2 credentials are in the buildbot
@ -75,7 +73,7 @@ Args:
Needed as migration paths for recipes dealing with older revisions,
such as bisect.
— **def [get\_project\_revision\_properties ](/recipes/recipe_modules/bot_update/api.py#4 15 )(self, project_name, gclient_config=None):**
— **def [get\_project\_revision\_properties ](/recipes/recipe_modules/bot_update/api.py#4 04 )(self, project_name, gclient_config=None):**
Returns all property names used for storing the checked-out revision of
a given project.
@ -89,7 +87,7 @@ 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.
  ** @property **< br > — **def [last\_returned\_properties ](/recipes/recipe_modules/bot_update/api.py#4 7 )(self):**
  ** @property **< br > — **def [last\_returned\_properties ](/recipes/recipe_modules/bot_update/api.py#4 3 )(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]