libv8 5.7.492.65.1 → 5.9.211.38.0beta0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +8 -2
- data/CHANGELOG.md +4 -0
- data/README.md +4 -3
- data/Rakefile +27 -10
- data/ext/libv8/builder.rb +4 -0
- data/lib/libv8/version.rb +1 -1
- data/libv8.gemspec +1 -1
- data/patches/0001-Build-a-standalone-static-library.patch +5 -5
- data/patches/0002-Don-t-compile-unnecessary-stuff.patch +20 -24
- data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +5 -5
- data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +5 -5
- data/patches/0005-Fix-GCC-7-build-errors.patch +147 -0
- data/scaleway.png +0 -0
- data/vendor/depot_tools/.gitattributes +52 -0
- data/vendor/depot_tools/.gitignore +10 -0
- data/vendor/depot_tools/README.md +7 -3
- data/vendor/depot_tools/apply_issue.bat +4 -3
- data/vendor/depot_tools/apply_issue.py +0 -10
- data/vendor/depot_tools/autoninja +12 -0
- data/vendor/depot_tools/autoninja.bat +9 -0
- data/vendor/depot_tools/autoninja.py +70 -0
- data/vendor/depot_tools/bootstrap/win/README.md +108 -26
- data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +3 -3
- data/vendor/depot_tools/bootstrap/win/git.template.bat +2 -2
- data/vendor/depot_tools/bootstrap/win/manifest.txt +18 -0
- data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +18 -0
- data/vendor/depot_tools/bootstrap/win/python27.new.bat +49 -0
- data/vendor/depot_tools/bootstrap/win/win_tools.bat +55 -59
- data/vendor/depot_tools/bootstrap/win/win_tools.py +335 -0
- data/vendor/depot_tools/cipd +16 -2
- data/vendor/depot_tools/cipd.bat +20 -2
- data/vendor/depot_tools/cipd.ps1 +36 -22
- data/vendor/depot_tools/cipd_bin_setup.bat +6 -0
- data/vendor/depot_tools/cipd_bin_setup.sh +10 -0
- data/vendor/depot_tools/cipd_client_version +1 -1
- data/vendor/depot_tools/cipd_manifest.txt +9 -0
- data/vendor/depot_tools/cit.bat +12 -11
- data/vendor/depot_tools/clang-format.bat +4 -3
- data/vendor/depot_tools/clang_format_merge_driver.bat +12 -11
- data/vendor/depot_tools/commit_queue.bat +4 -3
- data/vendor/depot_tools/cpplint.bat +9 -3
- data/vendor/depot_tools/cpplint.py +3 -3
- data/vendor/depot_tools/depot-tools-auth.bat +4 -3
- data/vendor/depot_tools/download_from_google_storage.bat +5 -3
- data/vendor/depot_tools/download_from_google_storage.py +6 -1
- data/vendor/depot_tools/fetch.bat +5 -4
- data/vendor/depot_tools/fetch.py +4 -5
- data/vendor/depot_tools/gclient-new-workdir.py +82 -46
- data/vendor/depot_tools/gclient.bat +5 -4
- data/vendor/depot_tools/gclient.py +713 -319
- data/vendor/depot_tools/gclient_eval.py +284 -0
- data/vendor/depot_tools/gclient_utils.py +70 -4
- data/vendor/depot_tools/gerrit_client.py +26 -1
- data/vendor/depot_tools/gerrit_util.py +120 -127
- data/vendor/depot_tools/git-crrev-parse +1 -0
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git_cl.py +731 -415
- data/vendor/depot_tools/git_common.py +23 -3
- data/vendor/depot_tools/git_drover.py +10 -1
- data/vendor/depot_tools/git_footers.py +62 -22
- data/vendor/depot_tools/git_hyper_blame.py +3 -2
- data/vendor/depot_tools/git_map.py +30 -3
- data/vendor/depot_tools/git_map_branches.py +18 -4
- data/vendor/depot_tools/git_number.py +8 -2
- data/vendor/depot_tools/git_retry.py +21 -0
- data/vendor/depot_tools/gn.bat +4 -3
- data/vendor/depot_tools/infra/config/cq.cfg +1 -5
- data/vendor/depot_tools/infra/config/recipes.cfg +18 -16
- data/vendor/depot_tools/led +12 -0
- data/vendor/depot_tools/led.bat +7 -0
- data/vendor/depot_tools/man/html/git-cl.html +9 -1
- data/vendor/depot_tools/man/html/git-drover.html +22 -18
- data/vendor/depot_tools/man/man1/git-cl.1 +8 -3
- data/vendor/depot_tools/man/man1/git-drover.1 +22 -20
- data/vendor/depot_tools/man/src/git-cl.txt +3 -0
- data/vendor/depot_tools/man/src/git-drover.txt +8 -0
- data/vendor/depot_tools/my_activity.py +8 -5
- data/vendor/depot_tools/owners.py +103 -11
- data/vendor/depot_tools/owners_finder.py +14 -2
- data/vendor/depot_tools/presubmit_canned_checks.py +25 -67
- data/vendor/depot_tools/presubmit_support.py +87 -35
- data/vendor/depot_tools/recipes/OWNERS +2 -0
- data/vendor/depot_tools/recipes/README.recipes.md +842 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +5 -3
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +181 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.expected → examples/full.expected}/apply_gerrit_ref.json +4 -2
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic.json +82 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_with_branch_heads.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/buildbot.json +82 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/clobber.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +122 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_rebase_patch_ref.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_reset.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_shallow.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/reset_root_solution_revision.json +148 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange.json +150 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.expected → examples/full.expected}/trychange_oauth2.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_buildbot.json +152 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json.json +150 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +150 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +156 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +91 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +118 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +118 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle.json +202 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +158 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_feature_branch.json +196 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8.json +202 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8_feature_branch.json +202 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +162 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +162 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_tags.json +149 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.py → examples/full.py} +46 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +139 -133
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +25 -13
- data/vendor/depot_tools/recipes/recipe_modules/cipd/api.py +40 -9
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/basic_pkg.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/describe-failed.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/describe-many-instances.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/mac64.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_file.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_mode.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_verfile.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/win64.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.py → examples/full.py} +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk arch.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk bits.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_32.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_32.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_mips_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/mac_intel_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_32.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_64.json +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.py +59 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/api.py +5 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.expected → examples/full.expected}/basic.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.expected → examples/full.expected}/win.json +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.py → examples/full.py} +2 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/__init__.py +1 -4
- data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +28 -14
- data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +10 -235
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/basic.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/buildbot.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/revision.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/tryserver.json +9 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.py → examples/full.py} +5 -21
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/patch_project.py +45 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/__init__.py +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +97 -2
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +283 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/{example.py → examples/full.py} +31 -2
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/test_api.py +30 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/__init__.py +1 -4
- data/vendor/depot_tools/recipes/recipe_modules/git/api.py +7 -35
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_branch.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_file_name.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_hash.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_ref.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_submodule_update_force.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/can_fail_build.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/cannot_fail_build.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/cat-file_test.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_delta.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_failed.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_with_bad_output.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_with_bad_output_fails_build.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/curl_trace_file.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/git-cache-checkout.json +6 -6
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/platform_win.json +223 -0
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/rebase_failed.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/remote_not_origin.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/set_got_revision.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/git/{example.py → examples/full.py} +2 -1
- data/vendor/depot_tools/recipes/recipe_modules/git/resources/git_setup.py +12 -21
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/__init__.py +1 -4
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/api.py +13 -11
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/{example.py → examples/full.py} +4 -2
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/OWNERS +3 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/__init__.py +7 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/api.py +135 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/examples/full.expected/basic.json +537 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/examples/full.py +61 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/resources/gerrit_client.py +192 -0
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/test_api.py +95 -0
- data/vendor/depot_tools/recipes/recipe_modules/gsutil/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/gsutil/{example.py → examples/full.py} +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/__init__.py +0 -3
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/basic.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_linux.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_mac.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_win.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_generic_linux.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_generic_mac.json +3 -2
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_generic_win.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_linux.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_mac.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_win.json +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.py → examples/full.py} +2 -1
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/path_config.py +12 -3
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/__init__.py +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/api.py +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/{example.expected → examples/full.expected}/basic.json +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/{example.py → examples/full.py} +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/__init__.py +0 -4
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.expected → examples/full.expected}/basic.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.expected → examples/full.expected}/buildbot.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/no_auth.json +27 -0
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.py → examples/full.py} +9 -1
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/__init__.py +3 -5
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +21 -96
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/basic_tags.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/set_failure_hash_with_no_steps.json +0 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch.json +56 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected/with_gerrit_patch_deprecated.json → examples/full.expected/with_git_patch.json} +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected/with_gerrit_patch.json → examples/full.expected/with_git_patch_luci.json} +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_rietveld_patch.json +0 -20
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_rietveld_patch_new.json +0 -20
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_wrong_patch.json +1 -13
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_wrong_patch_new.json +1 -13
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.py → examples/full.py} +3 -17
- data/vendor/depot_tools/recipes/recipes.py +141 -96
- data/vendor/depot_tools/rietveld.py +8 -1
- data/vendor/depot_tools/roll-dep-svn.bat +12 -10
- data/vendor/depot_tools/roll-dep.bat +5 -3
- data/vendor/depot_tools/scm.py +8 -1
- data/vendor/depot_tools/setup_color.py +0 -0
- data/vendor/depot_tools/split_cl.py +193 -0
- data/vendor/depot_tools/third_party/schema/.editorconfig +15 -0
- data/vendor/depot_tools/third_party/schema/.gitignore +174 -0
- data/vendor/depot_tools/third_party/schema/.travis.yml +37 -0
- data/vendor/depot_tools/third_party/schema/LICENSE-MIT +19 -0
- data/vendor/depot_tools/third_party/schema/MANIFEST.in +1 -0
- data/vendor/depot_tools/third_party/schema/README.chromium +12 -0
- data/vendor/depot_tools/third_party/schema/README.rst +382 -0
- data/vendor/depot_tools/third_party/schema/__init__.py +1 -0
- data/vendor/depot_tools/third_party/schema/schema.py +338 -0
- data/vendor/depot_tools/third_party/schema/setup.cfg +5 -0
- data/vendor/depot_tools/third_party/schema/setup.py +30 -0
- data/vendor/depot_tools/third_party/schema/test_schema.py +556 -0
- data/vendor/depot_tools/third_party/schema/tox.ini +33 -0
- data/vendor/depot_tools/third_party/upload.py +4 -0
- data/vendor/depot_tools/update_depot_tools +4 -16
- data/vendor/depot_tools/update_depot_tools.bat +4 -17
- data/vendor/depot_tools/update_depot_tools_toggle.py +38 -0
- data/vendor/depot_tools/vpython +12 -0
- data/vendor/depot_tools/vpython.bat +7 -0
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +17 -5
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +63 -33
- metadata +161 -113
- data/vendor/depot_tools/bootstrap/gclient.bat +0 -22
- data/vendor/depot_tools/bootstrap/win/get_file.js +0 -119
- data/vendor/depot_tools/bootstrap/win/git_bootstrap.py +0 -193
- data/vendor/depot_tools/bootstrap/win/git_version.txt +0 -1
- data/vendor/depot_tools/bootstrap/win/git_version_bleeding_edge.txt +0 -1
- data/vendor/depot_tools/bootstrap/win/python276.new.bat +0 -8
- data/vendor/depot_tools/bootstrap/win/svn.new.bat +0 -4
- data/vendor/depot_tools/bootstrap/win/svnversion.new.bat +0 -4
- data/vendor/depot_tools/bootstrap/win/unzip.js +0 -91
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic.json +0 -53
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic_output_manifest.json +0 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/buildbot.json +0 -53
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/clobber.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/no_shallow.json +0 -54
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +0 -53
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange.json +0 -55
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json +0 -57
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json +0 -55
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +0 -55
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob.json +0 -59
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail.json +0 -62
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +0 -83
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +0 -84
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +0 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json +0 -60
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_v8.json +0 -62
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +0 -62
- data/vendor/depot_tools/recipes/recipe_modules/gclient/bundle_extra_paths.txt +0 -4
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/example.expected/basic.json +0 -66
- data/vendor/depot_tools/recipes/recipe_modules/git/bundle_extra_paths.txt +0 -28
- data/vendor/depot_tools/recipes/recipe_modules/git/example.expected/platform_win.json +0 -237
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_generic_win.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/bundle_extra_paths.txt +0 -30
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/example.expected/with_git_patch.json +0 -109
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/example.expected/with_git_patch_luci.json +0 -8
data/scaleway.png
ADDED
Binary file
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# The `recipes` attribute controls which additional files are included in the
|
2
|
+
# recipes bundle when running the `//recipes/recipes.py bundle` command. These
|
3
|
+
# files will also be available to other repos' recipes when they pull in
|
4
|
+
# depot_tools as a recipe dependency.
|
5
|
+
|
6
|
+
# Tools
|
7
|
+
/*.bat recipes
|
8
|
+
/*.exe recipes
|
9
|
+
/*.py recipes
|
10
|
+
/*.sh recipes
|
11
|
+
|
12
|
+
# Extensionless tools we want
|
13
|
+
/apply_issue recipes
|
14
|
+
/clang* recipes
|
15
|
+
/depot-tools-auth recipes
|
16
|
+
/download_from_google_storage recipes
|
17
|
+
/fetch recipes
|
18
|
+
/gclient recipes
|
19
|
+
/git* recipes
|
20
|
+
/gn recipes
|
21
|
+
/ninja* recipes
|
22
|
+
/pylint* recipes
|
23
|
+
/repo recipes
|
24
|
+
/roll-dep* recipes
|
25
|
+
|
26
|
+
# Symlinks
|
27
|
+
/cbuildbot recipes
|
28
|
+
/chrome_set_ver recipes
|
29
|
+
/cros* recipes
|
30
|
+
|
31
|
+
/support/* recipes
|
32
|
+
|
33
|
+
# TODO: There are some really junky dependencies in here that we should probably
|
34
|
+
# move to vpython/cipd.
|
35
|
+
/third_party/** recipes
|
36
|
+
/third_party/pymox/** -recipes
|
37
|
+
/third_party/cq_client/testdata/** -recipes
|
38
|
+
|
39
|
+
/win_toolchain/** recipes
|
40
|
+
|
41
|
+
/fetch_configs/*.py recipes
|
42
|
+
|
43
|
+
# Some things we never need to include in the bundle
|
44
|
+
*.diff -recipes
|
45
|
+
*LICENSE* -recipes
|
46
|
+
*README* -recipes
|
47
|
+
.gitattributes -recipes
|
48
|
+
.gitignore -recipes
|
49
|
+
COPYING -recipes
|
50
|
+
MANIFEST.in -recipes
|
51
|
+
OWNERS -recipes
|
52
|
+
PKG-INFO -recipes
|
@@ -2,9 +2,13 @@
|
|
2
2
|
*.pyc
|
3
3
|
|
4
4
|
# ignore cipd client files
|
5
|
+
/.cipd_bin
|
5
6
|
/.cipd_client*
|
6
7
|
/.versions
|
7
8
|
|
9
|
+
# Ignore "disable auto update" sentinel file.
|
10
|
+
.disable_auto_update
|
11
|
+
|
8
12
|
# Ignore the batch files produced by the Windows bootstrapping.
|
9
13
|
/git-bash
|
10
14
|
/git.bat
|
@@ -18,6 +22,7 @@
|
|
18
22
|
/svn
|
19
23
|
/svn.bat
|
20
24
|
/svnversion.bat
|
25
|
+
/.bleeding_edge
|
21
26
|
/.codereview_upload_cookies
|
22
27
|
/.gitconfig
|
23
28
|
/.git_bleeding_edge
|
@@ -28,6 +33,8 @@
|
|
28
33
|
|
29
34
|
# Ignore locations where third-party tools are placed during bootstrapping.
|
30
35
|
/python*_bin
|
36
|
+
/python_bin_reldir.txt
|
37
|
+
/win_tools*_bin
|
31
38
|
/git_bin
|
32
39
|
/git-*_bin
|
33
40
|
/svn_bin
|
@@ -67,3 +74,6 @@
|
|
67
74
|
|
68
75
|
# Ignore google AE downloaded for running testing only.
|
69
76
|
testing_support/google_appengine
|
77
|
+
|
78
|
+
# Ignore emacs / vim backup files.
|
79
|
+
*~
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# depot_tools
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
Tools for working with Chromium development. It requires python 2.7.
|
4
|
+
|
5
5
|
|
6
6
|
|
7
7
|
## Tools
|
@@ -32,7 +32,7 @@ disable auto update, set the environment variable `DEPOT_TOOLS_UPDATE=0`.
|
|
32
32
|
To update package manually, run `update_depot_tools.bat` on Windows,
|
33
33
|
or `./update_depot_tools` on Linux or Mac.
|
34
34
|
|
35
|
-
On Windows only, running `gclient` will install `git` and `python`.
|
35
|
+
On Windows only, running `gclient` will install `git` and `python`.
|
36
36
|
|
37
37
|
|
38
38
|
## Contributing
|
@@ -61,6 +61,10 @@ To contribute change for review:
|
|
61
61
|
...
|
62
62
|
git cl upload -t "Fixes goat teleporter destination to be Australia"
|
63
63
|
|
64
|
+
See also [open bugs](https://bugs.chromium.org/p/chromium/issues/list?can=2&q=component%3AInfra%3ESDK),
|
65
|
+
[open reviews](https://chromium-review.googlesource.com/q/status:open+project:chromium%252Ftools%252Fdepot_tools),
|
66
|
+
[forum](https://groups.google.com/a/chromium.org/forum/#!forum/infra-dev) or
|
67
|
+
[report problems](https://bugs.chromium.org/p/chromium/issues/entry?components=Infra%3ESDK).
|
64
68
|
|
65
69
|
### cpplint.py
|
66
70
|
|
@@ -4,8 +4,9 @@
|
|
4
4
|
:: found in the LICENSE file.
|
5
5
|
setlocal
|
6
6
|
|
7
|
-
::
|
8
|
-
PATH
|
7
|
+
:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used
|
8
|
+
:: standalone, but allow other PATH manipulations to take priority.
|
9
|
+
set PATH=%PATH%;%~dp0
|
9
10
|
|
10
11
|
:: Defer control.
|
11
|
-
|
12
|
+
python "%~dp0\apply_issue.py" %*
|
@@ -5,7 +5,6 @@
|
|
5
5
|
|
6
6
|
"""Applies an issue from Rietveld.
|
7
7
|
"""
|
8
|
-
import getpass
|
9
8
|
import json
|
10
9
|
import logging
|
11
10
|
import optparse
|
@@ -268,15 +267,6 @@ def main():
|
|
268
267
|
else:
|
269
268
|
parser.error('Couldn\'t determine the scm')
|
270
269
|
|
271
|
-
# TODO(maruel): HACK, remove me.
|
272
|
-
# When run a build slave, make sure buildbot knows that the checkout was
|
273
|
-
# modified.
|
274
|
-
if options.root_dir == 'src' and getpass.getuser() == 'chrome-bot':
|
275
|
-
# See sourcedirIsPatched() in:
|
276
|
-
# http://src.chromium.org/viewvc/chrome/trunk/tools/build/scripts/slave/
|
277
|
-
# chromium_commands.py?view=markup
|
278
|
-
open('.buildbot-patched', 'w').close()
|
279
|
-
|
280
270
|
print('\nApplying the patch from %s' % issue_url)
|
281
271
|
try:
|
282
272
|
scm_obj.apply_patch(patchset, verbose=True)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
# Copyright (c) 2017 Google Inc. All rights reserved.
|
4
|
+
# Use of this source code is governed by a BSD-style license that can be
|
5
|
+
# found in the LICENSE file.
|
6
|
+
|
7
|
+
|
8
|
+
# Execute whatever is printed by autoninja.py.
|
9
|
+
# Also print it to reassure that the right settings are being used.
|
10
|
+
command=$(python $(dirname -- "$0")/autoninja.py "$@")
|
11
|
+
echo $command
|
12
|
+
exec $command
|
@@ -0,0 +1,9 @@
|
|
1
|
+
@echo off
|
2
|
+
:: Copyright 2017 The Chromium Authors. All rights reserved.
|
3
|
+
:: Use of this source code is governed by a BSD-style license that can be
|
4
|
+
:: found in the LICENSE file.
|
5
|
+
|
6
|
+
REM Execute whatever is printed by autoninja.py.
|
7
|
+
REM Also print it to reassure that the right settings are being used.
|
8
|
+
FOR /f "usebackq tokens=*" %%a in (`python %~dp0autoninja.py %*`) do echo %%a & %%a
|
9
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# Copyright (c) 2017 The Chromium Authors. All rights reserved.
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
3
|
+
# found in the LICENSE file.
|
4
|
+
|
5
|
+
"""
|
6
|
+
This script (intended to be invoked by autoninja or autoninja.bat) detects
|
7
|
+
whether a build is using goma. If so it runs with a large -j value, and
|
8
|
+
otherwise it chooses a small one. This auto-adjustment makes using goma simpler
|
9
|
+
and safer, and avoids errors that can cause slow goma builds or swap-storms
|
10
|
+
on non-goma builds.
|
11
|
+
"""
|
12
|
+
|
13
|
+
import multiprocessing
|
14
|
+
import os
|
15
|
+
import re
|
16
|
+
import sys
|
17
|
+
|
18
|
+
# The -t tools are incompatible with -j and -l
|
19
|
+
t_specified = False
|
20
|
+
j_specified = False
|
21
|
+
output_dir = '.'
|
22
|
+
for index, arg in enumerate(sys.argv[1:]):
|
23
|
+
if arg == '-j':
|
24
|
+
j_specified = True
|
25
|
+
if arg == '-t':
|
26
|
+
t_specified = True
|
27
|
+
if arg == '-C':
|
28
|
+
# + 1 to get the next argument and +1 because we trimmed off sys.argv[0]
|
29
|
+
output_dir = sys.argv[index + 2]
|
30
|
+
|
31
|
+
use_goma = False
|
32
|
+
try:
|
33
|
+
with open(os.path.join(output_dir, 'args.gn')) as file_handle:
|
34
|
+
for line in file_handle:
|
35
|
+
# This regex pattern copied from create_installer_archive.py
|
36
|
+
m = re.match('^\s*use_goma\s*=\s*true(\s*$|\s*#.*$)', line)
|
37
|
+
if m:
|
38
|
+
use_goma = True
|
39
|
+
except IOError:
|
40
|
+
pass
|
41
|
+
|
42
|
+
if sys.platform.startswith('win'):
|
43
|
+
# Specify ninja.exe on Windows so that ninja.bat can call autoninja and not
|
44
|
+
# be called back.
|
45
|
+
args = ['ninja.exe'] + sys.argv[1:]
|
46
|
+
else:
|
47
|
+
args = ['ninja'] + sys.argv[1:]
|
48
|
+
|
49
|
+
num_cores = multiprocessing.cpu_count()
|
50
|
+
if not j_specified and not t_specified:
|
51
|
+
if use_goma:
|
52
|
+
args.append('-j')
|
53
|
+
core_multiplier = int(os.environ.get("NINJA_CORE_MULTIPLIER", "20"))
|
54
|
+
args.append('%d' % (num_cores * core_multiplier))
|
55
|
+
else:
|
56
|
+
core_addition = os.environ.get("NINJA_CORE_ADDITION")
|
57
|
+
if core_addition:
|
58
|
+
core_addition = int(core_addition)
|
59
|
+
args.append('-j')
|
60
|
+
args.append('%d' % (num_cores + core_addition))
|
61
|
+
|
62
|
+
if not t_specified:
|
63
|
+
# Specify a maximum CPU load so that running builds in two different command
|
64
|
+
# prompts won't overload the system too much. This is not reliable enough to
|
65
|
+
# be used to auto-adjust between goma/non-goma loads, but it is a nice
|
66
|
+
# fallback load balancer.
|
67
|
+
args.append('-l')
|
68
|
+
args.append('%d' % num_cores)
|
69
|
+
|
70
|
+
print ' '.join(args)
|
@@ -3,10 +3,17 @@
|
|
3
3
|
This directory has the 'magic' for the `depot_tools` windows binary update
|
4
4
|
mechanisms.
|
5
5
|
|
6
|
+
A previous Python may actually be in use when it is run, preventing us
|
7
|
+
from replacing it outright without breaking running code. To
|
8
|
+
ommodate this, and Python cleanup, we handle Python in two stages:
|
9
|
+
|
10
|
+
1. Use CIPD to install both Git and Python at once.
|
11
|
+
2. Use "win_tools.py" as a post-processor to install generated files and
|
12
|
+
fix-ups.
|
13
|
+
|
6
14
|
## Software bootstrapped
|
7
15
|
* Python (https://www.python.org/)
|
8
16
|
* Git for Windows (https://git-for-windows.github.io/)
|
9
|
-
* Subversion (https://subversion.apache.org/)
|
10
17
|
|
11
18
|
## Mechanism
|
12
19
|
|
@@ -19,31 +26,28 @@ work.
|
|
19
26
|
package is present, and if so, if it's the expected version. If either of those
|
20
27
|
cases is not true, it will download and unpack the respective binary.
|
21
28
|
|
22
|
-
|
23
|
-
|
29
|
+
Installation of Git and Python is done by the [win_tools.bat](./win_tools.bat)
|
30
|
+
script, which uses CIPD (via the [cipd](/cipd.bat) bootstrap) to acquire and
|
31
|
+
install each package into the root of the `depot_tools` repository. Afterwards,
|
32
|
+
the [win_tools.py](./win_tools.py) Python script is invoked to install stubs,
|
33
|
+
wrappers, and support scripts into `depot_tools` for end-users.
|
24
34
|
|
25
|
-
|
35
|
+
### Manifest
|
26
36
|
|
27
|
-
|
37
|
+
The Git and Python versions are specified in [manifest.txt](./manifest.txt).
|
28
38
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
39
|
+
There is an associated file,
|
40
|
+
[manifest_bleeding_edge.txt](./manifest_bleeding_edge.txt), that can be used
|
41
|
+
to canary new versions on select bots. Any bots with a `.bleeding_edge` file
|
42
|
+
in their `depot_tools` root will automatically use the bleeding edge manifest.
|
43
|
+
This allows opt-in systems to test against new versions of Python or Git. Once
|
44
|
+
those versions have been verified correct, `manifest.txt` can be updated to the
|
45
|
+
same specification, which will cause the remainder of systems to update.
|
33
46
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
1. Upload those to the gs://chrome-infra Google Storage bucket.
|
39
|
-
1. Set the `allUsers Reader` permission (click the "Public link" checkbox
|
40
|
-
next to the binaries).
|
41
|
-
1. Edit the `git_version.txt` or `git_version_bleeding_edge.txt` file to
|
42
|
-
be the new version.
|
43
|
-
1. You can use the bleeding edge version to get early feedback/stage a
|
44
|
-
rollout/etc. Users can select this version by 'touch'ing the
|
45
|
-
`.git_bleeding_edge` file in the root depot_tools directory.
|
46
|
-
1. Commit the CL.
|
47
|
+
### Bundles
|
48
|
+
|
49
|
+
Git and Python bundle construction is documented in
|
50
|
+
[infra packaging](https://chromium.googlesource.com/infra/infra/+/master/doc/packaging/).
|
47
51
|
|
48
52
|
Note that in order for the update to take effect, `gclient` currently needs to
|
49
53
|
run twice. The first time it will update the `depot_tools` repo, and the second
|
@@ -51,9 +55,87 @@ time it will see the new git version and update to it. This is a bug that should
|
|
51
55
|
be fixed, in case you're reading this and this paragraph infuriates you more
|
52
56
|
than the rest of this README.
|
53
57
|
|
54
|
-
|
58
|
+
## Testing
|
59
|
+
|
60
|
+
After any modification to this script set, a test sequence should be run on a
|
61
|
+
Windows bot.
|
62
|
+
|
63
|
+
The post-processing will regenerate "python.bat" to point to the current
|
64
|
+
Python instance. Any previous Python installations will stick around, but
|
65
|
+
new invocations will use the new instance. Old installations will die
|
66
|
+
off either due to processes terminating or systems restarting. When this
|
67
|
+
happens, they will be cleaned up by the post-processing script.
|
68
|
+
|
69
|
+
Testing
|
70
|
+
=======
|
71
|
+
|
72
|
+
For each of the following test scenarios, run these commands and verify that
|
73
|
+
they are working:
|
74
|
+
|
75
|
+
```bash
|
76
|
+
# Assert that `gclient` invocation will update (and do the update).
|
77
|
+
gclient version
|
78
|
+
|
79
|
+
# Assert that Python fundamentally works.
|
80
|
+
python -c "import psutil; print dir(psutil)"
|
81
|
+
|
82
|
+
# Assert that Python scripts work from `cmd.exe`.
|
83
|
+
git map-branches
|
84
|
+
|
85
|
+
# Assert that `git bash` works.
|
86
|
+
git bash
|
87
|
+
|
88
|
+
## (Within `git bash`) assert that Python fundamentally works.
|
89
|
+
python -c "import psutil; print dir(psutil)"
|
90
|
+
## (Within `git bash`) assert that Python scripts work.
|
91
|
+
git map-branches
|
92
|
+
```
|
93
|
+
|
94
|
+
Run this sequence through the following upgrade/downgrade procedures:
|
55
95
|
|
56
|
-
|
96
|
+
* Cold default installation.
|
97
|
+
- Clean `depot_tools` via: `git clean -x -f -d .`
|
98
|
+
- Run through test steps.
|
99
|
+
- Test upgrade to bleeding edge (if it differs).
|
100
|
+
- Run `python.bat` in another shell, keep it open
|
101
|
+
- Add `.bleeding_edge` to `depot_tools` root.
|
102
|
+
- Run through test steps.
|
103
|
+
- In the old `python.bat` shell, run `import psutil`, confirm that it
|
104
|
+
works.
|
105
|
+
- Close the Python shell, run `gclient version`, ensure that old directory
|
106
|
+
is cleaned.
|
107
|
+
* Cold bleeding edge installation.
|
108
|
+
- Clean `depot_tools` via: `git clean -x -f -d .`
|
109
|
+
- Add `.bleeding_edge` to `depot_tools` root.
|
110
|
+
- Run through test steps.
|
111
|
+
- Test downgrade to default (if it differs).
|
112
|
+
- Run `python.bat` in another shell, keep it open
|
113
|
+
- Delete `.bleeding_edge` from `depot_tools` root.
|
114
|
+
- Run through test steps.
|
115
|
+
- In the old `python.bat` shell, run `import psutil`, confirm that it
|
116
|
+
works.
|
117
|
+
- Close the Python shell, run `gclient version`, ensure that old directory
|
118
|
+
is cleaned.
|
119
|
+
* Warm bleeding edge upgrade.
|
120
|
+
- Clean `depot_tools` via: `git clean -x -f -d .`
|
121
|
+
- Run `gclient version` to load defaults.
|
122
|
+
- Run `python.bat` in another shell, keep it open
|
123
|
+
- Add `.bleeding_edge` to `depot_tools` root.
|
124
|
+
- Run through test steps.
|
125
|
+
- In the old `python.bat` shell, run `import psutil`, confirm that it
|
126
|
+
works.
|
127
|
+
- Close the Python shell, run `gclient version`, ensure that old directory is
|
128
|
+
cleaned.
|
129
|
+
* Upgradable and Revertible.
|
130
|
+
- Checkout current `HEAD`.
|
131
|
+
- Run `gclient version` to load HEAD toolchain (initial).
|
132
|
+
- Apply the candidate patch.
|
133
|
+
- Run through test steps (upgrade).
|
134
|
+
- Checkout current `HEAD` again.
|
135
|
+
- Run `gclient version` to load HEAD toolchain (revert).
|
136
|
+
- Run through test steps.
|
57
137
|
|
58
|
-
|
59
|
-
|
138
|
+
This will take some time, but will ensure that all affected bots and users
|
139
|
+
should not encounter any problems due to the change. As systems and users are
|
140
|
+
migrated off of this implicit bootstrap, the testing procedure will become less
|
141
|
+
critical.
|
@@ -2,11 +2,11 @@
|
|
2
2
|
export EDITOR=${EDITOR:=notepad}
|
3
3
|
WIN_BASE=`dirname $0`
|
4
4
|
UNIX_BASE=`cygpath "$WIN_BASE"`
|
5
|
-
export PATH
|
5
|
+
export PATH="$PATH:$UNIX_BASE/${PYTHON_BIN_RELDIR_UNIX}:$UNIX_BASE/${PYTHON_BIN_RELDIR_UNIX}/Scripts"
|
6
6
|
export PYTHON_DIRECT=1
|
7
7
|
export PYTHONUNBUFFERED=1
|
8
8
|
if [[ $# > 0 ]]; then
|
9
|
-
$UNIX_BASE/
|
9
|
+
$UNIX_BASE/${GIT_BIN_RELDIR_UNIX}/bin/bash.exe "$@"
|
10
10
|
else
|
11
|
-
$UNIX_BASE/
|
11
|
+
$UNIX_BASE/${GIT_BIN_RELDIR_UNIX}/git-bash.exe &
|
12
12
|
fi
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# CIPD manifest for Windows tools.
|
2
|
+
#
|
3
|
+
# We must install anything that we want included on PATH to a different
|
4
|
+
# subdirectory than Git, as Git's msys bash strips its root directory
|
5
|
+
# from PATH, hence the subdirs.
|
6
|
+
#
|
7
|
+
# If any paths or package layouts change, updates will be required in
|
8
|
+
# "win_tools.bat" and "win_tools.py" templates.
|
9
|
+
#
|
10
|
+
# "win_tools.bat" has a hard requirement that the Python package contains the
|
11
|
+
# string "cpython" and ends with the CIPD tag "version:VERSION". It uses this
|
12
|
+
# to extract VERSION.
|
13
|
+
|
14
|
+
@Subdir python
|
15
|
+
infra/python/cpython/windows-386 version:2.7.6
|
16
|
+
|
17
|
+
@Subdir git
|
18
|
+
infra/git/${platform} version:2.10.0
|