@ -63,7 +63,7 @@ Wrapper for easy calling of bot_update.
Deapplies a patch, taking care of DEPS and solution revisions properly.
Deapplies a patch, taking care of DEPS and solution revisions properly.
— **def [ensure\_checkout ](/recipes/recipe_modules/bot_update/api.py#71 )(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, accept_buildbucket_input =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#71 )(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, accept_input_gerrit_changes =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:
Args:
* gclient_config: The gclient configuration to use when running bot_update.
* gclient_config: The gclient configuration to use when running bot_update.
@ -90,11 +90,11 @@ Args:
Use test_api.output_json to generate test data.
Use test_api.output_json to generate test data.
* enforce_fetch: Enforce a new fetch to refresh the git cache, even if the
* enforce_fetch: Enforce a new fetch to refresh the git cache, even if the
solution revision passed in already exists in the current git cache.
solution revision passed in already exists in the current git cache.
* accept_buildbucket_input: should get the patchset from
* accept_input_gerrit_changes: if True, get the patchset from
buildbucket.build.input.gerrit_changes. If True, the input size is
self.m.buildbucket.build.input.gerrit_changes, with an assertion that
asserted to be one, because bot_update module ONLY supports one CL.
the size of self.m.buildbucket.build.input.gerrit_changes is one,
Users may specify a CL via tryserver.set_change() and explicitly set
because bot_update module ONLY supports one change. Users may specify a
this flag False.
change via tryserver.set_change() and explicitly set this flag False.
— **def [get\_project\_revision\_properties ](/recipes/recipe_modules/bot_update/api.py#506 )(self, project_name, gclient_config=None):**
— **def [get\_project\_revision\_properties ](/recipes/recipe_modules/bot_update/api.py#506 )(self, project_name, gclient_config=None):**
@ -869,7 +869,7 @@ Returns true iff we have a change to check out.
Set the gerrit change for this module.
Set the gerrit change for this module.
Args:
Args:
* cl: a GerritChange object .
* change: a self.m.buildbucket.common_pb2.GerritChange .
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#196 )(self):**
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#196 )(self):**