@ -26,6 +26,7 @@
* [depot_tools:examples/full ](#recipes-depot_tools_examples_full )
* [depot_tools:examples/full ](#recipes-depot_tools_examples_full )
* [fetch_end_to_end_test ](#recipes-fetch_end_to_end_test )
* [fetch_end_to_end_test ](#recipes-fetch_end_to_end_test )
* [gclient:examples/full ](#recipes-gclient_examples_full )
* [gclient:examples/full ](#recipes-gclient_examples_full )
* [gclient:tests/diff_deps ](#recipes-gclient_tests_diff_deps )
* [gclient:tests/patch_project ](#recipes-gclient_tests_patch_project )
* [gclient:tests/patch_project ](#recipes-gclient_tests_patch_project )
* [gclient:tests/sync_failure ](#recipes-gclient_tests_sync_failure )
* [gclient:tests/sync_failure ](#recipes-gclient_tests_sync_failure )
* [gerrit:examples/full ](#recipes-gerrit_examples_full )
* [gerrit:examples/full ](#recipes-gerrit_examples_full )
@ -259,28 +260,32 @@ Returns (Path): The "depot_tools" root directory.
  ** @property **< br > — **def [upload\_to\_google\_storage\_path ](/recipes/recipe_modules/depot_tools/api.py#17 )(self):**
  ** @property **< br > — **def [upload\_to\_google\_storage\_path ](/recipes/recipe_modules/depot_tools/api.py#17 )(self):**
### *recipe_modules* / [gclient ](/recipes/recipe_modules/gclient )
### *recipe_modules* / [gclient ](/recipes/recipe_modules/gclient )
[DEPS ](/recipes/recipe_modules/gclient/__init__.py#1 ): [git iles](#recipe_modules-gitiles ), [tryserver ](#recipe_modules-tryserver ), [recipe\_engine/context][recipe_engine/recipe_modules/context], [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/step][recipe_engine/recipe_modules/step]
[DEPS ](/recipes/recipe_modules/gclient/__init__.py#1 ): [git ](#recipe_modules-git ), [git iles](#recipe_modules-gitiles ), [tryserver ](#recipe_modules-tryserver ), [recipe\_engine/context][recipe_engine/recipe_modules/context], [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]
#### **class [GclientApi ](/recipes/recipe_modules/gclient/api.py#6 5 )([RecipeApi][recipe_engine/wkt/RecipeApi]):**
#### **class [GclientApi ](/recipes/recipe_modules/gclient/api.py#6 8 )([RecipeApi][recipe_engine/wkt/RecipeApi]):**
— **def [\_\_call\_\_ ](/recipes/recipe_modules/gclient/api.py#75 )(self, name, cmd, infra_step=True, \*\*kwargs):**
  ** @property **< br > — **def [DepsDiffException ](/recipes/recipe_modules/gclient/api.py#426 )(self):**
— **def [\_\_call\_\_ ](/recipes/recipe_modules/gclient/api.py#78 )(self, name, cmd, infra_step=True, \*\*kwargs):**
Wrapper for easy calling of gclient steps.
Wrapper for easy calling of gclient steps.
— **def [break\_locks ](/recipes/recipe_modules/gclient/api.py#27 1 )(self):**
— **def [break\_locks ](/recipes/recipe_modules/gclient/api.py#27 4 )(self):**
Remove all index.lock files. If a previous run of git crashed, bot was
Remove all index.lock files. If a previous run of git crashed, bot was
reset, etc... we might end up with leftover index.lock files.
reset, etc... we might end up with leftover index.lock files.
— **def [checkout ](/recipes/recipe_modules/gclient/api.py#23 1 )(self, gclient_config=None, revert=RevertOnTryserver, inject_parent_got_revision=True, extra_sync_flags=None, \*\*kwargs):**
— **def [checkout ](/recipes/recipe_modules/gclient/api.py#23 4 )(self, gclient_config=None, revert=RevertOnTryserver, inject_parent_got_revision=True, extra_sync_flags=None, \*\*kwargs):**
Return a step generator function for gclient checkouts.
Return a step generator function for gclient checkouts.
  ** @staticmethod **< br > — **def [config\_to\_pythonish ](/recipes/recipe_modules/gclient/api.py#120 )(cfg):**
  ** @staticmethod **< br > — **def [config\_to\_pythonish ](/recipes/recipe_modules/gclient/api.py#123 )(cfg):**
— **def [diff\_deps ](/recipes/recipe_modules/gclient/api.py#365 )(self, cwd):**
— **def [get\_config\_defaults ](/recipes/recipe_modules/gclient/api.py#114 )(self):**
— **def [get\_config\_defaults ](/recipes/recipe_modules/gclient/api.py#11 7 )(self):**
— **def [get\_gerrit\_patch\_root ](/recipes/recipe_modules/gclient/api.py#29 3 )(self, gclient_config=None):**
— **def [get\_gerrit\_patch\_root ](/recipes/recipe_modules/gclient/api.py#29 6 )(self, gclient_config=None):**
Returns local path to the repo where gerrit patch will be applied.
Returns local path to the repo where gerrit patch will be applied.
@ -293,7 +298,7 @@ Instead, properly map a repository to a local path using repo_path_map.
TODO(nodir): remove this. Update all recipe tests to specify a git_repo
TODO(nodir): remove this. Update all recipe tests to specify a git_repo
matching the recipe.
matching the recipe.
— **def [get\_repo\_path ](/recipes/recipe_modules/gclient/api.py#32 0 )(self, repo_url, gclient_config=None):**
— **def [get\_repo\_path ](/recipes/recipe_modules/gclient/api.py#32 3 )(self, repo_url, gclient_config=None):**
Returns local path to the repo checkout given its url.
Returns local path to the repo checkout given its url.
@ -301,7 +306,7 @@ Consults cfg.repo_path_map and fallbacks to urls in configured solutions.
Returns None if not found.
Returns None if not found.
  ** @staticmethod **< br > — **def [got\_revision\_reverse\_mapping ](/recipes/recipe_modules/gclient/api.py#12 5 )(cfg):**
  ** @staticmethod **< br > — **def [got\_revision\_reverse\_mapping ](/recipes/recipe_modules/gclient/api.py#12 8 )(cfg):**
Returns the merged got_revision_reverse_mapping.
Returns the merged got_revision_reverse_mapping.
@ -309,7 +314,7 @@ Returns (dict): A mapping from property name -> project name. It merges the
values of the deprecated got_revision_mapping and the new
values of the deprecated got_revision_mapping and the new
got_revision_reverse_mapping.
got_revision_reverse_mapping.
— **def [inject\_parent\_got\_revision ](/recipes/recipe_modules/gclient/api.py#20 6 )(self, gclient_config=None, override=False):**
— **def [inject\_parent\_got\_revision ](/recipes/recipe_modules/gclient/api.py#20 9 )(self, gclient_config=None, override=False):**
Match gclient config to build revisions obtained from build_properties.
Match gclient config to build revisions obtained from build_properties.
@ -319,22 +324,22 @@ Args:
override (bool) - If True, will forcibly set revision and custom_vars
override (bool) - If True, will forcibly set revision and custom_vars
even if the config already contains values for them.
even if the config already contains values for them.
— **def [resolve\_revision ](/recipes/recipe_modules/gclient/api.py#14 2 )(self, revision):**
— **def [resolve\_revision ](/recipes/recipe_modules/gclient/api.py#14 5 )(self, revision):**
— **def [runhooks ](/recipes/recipe_modules/gclient/api.py#26 5 )(self, args=None, name='runhooks', \*\*kwargs):**
— **def [runhooks ](/recipes/recipe_modules/gclient/api.py#26 8 )(self, args=None, name='runhooks', \*\*kwargs):**
— **def [set\_patch\_repo\_revision ](/recipes/recipe_modules/gclient/api.py#35 0 )(self, gclient_config=None):**
— **def [set\_patch\_repo\_revision ](/recipes/recipe_modules/gclient/api.py#35 3 )(self, gclient_config=None):**
Updates config revision corresponding to patched project.
Updates config revision corresponding to patched project.
Useful for bot_update only, as this is the only consumer of gclient's config
Useful for bot_update only, as this is the only consumer of gclient's config
revision map. This doesn't overwrite the revision if it was already set.
revision map. This doesn't overwrite the revision if it was already set.
  ** @spec_alias .deleter**< br > — **def [spec\_alias ](/recipes/recipe_modules/gclient/api.py#11 0 )(self):**
  ** @spec_alias .deleter**< br > — **def [spec\_alias ](/recipes/recipe_modules/gclient/api.py#11 3 )(self):**
— **def [sync ](/recipes/recipe_modules/gclient/api.py#1 47 )(self, cfg, extra_sync_flags=None, \*\*kwargs):**
— **def [sync ](/recipes/recipe_modules/gclient/api.py#1 50 )(self, cfg, extra_sync_flags=None, \*\*kwargs):**
  ** @use_mirror .setter**< br > — **def [use\_mirror ](/recipes/recipe_modules/gclient/api.py# 97 )(self, val):**
  ** @use_mirror .setter**< br > — **def [use\_mirror ](/recipes/recipe_modules/gclient/api.py# 100 )(self, val):**
### *recipe_modules* / [gerrit ](/recipes/recipe_modules/gerrit )
### *recipe_modules* / [gerrit ](/recipes/recipe_modules/gerrit )
[DEPS ](/recipes/recipe_modules/gerrit/__init__.py#1 ): [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [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]
[DEPS ](/recipes/recipe_modules/gerrit/__init__.py#1 ): [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [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]
@ -953,6 +958,11 @@ Raises:
[DEPS ](/recipes/recipe_modules/gclient/examples/full.py#5 ): [gclient ](#recipe_modules-gclient ), [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]
[DEPS ](/recipes/recipe_modules/gclient/examples/full.py#5 ): [gclient ](#recipe_modules-gclient ), [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]
— **def [RunSteps ](/recipes/recipe_modules/gclient/examples/full.py#55 )(api):**
— **def [RunSteps ](/recipes/recipe_modules/gclient/examples/full.py#55 )(api):**
### *recipes* / [gclient:tests/diff\_deps ](/recipes/recipe_modules/gclient/tests/diff_deps.py )
[DEPS ](/recipes/recipe_modules/gclient/tests/diff_deps.py#7 ): [gclient ](#recipe_modules-gclient ), [recipe\_engine/assertions][recipe_engine/recipe_modules/assertions], [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [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/raw\_io][recipe_engine/recipe_modules/raw_io]
— **def [RunSteps ](/recipes/recipe_modules/gclient/tests/diff_deps.py#18 )(api):**
### *recipes* / [gclient:tests/patch\_project ](/recipes/recipe_modules/gclient/tests/patch_project.py )
### *recipes* / [gclient:tests/patch\_project ](/recipes/recipe_modules/gclient/tests/patch_project.py )
[DEPS ](/recipes/recipe_modules/gclient/tests/patch_project.py#9 ): [gclient ](#recipe_modules-gclient ), [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties]
[DEPS ](/recipes/recipe_modules/gclient/tests/patch_project.py#9 ): [gclient ](#recipe_modules-gclient ), [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties]
@ -1036,6 +1046,7 @@ Move things around in a loop!
— **def [RunSteps ](/recipes/recipe_modules/windows_sdk/examples/full.py#13 )(api):**
— **def [RunSteps ](/recipes/recipe_modules/windows_sdk/examples/full.py#13 )(api):**
[recipe_engine/recipe_modules/assertions]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/59e7d3f289e8f160db10bbcd311b299805080c4b/README.recipes.md#recipe_modules-assertions
[recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/59e7d3f289e8f160db10bbcd311b299805080c4b/README.recipes.md#recipe_modules-buildbucket
[recipe_engine/recipe_modules/buildbucket]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/59e7d3f289e8f160db10bbcd311b299805080c4b/README.recipes.md#recipe_modules-buildbucket
[recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/59e7d3f289e8f160db10bbcd311b299805080c4b/README.recipes.md#recipe_modules-cipd
[recipe_engine/recipe_modules/cipd]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/59e7d3f289e8f160db10bbcd311b299805080c4b/README.recipes.md#recipe_modules-cipd
[recipe_engine/recipe_modules/commit_position]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/59e7d3f289e8f160db10bbcd311b299805080c4b/README.recipes.md#recipe_modules-commit_position
[recipe_engine/recipe_modules/commit_position]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/59e7d3f289e8f160db10bbcd311b299805080c4b/README.recipes.md#recipe_modules-commit_position