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
data/vendor/depot_tools/pylintrc
CHANGED
@@ -33,64 +33,91 @@ load-plugins=
|
|
33
33
|
# can either give multiple identifier separated by comma (,) or put this option
|
34
34
|
# multiple time (only on the command line, not in the configuration file where
|
35
35
|
# it should appear only once).
|
36
|
-
# CHANGED:
|
37
|
-
# C0103: Invalid name ""
|
38
|
-
# C0111: Missing docstring
|
39
|
-
# C0302: Too many lines in module (N)
|
40
|
-
# I0010: Unable to consider inline option ''
|
41
|
-
# I0011: Locally disabling WNNNN
|
42
36
|
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
37
|
+
# These should get enabled, but the codebase has too many violations currently:
|
38
|
+
# bad-continuation
|
39
|
+
# anomalous-backslash-in-string
|
40
|
+
# bad-context-manager
|
41
|
+
# bad-indentation
|
42
|
+
# bad-str-strip-call
|
43
|
+
# bad-whitespace
|
44
|
+
# cell-var-from-loop
|
45
|
+
# deprecated-lambda
|
46
|
+
# eval-used
|
47
|
+
# function-redefined
|
48
|
+
# import-error
|
49
|
+
# locally-enabled
|
50
|
+
# missing-final-newline
|
51
|
+
# no-init
|
52
|
+
# no-name-in-module
|
53
|
+
# no-self-use
|
54
|
+
# not-callable
|
55
|
+
# old-style-class
|
56
|
+
# protected-access
|
57
|
+
# superfluous-parens
|
58
|
+
# super-on-old-class
|
59
|
+
# too-many-function-args
|
60
|
+
# trailing-whitespace
|
61
|
+
# unnecessary-semicolon
|
62
|
+
# unpacking-non-sequence
|
63
|
+
# unused-import
|
64
|
+
# useless-else-on-loop
|
64
65
|
#
|
65
|
-
#
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
66
|
+
# CHANGED:
|
67
|
+
disable=
|
68
|
+
invalid-name,
|
69
|
+
missing-docstring,
|
70
|
+
too-many-lines,
|
71
|
+
bad-inline-option,
|
72
|
+
locally-disabled,
|
73
|
+
duplicate-code,
|
74
|
+
too-many-ancestors,
|
75
|
+
too-many-instance-attributes,
|
76
|
+
too-few-public-methods,
|
77
|
+
too-many-public-methods,
|
78
|
+
too-many-return-statements,
|
79
|
+
too-many-branches,
|
80
|
+
too-many-arguments,
|
81
|
+
too-many-locals,
|
82
|
+
too-many-statements,
|
83
|
+
abstract-class-not-used,
|
84
|
+
abstract-class-little-used,
|
85
|
+
exec-used,
|
86
|
+
bad-builtin,
|
87
|
+
star-args,
|
88
|
+
deprecated-module,
|
89
|
+
reimported,
|
90
|
+
fixme,
|
91
|
+
global-statement,
|
92
|
+
broad-except,
|
93
|
+
logging-not-lazy,
|
94
|
+
bad-continuation,
|
95
|
+
anomalous-backslash-in-string,
|
96
|
+
bad-context-manager,
|
97
|
+
bad-indentation,
|
98
|
+
bad-str-strip-call,
|
99
|
+
bad-whitespace,
|
100
|
+
cell-var-from-loop,
|
101
|
+
deprecated-lambda,
|
102
|
+
eval-used,
|
103
|
+
function-redefined,
|
104
|
+
import-error,
|
105
|
+
locally-enabled,
|
106
|
+
missing-final-newline,
|
107
|
+
no-init,
|
108
|
+
no-name-in-module,
|
109
|
+
no-self-use,
|
110
|
+
not-callable,
|
111
|
+
old-style-class,
|
112
|
+
protected-access,
|
113
|
+
superfluous-parens,
|
114
|
+
super-on-old-class,
|
115
|
+
too-many-function-args,
|
116
|
+
trailing-whitespace,
|
117
|
+
unnecessary-semicolon,
|
118
|
+
unpacking-non-sequence,
|
119
|
+
unused-import,
|
120
|
+
useless-else-on-loop
|
94
121
|
|
95
122
|
|
96
123
|
[REPORTS]
|
@@ -0,0 +1 @@
|
|
1
|
+
recipe-roller@chromium.org
|
@@ -15,18 +15,27 @@ from recipe_engine.recipe_api import Property
|
|
15
15
|
from recipe_engine.types import freeze
|
16
16
|
|
17
17
|
PROPERTIES = {
|
18
|
-
|
19
|
-
'
|
20
|
-
'
|
18
|
+
# Gerrit patches will have all properties about them prefixed with patch_.
|
19
|
+
'patch_issue': Property(default=None), # TODO(tandrii): add kind=int.
|
20
|
+
'patch_set': Property(default=None), # TODO(tandrii): add kind=int.
|
21
|
+
'patch_project': Property(default=None), # Also used by Rietveld.
|
22
|
+
'patch_gerrit_url': Property(default=None),
|
23
|
+
'patch_repository_url': Property(default=None),
|
24
|
+
'patch_ref': Property(default=None),
|
25
|
+
|
26
|
+
# TODO(tAndrii): remove legacy Gerrit fields.
|
27
|
+
# Legacy Gerrit fields.
|
28
|
+
'event.patchSet.ref': Property(default=None, param_name='gerrit_ref'),
|
29
|
+
|
30
|
+
# Rietveld-only fields.
|
31
|
+
'rietveld': Property(default=None), # Stores Url of Rietveld server.
|
21
32
|
'issue': Property(default=None),
|
22
33
|
'patchset': Property(default=None),
|
23
|
-
'patch_url': Property(default=None),
|
24
|
-
'patch_project': Property(default=None),
|
25
34
|
'repository': Property(default=None),
|
26
|
-
|
27
|
-
|
28
|
-
'revision': Property(default=None),
|
29
|
-
'parent_got_revision': Property(default=None),
|
35
|
+
|
36
|
+
# Common fields for both systems.
|
30
37
|
'deps_revision_overrides': Property(default=freeze({})),
|
31
38
|
'fail_patch': Property(default=None, kind=str),
|
39
|
+
'parent_got_revision': Property(default=None),
|
40
|
+
'revision': Property(default=None),
|
32
41
|
}
|
@@ -3,25 +3,22 @@
|
|
3
3
|
# found in the LICENSE file.
|
4
4
|
|
5
5
|
|
6
|
-
"""Recipe module to ensure a checkout is
|
6
|
+
"""Recipe module to ensure a checkout is consistent on a bot."""
|
7
7
|
|
8
8
|
from recipe_engine import recipe_api
|
9
9
|
|
10
10
|
|
11
11
|
class BotUpdateApi(recipe_api.RecipeApi):
|
12
12
|
|
13
|
-
def __init__(self,
|
14
|
-
|
15
|
-
|
16
|
-
*args, **kwargs):
|
17
|
-
self.
|
18
|
-
self.
|
19
|
-
self.
|
20
|
-
self.
|
21
|
-
self.
|
22
|
-
self._patch_url = patch_url
|
23
|
-
self._repository = repository
|
24
|
-
self._gerrit_ref = gerrit_ref
|
13
|
+
def __init__(self, issue, patch_issue, patchset, patch_set, patch_project,
|
14
|
+
repository, patch_repository_url, gerrit_ref, patch_ref,
|
15
|
+
patch_gerrit_url, rietveld, revision, parent_got_revision,
|
16
|
+
deps_revision_overrides, fail_patch, *args, **kwargs):
|
17
|
+
self._issue = issue or patch_issue
|
18
|
+
self._patchset = patchset or patch_set
|
19
|
+
self._repository = repository or patch_repository_url
|
20
|
+
self._gerrit_ref = gerrit_ref or patch_ref
|
21
|
+
self._gerrit = patch_gerrit_url
|
25
22
|
self._rietveld = rietveld
|
26
23
|
self._revision = revision
|
27
24
|
self._parent_got_revision = parent_got_revision
|
@@ -40,6 +37,11 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
40
37
|
kwargs['env'].setdefault('PATH', '%(PATH)s')
|
41
38
|
kwargs['env']['PATH'] = self.m.path.pathsep.join([
|
42
39
|
kwargs['env']['PATH'], str(self._module.PACKAGE_REPO_ROOT)])
|
40
|
+
# These are to prevent git from hanging. If the git connection is slower
|
41
|
+
# than 1KB/s for more than 5 minutes then git will kill the connection
|
42
|
+
# and die with an error "error: RPC failed; curl 28 Operation too slow"
|
43
|
+
kwargs['env']['GIT_HTTP_LOW_SPEED_LIMIT'] = 1000
|
44
|
+
kwargs['env']['GIT_HTTP_LOW_SPEED_TIME'] = 300
|
43
45
|
return self.m.python(name, bot_update_path, cmd, **kwargs)
|
44
46
|
|
45
47
|
@property
|
@@ -47,11 +49,9 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
47
49
|
return self._last_returned_properties
|
48
50
|
|
49
51
|
# DO NOT USE.
|
50
|
-
#
|
51
|
-
# tryserver.maybe_apply_issue (skbug.com/5588).
|
52
|
+
# TODO(tandrii): refactor this into tryserver.maybe_apply_patch
|
52
53
|
def apply_gerrit_ref(self, root, gerrit_no_reset=False,
|
53
|
-
gerrit_no_rebase_patch_ref=False,
|
54
|
-
gerrit_rebase_patch_ref=True, **kwargs):
|
54
|
+
gerrit_no_rebase_patch_ref=False, **kwargs):
|
55
55
|
apply_gerrit_path = self.resource('apply_gerrit.py')
|
56
56
|
kwargs.setdefault('infra_step', True)
|
57
57
|
kwargs.setdefault('env', {}).setdefault('PATH', '%(PATH)s')
|
@@ -64,20 +64,20 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
64
64
|
]
|
65
65
|
if gerrit_no_reset:
|
66
66
|
cmd.append('--gerrit_no_reset')
|
67
|
-
if gerrit_no_rebase_patch_ref
|
67
|
+
if gerrit_no_rebase_patch_ref:
|
68
68
|
cmd.append('--gerrit_no_rebase_patch_ref')
|
69
69
|
return self.m.python('apply_gerrit', apply_gerrit_path, cmd, **kwargs)
|
70
70
|
|
71
71
|
def ensure_checkout(self, gclient_config=None, suffix=None,
|
72
72
|
patch=True, update_presentation=True,
|
73
|
-
|
73
|
+
patch_root=None, no_shallow=False,
|
74
74
|
with_branch_heads=False, refs=None,
|
75
|
-
patch_oauth2=False,
|
75
|
+
patch_oauth2=False, oauth2_json=False,
|
76
|
+
use_site_config_creds=True,
|
76
77
|
output_manifest=True, clobber=False,
|
77
78
|
root_solution_revision=None, rietveld=None, issue=None,
|
78
79
|
patchset=None, gerrit_no_reset=False,
|
79
|
-
gerrit_no_rebase_patch_ref=False,
|
80
|
-
gerrit_rebase_patch_ref=True, **kwargs):
|
80
|
+
gerrit_no_rebase_patch_ref=False, **kwargs):
|
81
81
|
"""
|
82
82
|
Args:
|
83
83
|
use_site_config_creds: If the oauth2 credentials are in the buildbot
|
@@ -98,10 +98,8 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
98
98
|
assert cfg is not None, (
|
99
99
|
'missing gclient_config or forgot api.gclient.set_config(...) before?')
|
100
100
|
|
101
|
-
#
|
102
|
-
|
103
|
-
builder = self._buildername
|
104
|
-
slave = self._slavename
|
101
|
+
# Only one of these should exist.
|
102
|
+
assert not (oauth2_json and patch_oauth2)
|
105
103
|
|
106
104
|
# Construct our bot_update command. This basically be inclusive of
|
107
105
|
# everything required for bot_update to know:
|
@@ -113,13 +111,12 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
113
111
|
if patch:
|
114
112
|
issue = issue or self._issue
|
115
113
|
patchset = patchset or self._patchset
|
116
|
-
patch_url = self._patch_url
|
117
114
|
gerrit_repo = self._repository
|
118
115
|
gerrit_ref = self._gerrit_ref
|
119
116
|
else:
|
120
117
|
# The trybot recipe sometimes wants to de-apply the patch. In which case
|
121
|
-
# we pretend the issue/patchset
|
122
|
-
issue = patchset =
|
118
|
+
# we pretend the issue/patchset never existed.
|
119
|
+
issue = patchset = email_file = key_file = None
|
123
120
|
gerrit_repo = gerrit_ref = None
|
124
121
|
|
125
122
|
# Issue and patchset must come together.
|
@@ -127,31 +124,43 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
127
124
|
assert patchset
|
128
125
|
if patchset:
|
129
126
|
assert issue
|
130
|
-
if patch_url:
|
131
|
-
# If patch_url is present, bot_update will actually ignore issue/ps.
|
132
|
-
issue = patchset = None
|
133
127
|
|
134
128
|
# The gerrit_ref and gerrit_repo must be together or not at all. If one is
|
135
129
|
# missing, clear both of them.
|
136
130
|
if not gerrit_ref or not gerrit_repo:
|
137
131
|
gerrit_repo = gerrit_ref = None
|
138
132
|
assert (gerrit_ref != None) == (gerrit_repo != None)
|
133
|
+
if gerrit_ref:
|
134
|
+
# Gerrit patches have historically not specified issue and patchset.
|
135
|
+
# resourece/bot_update has as a result implicit assumption that set issue
|
136
|
+
# implies Rietveld patch.
|
137
|
+
# TODO(tandrii): fix this madness.
|
138
|
+
issue = patchset = None
|
139
139
|
|
140
140
|
# Point to the oauth2 auth files if specified.
|
141
141
|
# These paths are where the bots put their credential files.
|
142
|
-
|
142
|
+
oauth2_json_file = email_file = key_file = None
|
143
|
+
if oauth2_json:
|
144
|
+
if self.m.platform.is_win:
|
145
|
+
oauth2_json_file = 'C:\\creds\\refresh_tokens\\internal-try'
|
146
|
+
else:
|
147
|
+
oauth2_json_file = '/creds/refresh_tokens/internal-try'
|
148
|
+
elif patch_oauth2:
|
143
149
|
# TODO(martiniss): remove this hack :(. crbug.com/624212
|
144
150
|
if use_site_config_creds:
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
151
|
+
try:
|
152
|
+
build_path = self.m.path['build']
|
153
|
+
except KeyError:
|
154
|
+
raise self.m.step.StepFailure(
|
155
|
+
'build path is not defined. This is normal for LUCI builds. '
|
156
|
+
'In LUCI, use_site_config_creds parameter of '
|
157
|
+
'bot_update.ensure_checkout is not supported')
|
158
|
+
email_file = build_path.join('site_config', '.rietveld_client_email')
|
159
|
+
key_file = build_path.join('site_config', '.rietveld_secret_key')
|
149
160
|
else: #pragma: no cover
|
150
161
|
#TODO(martiniss): make this use path.join, so it works on windows
|
151
162
|
email_file = '/creds/rietveld/client_email'
|
152
163
|
key_file = '/creds/rietveld/secret_key'
|
153
|
-
else:
|
154
|
-
email_file = key_file = None
|
155
164
|
|
156
165
|
# Allow patch_project's revision if necessary.
|
157
166
|
# This is important for projects which are checked out as DEPS of the
|
@@ -162,28 +171,23 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
162
171
|
rev_map = cfg.got_revision_mapping.as_jsonish()
|
163
172
|
|
164
173
|
flags = [
|
165
|
-
#
|
166
|
-
['--master', master],
|
167
|
-
['--builder', builder],
|
168
|
-
['--slave', slave],
|
169
|
-
|
170
|
-
# 2. What do we want to check out (spec/root/rev/rev_map).
|
174
|
+
# What do we want to check out (spec/root/rev/rev_map).
|
171
175
|
['--spec', self.m.gclient.config_to_pythonish(cfg)],
|
172
|
-
['--
|
176
|
+
['--patch_root', root],
|
173
177
|
['--revision_mapping_file', self.m.json.input(rev_map)],
|
174
178
|
['--git-cache-dir', cfg.cache_dir],
|
175
179
|
|
176
|
-
#
|
180
|
+
# How to find the patch, if any (issue/patchset).
|
177
181
|
['--issue', issue],
|
178
182
|
['--patchset', patchset],
|
179
|
-
['--patch_url', patch_url],
|
180
183
|
['--rietveld_server', rietveld or self._rietveld],
|
181
184
|
['--gerrit_repo', gerrit_repo],
|
182
185
|
['--gerrit_ref', gerrit_ref],
|
183
186
|
['--apply_issue_email_file', email_file],
|
184
187
|
['--apply_issue_key_file', key_file],
|
188
|
+
['--apply_issue_oauth2_file', oauth2_json_file],
|
185
189
|
|
186
|
-
#
|
190
|
+
# Hookups to JSON output back into recipes.
|
187
191
|
['--output_json', self.m.json.output()],]
|
188
192
|
|
189
193
|
|
@@ -223,8 +227,6 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
223
227
|
|
224
228
|
if clobber:
|
225
229
|
cmd.append('--clobber')
|
226
|
-
if force:
|
227
|
-
cmd.append('--force')
|
228
230
|
if no_shallow:
|
229
231
|
cmd.append('--no_shallow')
|
230
232
|
if output_manifest:
|
@@ -233,14 +235,13 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
233
235
|
cmd.append('--with_branch_heads')
|
234
236
|
if gerrit_no_reset:
|
235
237
|
cmd.append('--gerrit_no_reset')
|
236
|
-
if gerrit_no_rebase_patch_ref
|
238
|
+
if gerrit_no_rebase_patch_ref:
|
237
239
|
cmd.append('--gerrit_no_rebase_patch_ref')
|
238
240
|
|
239
241
|
# Inject Json output for testing.
|
240
242
|
first_sln = cfg.solutions[0].name
|
241
243
|
step_test_data = lambda: self.test_api.output_json(
|
242
|
-
|
243
|
-
self._fail_patch,
|
244
|
+
root, first_sln, rev_map, self._fail_patch,
|
244
245
|
output_manifest=output_manifest, fixed_revisions=fixed_revisions)
|
245
246
|
|
246
247
|
# Add suffixes to the step name, if specified.
|
@@ -310,7 +311,7 @@ class BotUpdateApi(recipe_api.RecipeApi):
|
|
310
311
|
# first solution.
|
311
312
|
if step_result.json.output['did_run']:
|
312
313
|
co_root = step_result.json.output['root']
|
313
|
-
cwd =
|
314
|
+
cwd = self.m.step.get_from_context('cwd', self.m.path['start_dir'])
|
314
315
|
if 'checkout' not in self.m.path:
|
315
316
|
self.m.path['checkout'] = cwd.join(*co_root.split(self.m.path.sep))
|
316
317
|
|
@@ -4,15 +4,9 @@
|
|
4
4
|
"python",
|
5
5
|
"-u",
|
6
6
|
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
7
|
-
"--master",
|
8
|
-
"chromium.linux",
|
9
|
-
"--builder",
|
10
|
-
"Linux Builder",
|
11
|
-
"--slave",
|
12
|
-
"totallyaslave-m1",
|
13
7
|
"--spec",
|
14
8
|
"cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]",
|
15
|
-
"--
|
9
|
+
"--patch_root",
|
16
10
|
"src",
|
17
11
|
"--revision_mapping_file",
|
18
12
|
"{\"src\": \"got_cr_revision\"}",
|
@@ -24,6 +18,8 @@
|
|
24
18
|
"src@abc"
|
25
19
|
],
|
26
20
|
"env": {
|
21
|
+
"GIT_HTTP_LOW_SPEED_LIMIT": "1000",
|
22
|
+
"GIT_HTTP_LOW_SPEED_TIME": "300",
|
27
23
|
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
28
24
|
},
|
29
25
|
"name": "bot_update (without patch)",
|