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 2c9e581fad Allow multiple objects per GCS dep
Allows multiple objects to use the same directory path.
This requires that each object has its own unique hash file and
unique migration file name. All object names must be unique.

Also update download_from_google_storage to check for the unique
migration file name.

Remove ConvertToGcs smoke tests since we're not converting
any git <-> gcs deps.

Example:
```
'src/third_party/llvm-build/Release+Asserts': {
  'dep_type': 'gcs',
  'condition': 'not llvm_force_head_revision',
  'bucket': 'chromium-browser-clang',
  'objects': [
      {
          'object_name': 'Linux_x64/clang-llvmorg-19-init-2941-ga0b3dbaf-22.tar.xz',
          'sha256sum': '7b33138d8592199f97d132242d7b3e10f460c5c9655d49a3ad3767218fba7a77',
          'size_bytes': 50212876,
      },
      {
         'object_name': 'Linux_x64/llvmobjdump-llvmorg-19-init-2941-ga0b3dbaf-22.tar.xz',
         'sha256sum': '14d669650cd212eb0ccb8c34a9e655338dfdee66fe2ecdaa517f6bd607c09a97',
         'size_bytes': 5302312,
       },
    ]
 },
```

TODO: update .gitignore to search for *_is_first_class and *_hash

Bug: b/324418194
Change-Id: I89d34b06ee24f4c1aa316cd51530ad078e823143
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5420793
Commit-Queue: Stephanie Kim <kimstephanie@google.com>
Reviewed-by: Joanna Wang <jojwang@chromium.org>
2 years ago
..
gstools Upload script for first class gcs deps 2 years ago
OWNERS
auth_test.py
autoninja_test.py Add luci-auth account check for non-google on corp. 2 years ago
bazel_test.py
bot_update_coverage_test.py
cipd_bootstrap_test.py Update cipd_bootstrap_test to use a newer cipd client binary. 2 years ago
detect_host_arch_test.py
download_from_google_storage_unittest.py Upload script for first class gcs deps 2 years ago
fetch_test.py
gclient_cipd_smoketest.py
gclient_eval_unittest.py Reland^3 "Upgrade python to 3.11" 2 years ago
gclient_gcs_smoketest.py Allow multiple objects per GCS dep 2 years ago
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py
gclient_no_sync_smoketest.py
gclient_paths_test.py
gclient_scm_test.py Reland "Reland "Add support for GCS deps"" 2 years ago
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py
gclient_transitions_smoketest.py
gclient_utils_test.py
gerrit_client_test.py [gerrit_client] Fix test to not hit real gerrit service. 2 years ago
gerrit_util_test.py Reland "Update gclient to use git config caching" 2 years ago
git_cache_test.py [git_cache] support ssh url 2 years ago
git_cl_creds_check_report.txt
git_cl_test.py git_cl: Add JSON output flag for `git cl presubmit` 2 years ago
git_common_test.py Reland "Update gclient to use git config caching" 2 years ago
git_dates_test.py
git_find_releases_test.py
git_footers_test.py
git_hyper_blame_test.py
git_map_test.py
git_migrate_default_branch_test.py
git_number_test.py
git_rebase_update_test.py
gsutil_test.py
hooks_test.py
lockfile_test.py
metrics_test.py
my_activity_test.py
ninja_reclient_test.py Change source of hash for reproxy socket. 2 years ago
ninjalog_uploader_test.py
owners_client_test.py
owners_finder_test.py
presubmit_canned_checks_test.py
presubmit_diff_test.py Handle diff without chunk header 2 years ago
presubmit_support_test.py Add --generate_diff flag to presubmit_support.py 2 years ago
presubmit_unittest.py Add --generate_diff flag to presubmit_support.py 2 years ago
rdb_wrapper_test.py
recipes_test.py Support recipes_test.py in non-git workspace 2 years ago
reclient_metrics_test.py
roll_dep_test.py
scm_unittest.py [scm] Remove unused methods 2 years ago
split_cl_test.py
subcommand_test.py
subprocess2_test.py
upload_to_google_storage_first_class_unittest.py Add generation version number to GCS first-class entries. 2 years ago
upload_to_google_storage_unittest.py
utils_test.py
watchlists_unittest.py