libv8 5.3.332.38.5 → 5.6.326.50.0beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +2 -0
- data/ext/libv8/builder.rb +2 -2
- data/lib/libv8/version.rb +1 -1
- data/patches/0001-Build-a-standalone-static-library.patch +4 -4
- data/patches/0002-Don-t-compile-unnecessary-stuff.patch +16 -11
- data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +4 -4
- data/patches/{0005-Do-not-embed-debug-symbols-in-macOS-libraries.patch → 0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch} +4 -4
- data/vendor/depot_tools/.gitignore +4 -0
- data/vendor/depot_tools/OWNERS +0 -2
- data/vendor/depot_tools/PRESUBMIT.py +20 -23
- data/vendor/depot_tools/README.gclient.md +3 -3
- data/vendor/depot_tools/README.git-cl.md +13 -12
- data/vendor/depot_tools/README.md +2 -3
- data/vendor/depot_tools/WATCHLISTS +0 -1
- data/vendor/depot_tools/appengine_mapper.py +23 -0
- data/vendor/depot_tools/apply_issue.py +2 -8
- data/vendor/depot_tools/bootstrap/win/README.md +1 -8
- data/vendor/depot_tools/bootstrap/win/git_bootstrap.py +6 -16
- data/vendor/depot_tools/bootstrap/win/git_version.txt +1 -1
- data/vendor/depot_tools/bootstrap/win/git_version_bleeding_edge.txt +1 -1
- data/vendor/depot_tools/checkout.py +20 -433
- data/vendor/depot_tools/cipd +73 -0
- data/vendor/depot_tools/cipd.bat +12 -0
- data/vendor/depot_tools/cipd.ps1 +57 -0
- data/vendor/depot_tools/cipd_client_version +1 -0
- data/vendor/depot_tools/clang_format.py +9 -6
- data/vendor/depot_tools/clang_format_merge_driver +8 -0
- data/vendor/depot_tools/clang_format_merge_driver.bat +11 -0
- data/vendor/depot_tools/clang_format_merge_driver.py +67 -0
- data/vendor/depot_tools/codereview.settings +3 -2
- data/vendor/depot_tools/commit_queue.py +1 -1
- data/vendor/depot_tools/cpplint.py +2 -0
- data/vendor/depot_tools/fetch.py +1 -54
- data/vendor/depot_tools/fetch_configs/android.py +2 -2
- data/vendor/depot_tools/fetch_configs/breakpad.py +2 -3
- data/vendor/depot_tools/fetch_configs/chromium.py +2 -3
- data/vendor/depot_tools/fetch_configs/crashpad.py +2 -2
- data/vendor/depot_tools/fetch_configs/dart.py +2 -3
- data/vendor/depot_tools/fetch_configs/dartino.py +2 -3
- data/vendor/depot_tools/fetch_configs/dartium.py +2 -3
- data/vendor/depot_tools/fetch_configs/depot_tools.py +3 -6
- data/vendor/depot_tools/fetch_configs/gyp.py +2 -3
- data/vendor/depot_tools/fetch_configs/infra.py +2 -2
- data/vendor/depot_tools/fetch_configs/infra_internal.py +2 -2
- data/vendor/depot_tools/fetch_configs/ios.py +2 -2
- data/vendor/depot_tools/fetch_configs/ios_internal.py +2 -3
- data/vendor/depot_tools/fetch_configs/mojo.py +2 -3
- data/vendor/depot_tools/fetch_configs/nacl.py +2 -3
- data/vendor/depot_tools/fetch_configs/naclports.py +2 -3
- data/vendor/depot_tools/fetch_configs/pdfium.py +2 -2
- data/vendor/depot_tools/fetch_configs/skia.py +2 -2
- data/vendor/depot_tools/fetch_configs/skia_buildbot.py +2 -2
- data/vendor/depot_tools/fetch_configs/syzygy.py +2 -2
- data/vendor/depot_tools/fetch_configs/v8.py +2 -3
- data/vendor/depot_tools/fetch_configs/webrtc.py +5 -3
- data/vendor/depot_tools/fetch_configs/webrtc_android.py +2 -2
- data/vendor/depot_tools/fetch_configs/webrtc_ios.py +2 -2
- data/vendor/depot_tools/fix_encoding.py +6 -6
- data/vendor/depot_tools/gclient.py +136 -368
- data/vendor/depot_tools/gclient_scm.py +108 -647
- data/vendor/depot_tools/gclient_utils.py +22 -86
- data/vendor/depot_tools/gerrit_client.py +105 -0
- data/vendor/depot_tools/gerrit_util.py +174 -67
- data/vendor/depot_tools/git-crrev-parse +6 -7
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git_cache.py +68 -18
- data/vendor/depot_tools/git_cherry_pick_upload.py +4 -4
- data/vendor/depot_tools/git_cl.py +1028 -961
- data/vendor/depot_tools/git_common.py +2 -3
- data/vendor/depot_tools/git_drover.py +0 -1
- data/vendor/depot_tools/git_footers.py +3 -43
- data/vendor/depot_tools/git_rebase_update.py +9 -1
- data/vendor/depot_tools/git_squash_branch.py +1 -1
- data/vendor/depot_tools/infra/config/cq.cfg +8 -1
- data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
- data/vendor/depot_tools/man/html/depot_tools.html +3 -11
- data/vendor/depot_tools/man/html/depot_tools_tutorial.html +9 -9
- data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +2 -2
- data/vendor/depot_tools/man/html/git-drover.html +17 -17
- data/vendor/depot_tools/man/html/git-footers.html +2 -2
- data/vendor/depot_tools/man/html/git-freeze.html +4 -4
- data/vendor/depot_tools/man/html/git-hyper-blame.html +2 -2
- data/vendor/depot_tools/man/html/git-map-branches.html +2 -2
- data/vendor/depot_tools/man/html/git-map.html +2 -2
- data/vendor/depot_tools/man/html/git-mark-merge-base.html +2 -2
- data/vendor/depot_tools/man/html/git-nav-downstream.html +2 -2
- data/vendor/depot_tools/man/html/git-nav-upstream.html +2 -2
- data/vendor/depot_tools/man/html/git-new-branch.html +2 -2
- data/vendor/depot_tools/man/html/git-rebase-update.html +2 -2
- data/vendor/depot_tools/man/html/git-rename-branch.html +2 -2
- data/vendor/depot_tools/man/html/git-reparent-branch.html +2 -2
- data/vendor/depot_tools/man/html/git-retry.html +3 -3
- data/vendor/depot_tools/man/html/git-squash-branch.html +3 -3
- data/vendor/depot_tools/man/html/git-thaw.html +2 -2
- data/vendor/depot_tools/man/html/git-upstream-diff.html +3 -3
- data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +4 -4
- data/vendor/depot_tools/man/man1/git-drover.1 +19 -19
- data/vendor/depot_tools/man/man1/git-footers.1 +4 -4
- data/vendor/depot_tools/man/man1/git-freeze.1 +6 -6
- data/vendor/depot_tools/man/man1/git-hyper-blame.1 +4 -4
- data/vendor/depot_tools/man/man1/git-map-branches.1 +4 -4
- data/vendor/depot_tools/man/man1/git-map.1 +4 -4
- data/vendor/depot_tools/man/man1/git-mark-merge-base.1 +4 -4
- data/vendor/depot_tools/man/man1/git-nav-downstream.1 +4 -4
- data/vendor/depot_tools/man/man1/git-nav-upstream.1 +4 -4
- data/vendor/depot_tools/man/man1/git-new-branch.1 +4 -4
- data/vendor/depot_tools/man/man1/git-rebase-update.1 +4 -4
- data/vendor/depot_tools/man/man1/git-rename-branch.1 +4 -4
- data/vendor/depot_tools/man/man1/git-reparent-branch.1 +4 -4
- data/vendor/depot_tools/man/man1/git-retry.1 +5 -5
- data/vendor/depot_tools/man/man1/git-squash-branch.1 +5 -5
- data/vendor/depot_tools/man/man1/git-thaw.1 +4 -4
- data/vendor/depot_tools/man/man1/git-upstream-diff.1 +5 -5
- data/vendor/depot_tools/man/man7/depot_tools.7 +5 -10
- data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +4 -4
- data/vendor/depot_tools/man/src/depot_tools.txt +1 -1
- data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +7 -7
- data/vendor/depot_tools/man/src/filter_demo_output.py +2 -2
- data/vendor/depot_tools/man/src/git-footers.demo.1.sh +1 -1
- data/vendor/depot_tools/man/src/git-retry.txt +1 -1
- data/vendor/depot_tools/man/src/git-squash-branch.txt +2 -2
- data/vendor/depot_tools/man/src/git-upstream-diff.txt +1 -1
- data/vendor/depot_tools/my_activity.py +6 -3
- data/vendor/depot_tools/my_reviews.py +1 -1
- data/vendor/depot_tools/ninja +2 -2
- data/vendor/depot_tools/ninja-linux32 +0 -0
- data/vendor/depot_tools/ninja-linux64 +0 -0
- data/vendor/depot_tools/ninja-mac +0 -0
- data/vendor/depot_tools/ninja.exe +0 -0
- data/vendor/depot_tools/owners.py +14 -3
- data/vendor/depot_tools/presubmit_canned_checks.py +46 -67
- data/vendor/depot_tools/presubmit_support.py +109 -371
- data/vendor/depot_tools/pylintrc +83 -56
- data/vendor/depot_tools/recipe_modules/OWNERS +1 -0
- data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +18 -9
- data/vendor/depot_tools/recipe_modules/bot_update/api.py +56 -55
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/buildbot.json +52 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +19 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +3 -7
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +2 -54
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json +56 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/{forced.json → trychange_oauth2_json.json} +6 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +54 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +20 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json +59 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +9 -9
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +20 -10
- data/vendor/depot_tools/recipe_modules/bot_update/example.py +45 -63
- data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +210 -807
- data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +34 -45
- data/vendor/depot_tools/recipe_modules/cipd/api.py +59 -84
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/basic.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/describe-failed.json +14 -60
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/describe-many-instances.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/mac64.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/win64.json +71 -117
- data/vendor/depot_tools/recipe_modules/cipd/example.py +2 -12
- data/vendor/depot_tools/recipe_modules/cipd/test_api.py +0 -9
- data/vendor/depot_tools/recipe_modules/depot_tools/api.py +6 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/basic.json +7 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/win.json +7 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/example.py +3 -0
- data/vendor/depot_tools/recipe_modules/gclient/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/gclient/api.py +9 -22
- data/vendor/depot_tools/recipe_modules/gclient/config.py +18 -5
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +14 -14
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/buildbot.json +211 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +16 -14
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +16 -14
- data/vendor/depot_tools/recipe_modules/gclient/example.py +13 -11
- data/vendor/depot_tools/recipe_modules/gerrit/__init__.py +6 -0
- data/vendor/depot_tools/recipe_modules/gerrit/api.py +63 -0
- data/vendor/depot_tools/recipe_modules/gerrit/example.expected/basic.json +64 -0
- data/vendor/depot_tools/recipe_modules/gerrit/example.py +35 -0
- data/vendor/depot_tools/recipe_modules/gerrit/test_api.py +24 -0
- data/vendor/depot_tools/recipe_modules/git/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git/api.py +155 -142
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +13 -13
- data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +45 -19
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +45 -19
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +8 -8
- data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +44 -18
- data/vendor/depot_tools/recipe_modules/git/example.expected/git-cache-checkout.json +48 -22
- data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +42 -16
- data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +43 -17
- data/vendor/depot_tools/recipe_modules/git/example.py +9 -3
- data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git_cl/api.py +8 -8
- data/vendor/depot_tools/recipe_modules/git_cl/example.py +1 -1
- data/vendor/depot_tools/recipe_modules/gsutil/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/gsutil/api.py +196 -0
- data/vendor/depot_tools/recipe_modules/gsutil/example.expected/basic.json +186 -0
- data/vendor/depot_tools/recipe_modules/gsutil/example.py +77 -0
- data/vendor/depot_tools/recipe_modules/gsutil/resources/gsutil_smart_retry.py +69 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +3 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/api.py +20 -3
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_linux.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_mac.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_win.json +3 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/example.py +6 -1
- data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +4 -6
- data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
- data/vendor/depot_tools/recipe_modules/rietveld/api.py +12 -9
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +2 -24
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/buildbot.json +30 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.py +12 -6
- data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/tryserver/api.py +46 -70
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/set_failure_hash_with_no_steps.json +8 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/{with_svn_patch.json → with_gerrit_patch.json} +1 -31
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_gerrit_patch_deprecated.json +39 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +2 -2
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch_luci.json +8 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +3 -3
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +3 -3
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +1 -1
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +1 -1
- data/vendor/depot_tools/recipe_modules/tryserver/example.py +35 -5
- data/vendor/depot_tools/recipes.py +52 -28
- data/vendor/depot_tools/repo +216 -69
- data/vendor/depot_tools/rietveld.py +20 -15
- data/vendor/depot_tools/roll_dep.py +1 -1
- data/vendor/depot_tools/scm.py +11 -826
- data/vendor/depot_tools/subprocess2.py +5 -5
- data/vendor/depot_tools/third_party/cq_client/README.depot_tools.md +2 -0
- data/vendor/depot_tools/third_party/cq_client/README.md +5 -1
- data/vendor/depot_tools/third_party/cq_client/cq.pb.go +183 -104
- data/vendor/depot_tools/third_party/cq_client/cq.proto +43 -27
- data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +95 -29
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_both.cfg +67 -0
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +1 -2
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_rietveld.cfg +0 -3
- data/vendor/depot_tools/third_party/upload.py +44 -24
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +0 -5
- metadata +38 -93
- data/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch +0 -25
- data/vendor/depot_tools/git-auto-svn +0 -6
- data/vendor/depot_tools/git_auto_svn.py +0 -122
- data/vendor/depot_tools/man/html/git-auto-svn.html +0 -837
- data/vendor/depot_tools/man/man1/git-auto-svn.1 +0 -113
- data/vendor/depot_tools/man/src/_git-auto-svn_desc.helper.txt +0 -1
- data/vendor/depot_tools/man/src/git-auto-svn.txt +0 -69
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +0 -43
- data/vendor/depot_tools/recipe_modules/cipd/example.expected/install-failed.json +0 -31
- data/vendor/depot_tools/recipe_modules/cipd/resources/bootstrap.py +0 -218
- data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +0 -7
- data/vendor/depot_tools/third_party/gsutil/CHECKSUM +0 -1
- data/vendor/depot_tools/third_party/gsutil/COPYING +0 -202
- data/vendor/depot_tools/third_party/gsutil/LICENSE.third_party +0 -295
- data/vendor/depot_tools/third_party/gsutil/MANIFEST.in +0 -5
- data/vendor/depot_tools/third_party/gsutil/README +0 -38
- data/vendor/depot_tools/third_party/gsutil/README.chromium +0 -25
- data/vendor/depot_tools/third_party/gsutil/README.pkg +0 -49
- data/vendor/depot_tools/third_party/gsutil/ReleaseNotes.txt +0 -825
- data/vendor/depot_tools/third_party/gsutil/VERSION +0 -1
- data/vendor/depot_tools/third_party/gsutil/gslib/README +0 -5
- data/vendor/depot_tools/third_party/gsutil/gslib/__init__.py +0 -22
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/__init__.py +0 -15
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/acls.py +0 -234
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/anon.py +0 -57
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/command_opts.py +0 -116
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/dev.py +0 -139
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/metadata.py +0 -186
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/naming.py +0 -173
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/prod.py +0 -160
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/projects.py +0 -130
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/subdirs.py +0 -110
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/support.py +0 -86
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/versioning.py +0 -242
- data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/wildcards.py +0 -170
- data/vendor/depot_tools/third_party/gsutil/gslib/bucket_listing_ref.py +0 -175
- data/vendor/depot_tools/third_party/gsutil/gslib/command.py +0 -725
- data/vendor/depot_tools/third_party/gsutil/gslib/command_runner.py +0 -102
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/__init__.py +0 -15
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/cat.py +0 -131
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/chacl.py +0 -523
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/config.py +0 -662
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/cp.py +0 -1819
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/disablelogging.py +0 -101
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/enablelogging.py +0 -149
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getacl.py +0 -82
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getcors.py +0 -121
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getdefacl.py +0 -86
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getlogging.py +0 -137
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getversioning.py +0 -116
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/getwebcfg.py +0 -122
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/help.py +0 -218
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/ls.py +0 -578
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/mb.py +0 -172
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/mv.py +0 -159
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/perfdiag.py +0 -903
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/rb.py +0 -113
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/rm.py +0 -237
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setacl.py +0 -138
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setcors.py +0 -145
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setdefacl.py +0 -105
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setmeta.py +0 -420
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setversioning.py +0 -114
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/setwebcfg.py +0 -190
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/update.py +0 -305
- data/vendor/depot_tools/third_party/gsutil/gslib/commands/version.py +0 -150
- data/vendor/depot_tools/third_party/gsutil/gslib/exception.py +0 -76
- data/vendor/depot_tools/third_party/gsutil/gslib/help_provider.py +0 -81
- data/vendor/depot_tools/third_party/gsutil/gslib/name_expansion.py +0 -550
- data/vendor/depot_tools/third_party/gsutil/gslib/no_op_auth_plugin.py +0 -30
- data/vendor/depot_tools/third_party/gsutil/gslib/plurality_checkable_iterator.py +0 -56
- data/vendor/depot_tools/third_party/gsutil/gslib/project_id.py +0 -67
- data/vendor/depot_tools/third_party/gsutil/gslib/storage_uri_builder.py +0 -56
- data/vendor/depot_tools/third_party/gsutil/gslib/thread_pool.py +0 -79
- data/vendor/depot_tools/third_party/gsutil/gslib/util.py +0 -167
- data/vendor/depot_tools/third_party/gsutil/gslib/wildcard_iterator.py +0 -498
- data/vendor/depot_tools/third_party/gsutil/gsutil +0 -384
- data/vendor/depot_tools/third_party/gsutil/gsutil.spec.in +0 -75
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/__init__.py +0 -22
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_client.py +0 -630
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_client_test.py +0 -374
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_helper.py +0 -103
- data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_plugin.py +0 -24
- data/vendor/depot_tools/third_party/gsutil/pkg_util.py +0 -60
- data/vendor/depot_tools/third_party/gsutil/plugins/__init__.py +0 -0
- data/vendor/depot_tools/third_party/gsutil/plugins/sso_auth.py +0 -105
@@ -3,69 +3,58 @@
|
|
3
3
|
# found in the LICENSE file.
|
4
4
|
|
5
5
|
import hashlib
|
6
|
-
import os
|
7
6
|
import struct
|
8
|
-
import sys
|
9
7
|
from recipe_engine import recipe_test_api
|
10
8
|
|
11
|
-
# TODO(phajdan.jr): Clean up this somewhat ugly import.
|
12
|
-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'resources'))
|
13
|
-
import bot_update
|
14
|
-
|
15
9
|
|
16
10
|
class BotUpdateTestApi(recipe_test_api.RecipeTestApi):
|
17
|
-
def output_json(self,
|
18
|
-
revision_mapping, force=False, fail_patch=False,
|
11
|
+
def output_json(self, root, first_sln, revision_mapping, fail_patch=False,
|
19
12
|
output_manifest=False, fixed_revisions=None):
|
20
13
|
"""Deterministically synthesize json.output test data for gclient's
|
21
14
|
--output-json option.
|
22
15
|
"""
|
23
|
-
active = bot_update.check_valid_host(master, builder, slave) or force
|
24
|
-
|
25
16
|
output = {
|
26
|
-
'did_run':
|
17
|
+
'did_run': True,
|
27
18
|
'patch_failure': False
|
28
19
|
}
|
29
20
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
for project_name, property_name in revision_mapping.iteritems()
|
40
|
-
})
|
21
|
+
properties = {
|
22
|
+
property_name: self.gen_revision(project_name)
|
23
|
+
for project_name, property_name in revision_mapping.iteritems()
|
24
|
+
}
|
25
|
+
properties.update({
|
26
|
+
'%s_cp' % property_name: ('refs/heads/master@{#%s}' %
|
27
|
+
self.gen_commit_position(project_name))
|
28
|
+
for project_name, property_name in revision_mapping.iteritems()
|
29
|
+
})
|
41
30
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
31
|
+
output.update({
|
32
|
+
'patch_root': root or first_sln,
|
33
|
+
'root': first_sln,
|
34
|
+
'properties': properties,
|
35
|
+
'step_text': 'Some step text'
|
36
|
+
})
|
48
37
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
}
|
56
|
-
for project_name in revision_mapping
|
38
|
+
if output_manifest:
|
39
|
+
output.update({
|
40
|
+
'manifest': {
|
41
|
+
project_name: {
|
42
|
+
'repository': 'https://fake.org/%s.git' % project_name,
|
43
|
+
'revision': self.gen_revision(project_name),
|
57
44
|
}
|
58
|
-
|
45
|
+
for project_name in revision_mapping
|
46
|
+
}
|
47
|
+
})
|
59
48
|
|
60
|
-
|
61
|
-
|
49
|
+
if fixed_revisions:
|
50
|
+
output['fixed_revisions'] = fixed_revisions
|
62
51
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
52
|
+
if fail_patch:
|
53
|
+
output['log_lines'] = [('patch error', 'Patch failed to apply'),]
|
54
|
+
output['patch_failure'] = True
|
55
|
+
output['patch_apply_return_code'] = 1
|
56
|
+
if fail_patch == 'download':
|
57
|
+
output['patch_apply_return_code'] = 3
|
69
58
|
return self.m.json.output(output)
|
70
59
|
|
71
60
|
@staticmethod
|
@@ -6,12 +6,26 @@ from recipe_engine import recipe_api
|
|
6
6
|
|
7
7
|
|
8
8
|
class CIPDApi(recipe_api.RecipeApi):
|
9
|
-
"""CIPDApi provides support for CIPD.
|
9
|
+
"""CIPDApi provides basic support for CIPD.
|
10
|
+
|
11
|
+
This assumes that `cipd` (or `cipd.exe` on windows) has been installed
|
12
|
+
somewhere in $PATH. This will be true if you use depot_tools, or if your
|
13
|
+
recipe is running inside of chrome-infrastructure's systems (buildbot,
|
14
|
+
swarming).
|
15
|
+
"""
|
10
16
|
def __init__(self, *args, **kwargs):
|
11
17
|
super(CIPDApi, self).__init__(*args, **kwargs)
|
12
|
-
self._cipd_executable = None
|
13
|
-
self._cipd_version = None
|
14
18
|
self._cipd_credentials = None
|
19
|
+
self._executable = None
|
20
|
+
|
21
|
+
def initialize(self):
|
22
|
+
self._executable = 'cipd'
|
23
|
+
if self.m.platform.is_win:
|
24
|
+
self._executable += '.exe'
|
25
|
+
|
26
|
+
@property
|
27
|
+
def executable(self):
|
28
|
+
return self._executable
|
15
29
|
|
16
30
|
def set_service_account_credentials(self, path):
|
17
31
|
self._cipd_credentials = path
|
@@ -40,66 +54,37 @@ class CIPDApi(recipe_api.RecipeApi):
|
|
40
54
|
}[self.m.platform.bits],
|
41
55
|
)
|
42
56
|
|
43
|
-
def install_client(self, step_name='install cipd', version=None):
|
44
|
-
"""Ensures the client is installed.
|
45
|
-
|
46
|
-
If you specify version as a hash, make sure its correct platform.
|
47
|
-
"""
|
48
|
-
# TODO(seanmccullough): clean up older CIPD installations.
|
49
|
-
step = self.m.python(
|
50
|
-
name=step_name,
|
51
|
-
script=self.resource('bootstrap.py'),
|
52
|
-
args=[
|
53
|
-
'--platform', self.platform_suffix(),
|
54
|
-
'--dest-directory', self.m.path['slave_build'].join('cipd'),
|
55
|
-
'--json-output', self.m.json.output(),
|
56
|
-
] +
|
57
|
-
(['--version', version] if version else []),
|
58
|
-
step_test_data=lambda: self.test_api.example_install_client(version)
|
59
|
-
)
|
60
|
-
self._cipd_executable = step.json.output['executable']
|
61
|
-
|
62
|
-
step.presentation.step_text = (
|
63
|
-
'cipd instance_id: %s' % step.json.output['instance_id'])
|
64
|
-
return step
|
65
|
-
|
66
|
-
def get_executable(self):
|
67
|
-
return self._cipd_executable
|
68
|
-
|
69
57
|
def build(self, input_dir, output_package, package_name, install_mode=None):
|
70
|
-
assert self._cipd_executable
|
71
58
|
assert not install_mode or install_mode in ['copy', 'symlink']
|
72
59
|
return self.m.step(
|
73
60
|
'build %s' % self.m.path.basename(package_name),
|
74
61
|
[
|
75
|
-
self.
|
62
|
+
self.executable,
|
76
63
|
'pkg-build',
|
77
|
-
'
|
78
|
-
'
|
79
|
-
'
|
80
|
-
'
|
64
|
+
'-in', input_dir,
|
65
|
+
'-name', package_name,
|
66
|
+
'-out', output_package,
|
67
|
+
'-json-output', self.m.json.output(),
|
81
68
|
] + (
|
82
|
-
['
|
69
|
+
['-install-mode', install_mode] if install_mode else []
|
83
70
|
),
|
84
71
|
step_test_data=lambda: self.test_api.example_build(package_name)
|
85
72
|
)
|
86
73
|
|
87
74
|
def register(self, package_name, package_path, refs=None, tags=None):
|
88
|
-
assert self._cipd_executable
|
89
|
-
|
90
75
|
cmd = [
|
91
|
-
self.
|
76
|
+
self.executable,
|
92
77
|
'pkg-register', package_path,
|
93
|
-
'
|
78
|
+
'-json-output', self.m.json.output(),
|
94
79
|
]
|
95
80
|
if self._cipd_credentials:
|
96
|
-
cmd.extend(['
|
81
|
+
cmd.extend(['-service-account-json', self._cipd_credentials])
|
97
82
|
if refs:
|
98
83
|
for ref in refs:
|
99
|
-
cmd.extend(['
|
84
|
+
cmd.extend(['-ref', ref])
|
100
85
|
if tags:
|
101
86
|
for tag, value in sorted(tags.items()):
|
102
|
-
cmd.extend(['
|
87
|
+
cmd.extend(['-tag', '%s:%s' % (tag, value)])
|
103
88
|
return self.m.step(
|
104
89
|
'register %s' % package_name,
|
105
90
|
cmd,
|
@@ -111,21 +96,20 @@ class CIPDApi(recipe_api.RecipeApi):
|
|
111
96
|
|
112
97
|
This builds and uploads the package in one step.
|
113
98
|
"""
|
114
|
-
assert self._cipd_executable
|
115
99
|
cmd = [
|
116
|
-
self.
|
100
|
+
self.executable,
|
117
101
|
'create',
|
118
|
-
'
|
119
|
-
'
|
102
|
+
'-pkg-def', pkg_def,
|
103
|
+
'-json-output', self.m.json.output(),
|
120
104
|
]
|
121
105
|
if self._cipd_credentials:
|
122
|
-
cmd.extend(['
|
106
|
+
cmd.extend(['-service-account-json', self._cipd_credentials])
|
123
107
|
if refs:
|
124
108
|
for ref in refs:
|
125
|
-
cmd.extend(['
|
109
|
+
cmd.extend(['-ref', ref])
|
126
110
|
if tags:
|
127
111
|
for tag, value in sorted(tags.items()):
|
128
|
-
cmd.extend(['
|
112
|
+
cmd.extend(['-tag', '%s:%s' % (tag, value)])
|
129
113
|
return self.m.step('create %s' % self.m.path.basename(pkg_def), cmd)
|
130
114
|
|
131
115
|
def ensure(self, root, packages):
|
@@ -138,38 +122,34 @@ class CIPDApi(recipe_api.RecipeApi):
|
|
138
122
|
If installing a package requires credentials, call
|
139
123
|
``set_service_account_credentials`` before calling this function.
|
140
124
|
"""
|
141
|
-
assert self._cipd_executable
|
142
|
-
|
143
125
|
package_list = ['%s %s' % (name, version)
|
144
126
|
for name, version in sorted(packages.items())]
|
145
|
-
|
127
|
+
ensure_file = self.m.raw_io.input('\n'.join(package_list))
|
146
128
|
cmd = [
|
147
|
-
self.
|
129
|
+
self.executable,
|
148
130
|
'ensure',
|
149
|
-
'
|
150
|
-
'
|
151
|
-
'
|
131
|
+
'-root', root,
|
132
|
+
'-ensure-file', ensure_file,
|
133
|
+
'-json-output', self.m.json.output(),
|
152
134
|
]
|
153
135
|
if self._cipd_credentials:
|
154
|
-
cmd.extend(['
|
155
|
-
|
136
|
+
cmd.extend(['-service-account-json', self._cipd_credentials])
|
137
|
+
self.m.step(
|
156
138
|
'ensure_installed', cmd,
|
157
139
|
step_test_data=lambda: self.test_api.example_ensure(packages)
|
158
140
|
)
|
159
141
|
|
160
142
|
def set_tag(self, package_name, version, tags):
|
161
|
-
assert self._cipd_executable
|
162
|
-
|
163
143
|
cmd = [
|
164
|
-
self.
|
144
|
+
self.executable,
|
165
145
|
'set-tag', package_name,
|
166
|
-
'
|
167
|
-
'
|
146
|
+
'-version', version,
|
147
|
+
'-json-output', self.m.json.output(),
|
168
148
|
]
|
169
149
|
if self._cipd_credentials:
|
170
|
-
cmd.extend(['
|
150
|
+
cmd.extend(['-service-account-json', self._cipd_credentials])
|
171
151
|
for tag, value in sorted(tags.items()):
|
172
|
-
cmd.extend(['
|
152
|
+
cmd.extend(['-tag', '%s:%s' % (tag, value)])
|
173
153
|
|
174
154
|
return self.m.step(
|
175
155
|
'cipd set-tag %s' % package_name,
|
@@ -180,18 +160,16 @@ class CIPDApi(recipe_api.RecipeApi):
|
|
180
160
|
)
|
181
161
|
|
182
162
|
def set_ref(self, package_name, version, refs):
|
183
|
-
assert self._cipd_executable
|
184
|
-
|
185
163
|
cmd = [
|
186
|
-
self.
|
164
|
+
self.executable,
|
187
165
|
'set-ref', package_name,
|
188
|
-
'
|
189
|
-
'
|
166
|
+
'-version', version,
|
167
|
+
'-json-output', self.m.json.output(),
|
190
168
|
]
|
191
169
|
if self._cipd_credentials:
|
192
|
-
cmd.extend(['
|
170
|
+
cmd.extend(['-service-account-json', self._cipd_credentials])
|
193
171
|
for r in refs:
|
194
|
-
cmd.extend(['
|
172
|
+
cmd.extend(['-ref', r])
|
195
173
|
|
196
174
|
return self.m.step(
|
197
175
|
'cipd set-ref %s' % package_name,
|
@@ -202,17 +180,16 @@ class CIPDApi(recipe_api.RecipeApi):
|
|
202
180
|
)
|
203
181
|
|
204
182
|
def search(self, package_name, tag):
|
205
|
-
assert self._cipd_executable
|
206
183
|
assert ':' in tag, 'tag must be in a form "k:v"'
|
207
184
|
|
208
185
|
cmd = [
|
209
|
-
self.
|
186
|
+
self.executable,
|
210
187
|
'search', package_name,
|
211
|
-
'
|
212
|
-
'
|
188
|
+
'-tag', tag,
|
189
|
+
'-json-output', self.m.json.output(),
|
213
190
|
]
|
214
191
|
if self._cipd_credentials:
|
215
|
-
cmd.extend(['
|
192
|
+
cmd.extend(['-service-account-json', self._cipd_credentials])
|
216
193
|
|
217
194
|
return self.m.step(
|
218
195
|
'cipd search %s %s' % (package_name, tag),
|
@@ -222,16 +199,14 @@ class CIPDApi(recipe_api.RecipeApi):
|
|
222
199
|
|
223
200
|
def describe(self, package_name, version,
|
224
201
|
test_data_refs=None, test_data_tags=None):
|
225
|
-
assert self._cipd_executable
|
226
|
-
|
227
202
|
cmd = [
|
228
|
-
self.
|
203
|
+
self.executable,
|
229
204
|
'describe', package_name,
|
230
|
-
'
|
231
|
-
'
|
205
|
+
'-version', version,
|
206
|
+
'-json-output', self.m.json.output(),
|
232
207
|
]
|
233
208
|
if self._cipd_credentials:
|
234
|
-
cmd.extend(['
|
209
|
+
cmd.extend(['-service-account-json', self._cipd_credentials])
|
235
210
|
|
236
211
|
return self.m.step(
|
237
212
|
'cipd describe %s' % package_name,
|
@@ -1,61 +1,15 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
3
|
"cmd": [
|
4
|
-
"
|
5
|
-
"-u",
|
6
|
-
"RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
|
7
|
-
"--platform",
|
8
|
-
"linux-amd64",
|
9
|
-
"--dest-directory",
|
10
|
-
"[SLAVE_BUILD]/cipd",
|
11
|
-
"--json-output",
|
12
|
-
"/path/to/tmp/json"
|
13
|
-
],
|
14
|
-
"name": "install cipd",
|
15
|
-
"~followup_annotations": [
|
16
|
-
"@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
17
|
-
"@@@STEP_LOG_LINE@json.output@{@@@",
|
18
|
-
"@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@",
|
19
|
-
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
20
|
-
"@@@STEP_LOG_LINE@json.output@}@@@",
|
21
|
-
"@@@STEP_LOG_END@json.output@@@"
|
22
|
-
]
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"cmd": [
|
26
|
-
"python",
|
27
|
-
"-u",
|
28
|
-
"RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
|
29
|
-
"--platform",
|
30
|
-
"linux-amd64",
|
31
|
-
"--dest-directory",
|
32
|
-
"[SLAVE_BUILD]/cipd",
|
33
|
-
"--json-output",
|
34
|
-
"/path/to/tmp/json",
|
35
|
-
"--version",
|
36
|
-
"deadbeaf"
|
37
|
-
],
|
38
|
-
"name": "install cipd (2)",
|
39
|
-
"~followup_annotations": [
|
40
|
-
"@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
41
|
-
"@@@STEP_LOG_LINE@json.output@{@@@",
|
42
|
-
"@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@",
|
43
|
-
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
44
|
-
"@@@STEP_LOG_LINE@json.output@}@@@",
|
45
|
-
"@@@STEP_LOG_END@json.output@@@"
|
46
|
-
]
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"cmd": [
|
50
|
-
"[SLAVE_BUILD]/cipd/cipd",
|
4
|
+
"cipd",
|
51
5
|
"ensure",
|
52
|
-
"
|
53
|
-
"[
|
54
|
-
"
|
6
|
+
"-root",
|
7
|
+
"[START_DIR]/packages",
|
8
|
+
"-ensure-file",
|
55
9
|
"public/package/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d",
|
56
|
-
"
|
10
|
+
"-json-output",
|
57
11
|
"/path/to/tmp/json",
|
58
|
-
"
|
12
|
+
"-service-account-json",
|
59
13
|
"/creds/service_accounts/service-account-cipd-builder.json"
|
60
14
|
],
|
61
15
|
"name": "ensure_installed",
|
@@ -73,14 +27,14 @@
|
|
73
27
|
},
|
74
28
|
{
|
75
29
|
"cmd": [
|
76
|
-
"
|
30
|
+
"cipd",
|
77
31
|
"search",
|
78
32
|
"public/package/linux-amd64",
|
79
|
-
"
|
33
|
+
"-tag",
|
80
34
|
"git_revision:40-chars-long-hash",
|
81
|
-
"
|
35
|
+
"-json-output",
|
82
36
|
"/path/to/tmp/json",
|
83
|
-
"
|
37
|
+
"-service-account-json",
|
84
38
|
"/creds/service_accounts/service-account-cipd-builder.json"
|
85
39
|
],
|
86
40
|
"name": "cipd search public/package/linux-amd64 git_revision:40-chars-long-hash",
|
@@ -98,14 +52,14 @@
|
|
98
52
|
},
|
99
53
|
{
|
100
54
|
"cmd": [
|
101
|
-
"
|
55
|
+
"cipd",
|
102
56
|
"describe",
|
103
57
|
"public/package/linux-amd64",
|
104
|
-
"
|
58
|
+
"-version",
|
105
59
|
"40-chars-fake-of-the-package-instance_id",
|
106
|
-
"
|
60
|
+
"-json-output",
|
107
61
|
"/path/to/tmp/json",
|
108
|
-
"
|
62
|
+
"-service-account-json",
|
109
63
|
"/creds/service_accounts/service-account-cipd-builder.json"
|
110
64
|
],
|
111
65
|
"name": "cipd describe public/package/linux-amd64",
|
@@ -149,15 +103,15 @@
|
|
149
103
|
},
|
150
104
|
{
|
151
105
|
"cmd": [
|
152
|
-
"
|
106
|
+
"cipd",
|
153
107
|
"ensure",
|
154
|
-
"
|
155
|
-
"[
|
156
|
-
"
|
108
|
+
"-root",
|
109
|
+
"[START_DIR]/packages",
|
110
|
+
"-ensure-file",
|
157
111
|
"private/package/linux-amd64 latest\npublic/package/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d",
|
158
|
-
"
|
112
|
+
"-json-output",
|
159
113
|
"/path/to/tmp/json",
|
160
|
-
"
|
114
|
+
"-service-account-json",
|
161
115
|
"fake-credentials.json"
|
162
116
|
],
|
163
117
|
"name": "ensure_installed (2)",
|
@@ -179,14 +133,14 @@
|
|
179
133
|
},
|
180
134
|
{
|
181
135
|
"cmd": [
|
182
|
-
"
|
136
|
+
"cipd",
|
183
137
|
"search",
|
184
138
|
"private/package/linux-amd64",
|
185
|
-
"
|
139
|
+
"-tag",
|
186
140
|
"key:value",
|
187
|
-
"
|
141
|
+
"-json-output",
|
188
142
|
"/path/to/tmp/json",
|
189
|
-
"
|
143
|
+
"-service-account-json",
|
190
144
|
"fake-credentials.json"
|
191
145
|
],
|
192
146
|
"name": "cipd search private/package/linux-amd64 key:value",
|
@@ -204,14 +158,14 @@
|
|
204
158
|
},
|
205
159
|
{
|
206
160
|
"cmd": [
|
207
|
-
"
|
161
|
+
"cipd",
|
208
162
|
"describe",
|
209
163
|
"private/package/linux-amd64",
|
210
|
-
"
|
164
|
+
"-version",
|
211
165
|
"40-chars-fake-of-the-package-instance_id",
|
212
|
-
"
|
166
|
+
"-json-output",
|
213
167
|
"/path/to/tmp/json",
|
214
|
-
"
|
168
|
+
"-service-account-json",
|
215
169
|
"fake-credentials.json"
|
216
170
|
],
|
217
171
|
"name": "cipd describe private/package/linux-amd64",
|
@@ -250,15 +204,15 @@
|
|
250
204
|
},
|
251
205
|
{
|
252
206
|
"cmd": [
|
253
|
-
"
|
207
|
+
"cipd",
|
254
208
|
"pkg-build",
|
255
|
-
"
|
209
|
+
"-in",
|
256
210
|
"fake-input-dir",
|
257
|
-
"
|
211
|
+
"-name",
|
258
212
|
"infra/fake-package",
|
259
|
-
"
|
213
|
+
"-out",
|
260
214
|
"fake-package-path",
|
261
|
-
"
|
215
|
+
"-json-output",
|
262
216
|
"/path/to/tmp/json"
|
263
217
|
],
|
264
218
|
"name": "build fake-package",
|
@@ -274,17 +228,17 @@
|
|
274
228
|
},
|
275
229
|
{
|
276
230
|
"cmd": [
|
277
|
-
"
|
231
|
+
"cipd",
|
278
232
|
"pkg-build",
|
279
|
-
"
|
233
|
+
"-in",
|
280
234
|
"fake-input-dir",
|
281
|
-
"
|
235
|
+
"-name",
|
282
236
|
"infra/fake-package",
|
283
|
-
"
|
237
|
+
"-out",
|
284
238
|
"fake-package-path",
|
285
|
-
"
|
239
|
+
"-json-output",
|
286
240
|
"/path/to/tmp/json",
|
287
|
-
"
|
241
|
+
"-install-mode",
|
288
242
|
"copy"
|
289
243
|
],
|
290
244
|
"name": "build fake-package (2)",
|
@@ -300,20 +254,20 @@
|
|
300
254
|
},
|
301
255
|
{
|
302
256
|
"cmd": [
|
303
|
-
"
|
257
|
+
"cipd",
|
304
258
|
"pkg-register",
|
305
259
|
"fake-package-path",
|
306
|
-
"
|
260
|
+
"-json-output",
|
307
261
|
"/path/to/tmp/json",
|
308
|
-
"
|
262
|
+
"-service-account-json",
|
309
263
|
"fake-credentials.json",
|
310
|
-
"
|
264
|
+
"-ref",
|
311
265
|
"fake-ref-1",
|
312
|
-
"
|
266
|
+
"-ref",
|
313
267
|
"fake-ref-2",
|
314
|
-
"
|
268
|
+
"-tag",
|
315
269
|
"fake_tag_1:fake_value_1",
|
316
|
-
"
|
270
|
+
"-tag",
|
317
271
|
"fake_tag_2:fake_value_2"
|
318
272
|
],
|
319
273
|
"name": "register infra/fake-package",
|
@@ -329,21 +283,21 @@
|
|
329
283
|
},
|
330
284
|
{
|
331
285
|
"cmd": [
|
332
|
-
"
|
286
|
+
"cipd",
|
333
287
|
"create",
|
334
|
-
"
|
335
|
-
"[
|
336
|
-
"
|
288
|
+
"-pkg-def",
|
289
|
+
"[START_DIR]/fake-package.yaml",
|
290
|
+
"-json-output",
|
337
291
|
"/path/to/tmp/json",
|
338
|
-
"
|
292
|
+
"-service-account-json",
|
339
293
|
"fake-credentials.json",
|
340
|
-
"
|
294
|
+
"-ref",
|
341
295
|
"fake-ref-1",
|
342
|
-
"
|
296
|
+
"-ref",
|
343
297
|
"fake-ref-2",
|
344
|
-
"
|
298
|
+
"-tag",
|
345
299
|
"fake_tag_1:fake_value_1",
|
346
|
-
"
|
300
|
+
"-tag",
|
347
301
|
"fake_tag_2:fake_value_2"
|
348
302
|
],
|
349
303
|
"name": "create fake-package.yaml",
|
@@ -354,18 +308,18 @@
|
|
354
308
|
},
|
355
309
|
{
|
356
310
|
"cmd": [
|
357
|
-
"
|
311
|
+
"cipd",
|
358
312
|
"set-tag",
|
359
313
|
"fake-package",
|
360
|
-
"
|
314
|
+
"-version",
|
361
315
|
"long/weird/ref/which/doesn/not/fit/into/40chars",
|
362
|
-
"
|
316
|
+
"-json-output",
|
363
317
|
"/path/to/tmp/json",
|
364
|
-
"
|
318
|
+
"-service-account-json",
|
365
319
|
"fake-credentials.json",
|
366
|
-
"
|
320
|
+
"-tag",
|
367
321
|
"dead:beaf",
|
368
|
-
"
|
322
|
+
"-tag",
|
369
323
|
"more:value"
|
370
324
|
],
|
371
325
|
"name": "cipd set-tag fake-package",
|
@@ -384,18 +338,18 @@
|
|
384
338
|
},
|
385
339
|
{
|
386
340
|
"cmd": [
|
387
|
-
"
|
341
|
+
"cipd",
|
388
342
|
"set-ref",
|
389
343
|
"fake-package",
|
390
|
-
"
|
344
|
+
"-version",
|
391
345
|
"latest",
|
392
|
-
"
|
346
|
+
"-json-output",
|
393
347
|
"/path/to/tmp/json",
|
394
|
-
"
|
348
|
+
"-service-account-json",
|
395
349
|
"fake-credentials.json",
|
396
|
-
"
|
350
|
+
"-ref",
|
397
351
|
"any",
|
398
|
-
"
|
352
|
+
"-ref",
|
399
353
|
"some"
|
400
354
|
],
|
401
355
|
"name": "cipd set-ref fake-package",
|
@@ -414,14 +368,14 @@
|
|
414
368
|
},
|
415
369
|
{
|
416
370
|
"cmd": [
|
417
|
-
"
|
371
|
+
"cipd",
|
418
372
|
"search",
|
419
373
|
"fake-package/linux-amd64",
|
420
|
-
"
|
374
|
+
"-tag",
|
421
375
|
"dead:beaf",
|
422
|
-
"
|
376
|
+
"-json-output",
|
423
377
|
"/path/to/tmp/json",
|
424
|
-
"
|
378
|
+
"-service-account-json",
|
425
379
|
"fake-credentials.json"
|
426
380
|
],
|
427
381
|
"name": "cipd search fake-package/linux-amd64 dead:beaf",
|