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/tests
Stephanie Kim 3eedee7b55 Add support for GCS deps
Also take out GCS calling logic from download_google_storage and
into call_google_storage.

GCS deps look like:
   'src/third_party/node/linux': {
       'dep_type': 'gcs',
       'condition': 'checkout_linux',
       'bucket': 'chromium-nodejs/20.11.0',
       'object_name': '46795170ff5df9831955f163f6966abde581c8af',
       'sha256sum': '887504c37404898ca41b896f448ee6d7fc24179d8fb6a4b79d028ab7e1b7153d',
   },

   'src/third_party/llvm-build/Release+Asserts': {
       'dep_type': 'gcs',
       'condition': 'checkout_linux',
       'bucket': 'chromium-browser-clang',
       'object_name': 'Linux_x64/clang-llvmorg-18-init-17730-gf670112a-2.tar.xz',
       'sha256sum': '1e46df9b4e63c074064d75646310cb76be2f19815997a8486987189d80f991e8',
   },

Example directory for src/third_party/node/linux after gclient sync:
- tar_file.gz is the downloaded file from GCS.
- node_linux_x64/ is extracted in its path.
- `hash` contains the sha of GCS filename.
```
chromium/src/ ->
   third_party/node/linux/ ->
       hash, tar_file.gz, node_linux_x64/
```

Bug: b/324418194
Change-Id: Ibcbbff27e211f194ddb8a08494af56570a84a12b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5299722
Commit-Queue: Stephanie Kim <kimstephanie@google.com>
Reviewed-by: Joanna Wang <jojwang@chromium.org>
1 year ago
..
gstools Scripts to download files from google storage based on sha1 sums 12 years ago
OWNERS [ChromiumOS] Add a launcher for Bazel 2 years ago
auth_test.py [auth] Be able to generate id_token 2 years ago
autoninja_test.py Revert "Remove ability to use_goma in autoninja (chromeos excepted)" 1 year ago
bazel_test.py tests: switch to 4 space indent 2 years ago
bot_update_coverage_test.py Fix multiline comment formatting 1 year ago
cipd_bootstrap_test.py Update cipd_bootstrap_test to use a newer cipd client binary. 1 year ago
detect_host_arch_test.py [detect_host_arch] Cache HostArch() function 1 year ago
download_from_google_storage_unittest.py Add support for GCS deps 1 year ago
fetch_test.py fetch: stop setting submodules config as we are not using it at all 2 years ago
gclient_cipd_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_eval_unittest.py Reland^3 "Upgrade python to 3.11" 1 year ago
gclient_gcs_smoketest.py Add support for GCS deps 1 year ago
gclient_git_mutates_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_git_smoketest.py Remove .git suffix from git submodules 1 year ago
gclient_no_sync_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_paths_test.py Cache values in gclient_paths.py 2 years ago
gclient_scm_test.py Add support for GCS deps 1 year ago
gclient_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_smoketest_base.py Fix multiline comment formatting 1 year ago
gclient_test.py Fix multiline comment formatting 1 year ago
gclient_transitions_smoketest.py Fix multiline comment formatting 1 year ago
gclient_utils_test.py tests: switch to 4 space indent 2 years ago
gerrit_client_test.py tests: switch to 4 space indent 2 years ago
gerrit_util_test.py Reland "Update gclient to use git config caching" 1 year ago
git_cache_test.py [git_cache] Track if git cache is fully initialized 1 year ago
git_cl_creds_check_report.txt Fix gerrit new-password URL 2 years ago
git_cl_test.py [git-cl] Skip EnsureAuthenticated check for sso:// schemes 1 year ago
git_common_test.py Reland "Update gclient to use git config caching" 1 year ago
git_dates_test.py tests: switch to 4 space indent 2 years ago
git_find_releases_test.py tests: switch to 4 space indent 2 years ago
git_footers_test.py tests: switch to 4 space indent 2 years ago
git_hyper_blame_test.py Fix multiline comment formatting 1 year ago
git_map_test.py tests: switch to 4 space indent 2 years ago
git_migrate_default_branch_test.py tests: switch to 4 space indent 2 years ago
git_number_test.py tests: switch to 4 space indent 2 years ago
git_rebase_update_test.py tests: switch to 4 space indent 2 years ago
gsutil_test.py [gsutil.py] Skip luci-auth wrapper on unsupported platforms 2 years ago
hooks_test.py Require prompt from users to confirm submodules commit. 2 years ago
lockfile_test.py tests: switch to 4 space indent 2 years ago
metrics_test.py tests: switch to 4 space indent 2 years ago
my_activity_test.py tests: switch to 4 space indent 2 years ago
ninja_reclient_test.py Change source of hash for reproxy socket. 1 year ago
ninjalog_uploader_test.py ninjalog_uploader.py: use cipd to check authenticated account 1 year ago
owners_client_test.py tests: switch to 4 space indent 2 years ago
owners_finder_test.py tests: switch to 4 space indent 2 years ago
presubmit_canned_checks_test.py Fix multiline comment formatting 1 year ago
presubmit_support_test.py Implement _ProvidedDiffCache.GetOldContents 1 year ago
presubmit_unittest.py Implement support for change info thru diff file 1 year ago
rdb_wrapper_test.py Remove __future__ imports 2 years ago
recipes_test.py Support recipes_test.py in non-git workspace 1 year ago
reclient_metrics_test.py tests: switch to 4 space indent 2 years ago
roll_dep_test.py tests: switch to 4 space indent 2 years ago
scm_unittest.py Reland "Update gclient to use git config caching" 1 year ago
split_cl_test.py tests: switch to 4 space indent 2 years ago
subcommand_test.py tests: switch to 4 space indent 2 years ago
subprocess2_test.py Fix multiline comment formatting 1 year ago
upload_to_google_storage_unittest.py Remove last py2 workarounds 2 years ago
utils_test.py tests: switch to 4 space indent 2 years ago
watchlists_unittest.py tests: switch to 4 space indent 2 years ago