|
|
|
@ -58,12 +58,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#505)(self, bot_update_step):**
|
|
|
|
|
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#513)(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#68)(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, 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, set_output_commit=False, step_test_data=None, \*\*kwargs):**
|
|
|
|
|
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#76)(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, 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, set_output_commit=False, step_test_data=None, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
|
gclient_config: The gclient configuration to use when running bot_update.
|
|
|
|
@ -89,7 +89,7 @@ Args:
|
|
|
|
|
step_test_data: a null function that returns test bot_update.py output.
|
|
|
|
|
Use test_api.output_json to generate test data.
|
|
|
|
|
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#482)(self, project_name, gclient_config=None):**
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#490)(self, project_name, gclient_config=None):**
|
|
|
|
|
|
|
|
|
|
Returns all property names used for storing the checked-out revision of
|
|
|
|
|
a given project.
|
|
|
|
@ -105,9 +105,9 @@ Returns (list of str): All properties that'll hold the checked-out revision
|
|
|
|
|
|
|
|
|
|
— **def [initialize](/recipes/recipe_modules/bot_update/api.py#22)(self):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#36)(self):**
|
|
|
|
|
  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#44)(self):**
|
|
|
|
|
|
|
|
|
|
— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#432)(self, bot_update_json, name):**
|
|
|
|
|
— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#440)(self, bot_update_json, name):**
|
|
|
|
|
|
|
|
|
|
Set a fixed revision for a single dependency using project revision
|
|
|
|
|
properties.
|
|
|
|
|