You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/recipes/recipe_modules
Garrett Beaty fd81abb19d Return a custom result type from bot_update.ensure_checkout.
In order to facilitate removing uses of api.path.checkout_dir from
downstream repos, this change adds a custom return type for
bot_update.ensure_checkout. Now instead of a standard step result, an
object of Result will be returned. Result records the relevant paths
(directory where the checkout was performed, the repo that was checked
out and the repo that was patched, if any). This provides the caller
the ability to work in any of these directories without using
api.path.checkout_dir and without requiring boilerplate to construct
the paths. It also includes some attributes that provide details from
within the json output to abstract that out.

Bug: 329113288, 339472834
Change-Id: I2ec6db635c5b799bdb65d4e9364e7d99aae4159e
Recipe-Manual-Change: build
Recipe-Manual-Change: build_limited
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5523194
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Garrett Beaty <gbeaty@google.com>
1 year ago
..
bot_update Return a custom result type from bot_update.ensure_checkout. 1 year ago
depot_tools Reland "Drop py2 support in recipe modules" 2 years ago
gclient Replace remaining Path.join() calls 1 year ago
gerrit recipes: Remove unnecessary use of defer_results 2 years ago
git Replace Path.join() with / and Path.joinpath() 1 year ago
git_cl Reland "Drop py2 support in recipe modules" 2 years ago
gitiles Replace Path.join() with / and Path.joinpath() 1 year ago
gsutil Replace Path.join() with / and Path.joinpath() 1 year ago
osx_sdk [recipes/*_sdk] Replace '[*]' paths in comments 1 year ago
presubmit Return a custom result type from bot_update.ensure_checkout. 1 year ago
tryserver Replace Path.join() with / and Path.joinpath() 1 year ago
windows_sdk [recipes/*_sdk] Replace '[*]' paths in comments 1 year ago
OWNERS