• Edward Lemur's avatar
    gclient setdep: Add support for CIPD versions · a92b9611
    Edward Lemur authored
    gclient setdep used to assume that the version of a CIPD package was always
    of the form 'version:<something>'.
    However, the following are all valid:
      * SHA1 hashes that specify a single instance
      * tags (tagname:tagvalue)
      * References (e.g. 'latest') that are dynamically resolved by the CIPD server.
    
    This change adds support for all of them:
      * GetCIPD simply returns whatever the 'version' entry is, without assuming
        it begins with 'version:'.
      * SetCIPD sets 'version' ta whatever it is passed, without prepending 'version:'
        at the beginning.
    
    Bug: 858978
    Change-Id: I53669c5df7fb51cde42e0af271139b5719a47622
    Reviewed-on: https://chromium-review.googlesource.com/1120943Reviewed-by: 's avatarAaron Gable <agable@chromium.org>
    Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
    a92b9611
Name
Last commit
Last update
..
gstools Loading commit data...
auth_test.py Loading commit data...
bot_update_coverage_test.py Loading commit data...
checkout_test.py Loading commit data...
download_from_google_storage_unittest.py Loading commit data...
fix_encoding_test.py Loading commit data...
gclient_eval_unittest.py Loading commit data...
gclient_scm_test.py Loading commit data...
gclient_smoketest.py Loading commit data...
gclient_test.py Loading commit data...
gclient_utils_test.py Loading commit data...
git_cache_test.py Loading commit data...
git_cl_creds_check_report.txt Loading commit data...
git_cl_test.py Loading commit data...
git_common_test.py Loading commit data...
git_dates_test.py Loading commit data...
git_drover_test.py Loading commit data...
git_footers_test.py Loading commit data...
git_hyper_blame_test.py Loading commit data...
git_number_test.py Loading commit data...
git_rebase_update_test.py Loading commit data...
gsutil_test.py Loading commit data...
owners_finder_test.py Loading commit data...
owners_unittest.py Loading commit data...
patch_test.py Loading commit data...
presubmit_unittest.py Loading commit data...
recipes_test.py Loading commit data...
roll_dep_test.py Loading commit data...
scm_unittest.py Loading commit data...
subprocess2_test.py Loading commit data...
upload_to_google_storage_unittest.py Loading commit data...
watchlists_unittest.py Loading commit data...