mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Remove documentation for removed fields.
The presentation and json attributes were removed in crrev.com/c/5534148. Bug: 339472834 Change-Id: I8c935fa3ff478a239c0b861578539c221224a6cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7170879 Auto-Submit: Garrett Beaty <gbeaty@google.com> Commit-Queue: Garrett Beaty <gbeaty@google.com> Reviewed-by: Scott Lee <ddoman@chromium.org> Commit-Queue: Scott Lee <ddoman@chromium.org>
This commit is contained in:
@@ -58,18 +58,18 @@
|
||||
|
||||
Recipe module to ensure a checkout is consistent on a bot.
|
||||
|
||||
#### **class [BotUpdateApi](/recipes/recipe_modules/bot_update/api.py#73)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
||||
#### **class [BotUpdateApi](/recipes/recipe_modules/bot_update/api.py#67)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
||||
|
||||
— **def [\_\_call\_\_](/recipes/recipe_modules/bot_update/api.py#82)(self, name, cmd, \*\*kwargs):**
|
||||
— **def [\_\_call\_\_](/recipes/recipe_modules/bot_update/api.py#76)(self, name, cmd, \*\*kwargs):**
|
||||
|
||||
Wrapper for easy calling of bot_update.
|
||||
|
||||
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#682)(self, bot_update_result):**
|
||||
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#676)(self, bot_update_result):**
|
||||
|
||||
Deapplies a patch, taking care of DEPS and solution revisions properly.
|
||||
|
||||
|
||||
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#193)(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, clobber=False, root_solution_revision=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, assert_one_gerrit_change=True, patch_refs=None, ignore_input_commit=False, add_blamelists=False, set_output_commit=False, step_test_data=None, enforce_fetch=False, download_topics=False, recipe_revision_overrides=None, step_tags=None, clean_ignored=False, \*\*kwargs):**
|
||||
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#187)(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, clobber=False, root_solution_revision=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, assert_one_gerrit_change=True, patch_refs=None, ignore_input_commit=False, add_blamelists=False, set_output_commit=False, step_test_data=None, enforce_fetch=False, download_topics=False, recipe_revision_overrides=None, step_tags=None, clean_ignored=False, \*\*kwargs):**
|
||||
|
||||
Args:
|
||||
* gclient_config: The gclient configuration to use when running bot_update.
|
||||
@@ -107,7 +107,7 @@ Args:
|
||||
* step_tags: a dict {tag name: tag value} of tags to add to the step
|
||||
* clean_ignored: If True, also clean ignored files from the checkout.
|
||||
|
||||
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#659)(self, project_name, gclient_config=None):**
|
||||
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#653)(self, project_name, gclient_config=None):**
|
||||
|
||||
Returns all property names used for storing the checked-out revision of
|
||||
a given project.
|
||||
@@ -121,14 +121,14 @@ 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#101)(self):**
|
||||
  **@property**<br>— **def [last\_returned\_properties](/recipes/recipe_modules/bot_update/api.py#95)(self):**
|
||||
|
||||
— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#610)(self, bot_update_result, name):**
|
||||
— **def [resolve\_fixed\_revision](/recipes/recipe_modules/bot_update/api.py#604)(self, bot_update_result, name):**
|
||||
|
||||
Sets a fixed revision for a single dependency using project revision
|
||||
properties.
|
||||
|
||||
— **def [step\_name](/recipes/recipe_modules/bot_update/api.py#699)(self, patch, suffix):**
|
||||
— **def [step\_name](/recipes/recipe_modules/bot_update/api.py#693)(self, patch, suffix):**
|
||||
### *recipe_modules* / [depot\_tools](/recipes/recipe_modules/depot_tools)
|
||||
|
||||
[DEPS](/recipes/recipe_modules/depot_tools/__init__.py#6): [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/runtime][recipe_engine/recipe_modules/runtime]
|
||||
|
||||
@@ -44,12 +44,6 @@ class Result:
|
||||
source_root: The root for the repo identified by the first gclient solution.
|
||||
patch_root: The root for the repo that was patched, if a patch was applied.
|
||||
Otherwise, None.
|
||||
presentation: DEPRECATED. The presentation of the bot_update step. This is
|
||||
used by some code to get the properties. This is provided for backwards
|
||||
compatibility, code should access the properties attribute instead.
|
||||
json: DEPRECATED. The result of json outputs for the bot_update step. This
|
||||
is provided for backwards compatibility, attributes on this object are
|
||||
provided for accessing the contents of json.output.
|
||||
properties: The properties set by the bot_update execution.
|
||||
manifest: The manifest mapping the checkout_dir-relative path to the
|
||||
repository and revision that was checked out.
|
||||
|
||||
Reference in New Issue
Block a user