|
|
|
@ -57,12 +57,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#532)(self, bot_update_step):**
|
|
|
|
|
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#534)(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#79)(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, assert_one_gerrit_change=True, disable_syntax_validation=False, 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, 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, assert_one_gerrit_change=True, disable_syntax_validation=False, patch_refs=None, ignore_input_commit=False, add_blamelists=False, set_output_commit=False, step_test_data=None, enforce_fetch=False, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
|
* gclient_config: The gclient configuration to use when running bot_update.
|
|
|
|
@ -94,7 +94,7 @@ Args:
|
|
|
|
|
bot_update module ONLY supports one change. Users may specify a change
|
|
|
|
|
via tryserver.set_change() and explicitly set this flag False.
|
|
|
|
|
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#509)(self, project_name, gclient_config=None):**
|
|
|
|
|
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#511)(self, project_name, gclient_config=None):**
|
|
|
|
|
|
|
|
|
|
Returns all property names used for storing the checked-out revision of
|
|
|
|
|
a given project.
|
|
|
|
@ -108,9 +108,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.
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#47)(self):**
|
|
|
|
|
  **@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#460)(self, bot_update_json, name):**
|
|
|
|
|
— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#462)(self, bot_update_json, name):**
|
|
|
|
|
|
|
|
|
|
Sets a fixed revision for a single dependency using project revision
|
|
|
|
|
properties.
|
|
|
|
|