libv8 4.5.95.5 → 5.0.71.48.0beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +45 -19
- data/CHANGELOG.md +14 -0
- data/README.md +30 -15
- data/Rakefile +7 -6
- data/ext/libv8/arch.rb +5 -4
- data/ext/libv8/builder.rb +25 -19
- data/ext/libv8/compiler.rb +6 -33
- data/ext/libv8/location.rb +7 -8
- data/lib/libv8/version.rb +1 -1
- data/libv8.gemspec +1 -1
- data/patches/build-standalone-static-library.patch +14 -0
- data/patches/disable-building-tests.patch +48 -10
- data/patches/fPIC-for-static.patch +3 -3
- data/release/x86-linux/Vagrantfile +8 -4
- data/release/x86_64-freebsd10/Vagrantfile +86 -0
- data/release/x86_64-linux/Vagrantfile +8 -4
- data/spec/compiler_spec.rb +5 -29
- data/spec/support/compiler_helpers.rb +2 -4
- data/vendor/depot_tools/.gitignore +15 -3
- data/vendor/depot_tools/OWNERS +2 -2
- data/vendor/depot_tools/PRESUBMIT.py +4 -2
- data/vendor/depot_tools/WATCHLISTS +6 -0
- data/vendor/depot_tools/apply_issue.py +70 -38
- data/vendor/depot_tools/bootstrap/win/README.md +66 -0
- data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +12 -0
- data/vendor/depot_tools/bootstrap/win/git.template.bat +5 -0
- data/vendor/depot_tools/bootstrap/win/profile.d.python.sh +20 -0
- data/vendor/depot_tools/bootstrap/win/win_tools.bat +96 -45
- data/vendor/depot_tools/breakpad.py +6 -141
- data/vendor/depot_tools/buildbucket.py +45 -31
- data/vendor/depot_tools/cbuildbot +1 -0
- data/vendor/depot_tools/checkout.py +2 -1
- data/vendor/depot_tools/chrome_set_ver +1 -0
- data/vendor/depot_tools/cit +8 -0
- data/vendor/depot_tools/cit.bat +11 -0
- data/vendor/depot_tools/cit.py +120 -0
- data/vendor/depot_tools/codereview.settings +0 -2
- data/vendor/depot_tools/commit_queue +1 -5
- data/vendor/depot_tools/commit_queue.bat +1 -4
- data/vendor/depot_tools/commit_queue.py +78 -29
- data/vendor/depot_tools/cpplint.py +22 -14
- data/vendor/depot_tools/cros +1 -0
- data/vendor/depot_tools/cros_sdk +1 -0
- data/vendor/depot_tools/depot-tools-auth.py +3 -3
- data/vendor/depot_tools/download_from_google_storage.py +101 -21
- data/vendor/depot_tools/drover.py +2 -3
- data/vendor/depot_tools/fetch.py +31 -27
- data/vendor/depot_tools/{recipes → fetch_configs}/android.py +4 -4
- data/vendor/depot_tools/fetch_configs/breakpad.py +45 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/chromium.py +3 -3
- data/vendor/depot_tools/{recipes/recipe_util.py → fetch_configs/config_util.py} +3 -3
- data/vendor/depot_tools/fetch_configs/crashpad.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/dart.py +3 -3
- data/vendor/depot_tools/{recipes/pdfium.py → fetch_configs/dartino.py} +14 -13
- data/vendor/depot_tools/{recipes → fetch_configs}/dartium.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/depot_tools.py +3 -3
- data/vendor/depot_tools/fetch_configs/gyp.py +42 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/infra.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/infra_internal.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/ios.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/mojo.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/nacl.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/naclports.py +3 -3
- data/vendor/depot_tools/fetch_configs/pdfium.py +40 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/skia.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/skia_buildbot.py +3 -3
- data/vendor/depot_tools/fetch_configs/syzygy.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/v8.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_android.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_ios.py +4 -4
- data/vendor/depot_tools/fix_encoding.py +6 -6
- data/vendor/depot_tools/gcl.py +11 -21
- data/vendor/depot_tools/gclient +10 -0
- data/vendor/depot_tools/gclient-new-workdir.py +7 -38
- data/vendor/depot_tools/gclient.bat +2 -2
- data/vendor/depot_tools/gclient.py +85 -65
- data/vendor/depot_tools/gclient_scm.py +83 -10
- data/vendor/depot_tools/gclient_utils.py +5 -1
- data/vendor/depot_tools/gerrit_util.py +243 -26
- data/vendor/depot_tools/git-auto-svn +1 -1
- data/vendor/depot_tools/git-cache +1 -1
- data/vendor/depot_tools/git-cherry-pick-upload +1 -1
- data/vendor/depot_tools/git-cl +1 -1
- data/vendor/depot_tools/git-drover +6 -0
- data/vendor/depot_tools/git-find-releases +6 -0
- data/vendor/depot_tools/git-footers +1 -1
- data/vendor/depot_tools/git-freeze +1 -1
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git-hyper-blame +6 -0
- data/vendor/depot_tools/git-map +1 -1
- data/vendor/depot_tools/git-map-branches +1 -1
- data/vendor/depot_tools/git-mark-merge-base +1 -1
- data/vendor/depot_tools/git-nav-downstream +1 -1
- data/vendor/depot_tools/git-new-branch +1 -1
- data/vendor/depot_tools/git-number +1 -1
- data/vendor/depot_tools/git-rebase-update +1 -1
- data/vendor/depot_tools/git-rename-branch +1 -1
- data/vendor/depot_tools/git-reparent-branch +1 -1
- data/vendor/depot_tools/git-retry +1 -1
- data/vendor/depot_tools/git-squash-branch +1 -1
- data/vendor/depot_tools/git-thaw +1 -1
- data/vendor/depot_tools/git-try +1 -1
- data/vendor/depot_tools/git-upstream-diff +1 -1
- data/vendor/depot_tools/git_auto_svn.py +24 -6
- data/vendor/depot_tools/git_cache.py +74 -27
- data/vendor/depot_tools/git_cl.py +2118 -747
- data/vendor/depot_tools/git_common.py +100 -6
- data/vendor/depot_tools/git_dates.py +62 -0
- data/vendor/depot_tools/git_drover.py +424 -0
- data/vendor/depot_tools/git_find_releases.py +65 -0
- data/vendor/depot_tools/git_footers.py +42 -0
- data/vendor/depot_tools/git_hyper_blame.py +391 -0
- data/vendor/depot_tools/git_map_branches.py +8 -6
- data/vendor/depot_tools/git_new_branch.py +6 -1
- data/vendor/depot_tools/git_rebase_update.py +56 -16
- data/vendor/depot_tools/git_reparent_branch.py +13 -0
- data/vendor/depot_tools/git_try.py +0 -2
- data/vendor/depot_tools/gsutil.py +51 -20
- data/vendor/depot_tools/infra/config/OWNERS +3 -1
- data/vendor/depot_tools/infra/config/cq.cfg +7 -3
- data/vendor/depot_tools/infra/config/recipes.cfg +9 -0
- data/vendor/depot_tools/luci_hacks/README.md +35 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/tests → luci_hacks}/__init__.py +0 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.isolate +12 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.py +81 -0
- data/vendor/depot_tools/luci_hacks/trigger_luci_job.py +128 -0
- data/vendor/depot_tools/man/html/depot_tools.html +9 -1
- data/vendor/depot_tools/man/html/depot_tools_tutorial.html +4 -4
- data/vendor/depot_tools/man/html/git-drover.html +191 -35
- data/vendor/depot_tools/man/html/git-hyper-blame.html +878 -0
- data/vendor/depot_tools/man/html/git-rebase-update.html +9 -4
- data/vendor/depot_tools/man/man1/git-drover.1 +189 -36
- data/vendor/depot_tools/man/man1/git-hyper-blame.1 +128 -0
- data/vendor/depot_tools/man/man1/git-rebase-update.1 +8 -6
- data/vendor/depot_tools/man/man7/depot_tools.7 +9 -4
- data/vendor/depot_tools/man/src/_git-hyper-blame_desc.helper.txt +1 -0
- data/vendor/depot_tools/man/src/common_demo_functions.sh +5 -0
- data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +1 -1
- data/vendor/depot_tools/man/src/git-drover.demo.1.sh +11 -16
- data/vendor/depot_tools/man/src/git-drover.demo.3.sh +27 -0
- data/vendor/depot_tools/man/src/git-drover.demo.4.sh +39 -0
- data/vendor/depot_tools/man/src/git-drover.txt +49 -3
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.1.sh +3 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.2.sh +4 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.common.sh +57 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.txt +85 -0
- data/vendor/depot_tools/man/src/git-rebase-update.txt +5 -1
- data/vendor/depot_tools/my_activity.py +6 -21
- 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/presubmit_canned_checks.py +83 -69
- data/vendor/depot_tools/presubmit_support.py +126 -42
- data/vendor/depot_tools/pylint.py +5 -1
- data/vendor/depot_tools/python_runner.sh +55 -0
- data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +32 -0
- data/vendor/depot_tools/recipe_modules/bot_update/api.py +283 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +56 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +63 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/forced.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/svn_mode.json +59 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +49 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +61 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +51 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.py +172 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/virtualenv_support → recipe_modules/bot_update/resources}/__init__.py +0 -0
- data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +1764 -0
- data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +86 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/__init__.py +3 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/api.py +27 -0
- data/vendor/depot_tools/recipe_modules/gclient/__init__.py +10 -0
- data/vendor/depot_tools/recipe_modules/gclient/api.py +378 -0
- data/vendor/depot_tools/recipe_modules/gclient/config.py +671 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +172 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +174 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +185 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.py +100 -0
- data/vendor/depot_tools/recipe_modules/gclient/test_api.py +37 -0
- data/vendor/depot_tools/recipe_modules/git/__init__.py +9 -0
- data/vendor/depot_tools/recipe_modules/git/api.py +377 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +176 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +153 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +199 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +250 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +182 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +102 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +186 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.py +147 -0
- data/vendor/depot_tools/recipe_modules/git/resources/git_setup.py +61 -0
- data/vendor/depot_tools/recipe_modules/git/test_api.py +18 -0
- data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git_cl/api.py +25 -0
- data/vendor/depot_tools/recipe_modules/git_cl/config.py +22 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.expected/basic.json +66 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.py +41 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/api.py +12 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.py +28 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +45 -0
- data/vendor/depot_tools/recipe_modules/presubmit/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/presubmit/api.py +20 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.expected/basic.json +18 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.py +15 -0
- data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
- data/vendor/depot_tools/recipe_modules/rietveld/api.py +94 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +30 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.py +24 -0
- data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +15 -0
- data/vendor/depot_tools/recipe_modules/tryserver/api.py +280 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +104 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_svn_patch.json +68 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.py +53 -0
- data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +7 -0
- data/vendor/depot_tools/recipes.py +136 -0
- data/vendor/depot_tools/repo +1 -1
- data/vendor/depot_tools/rietveld.py +46 -15
- data/vendor/depot_tools/roll_dep.py +97 -36
- data/vendor/depot_tools/scm.py +3 -3
- data/vendor/depot_tools/setup_color.py +94 -0
- data/vendor/depot_tools/subprocess2.py +10 -1
- data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -1
- data/vendor/depot_tools/third_party/cq_client/README.md +47 -9
- data/vendor/depot_tools/third_party/cq_client/cq.pb.go +617 -0
- data/vendor/depot_tools/third_party/cq_client/cq.proto +75 -17
- data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +168 -41
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +55 -0
- data/vendor/depot_tools/third_party/cq_client/{test/cq_example.cfg → testdata/cq_rietveld.cfg} +14 -6
- data/vendor/depot_tools/third_party/fancy_urllib/README +5 -4
- data/vendor/depot_tools/third_party/fancy_urllib/__init__.py +114 -52
- data/vendor/depot_tools/third_party/protobuf26/README.chromium +9 -6
- data/vendor/depot_tools/third_party/upload.py +17 -31
- data/vendor/depot_tools/trychange.py +0 -2
- data/vendor/depot_tools/update_depot_tools +29 -11
- data/vendor/depot_tools/update_depot_tools.bat +4 -9
- data/vendor/depot_tools/upload_to_google_storage.py +42 -5
- data/vendor/depot_tools/win_toolchain/OWNERS +1 -0
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +227 -52
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +203 -88
- metadata +161 -81
- data/patches/arm/do-not-imply-vfp3-and-armv7.patch +0 -16
- data/patches/arm/do-not-use-vfp2.patch +0 -13
- data/patches/clang51/no-unused-variable.patch +0 -12
- data/vendor/depot_tools/bootstrap/.gitignore +0 -2
- data/vendor/depot_tools/bootstrap/bootstrap.py +0 -234
- data/vendor/depot_tools/bootstrap/deps.pyl +0 -15
- data/vendor/depot_tools/bootstrap/util.py +0 -87
- data/vendor/depot_tools/bootstrap/virtualenv/.gitignore +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/.travis.yml +0 -28
- data/vendor/depot_tools/bootstrap/virtualenv/AUTHORS.txt +0 -91
- data/vendor/depot_tools/bootstrap/virtualenv/CONTRIBUTING.rst +0 -21
- data/vendor/depot_tools/bootstrap/virtualenv/LICENSE.txt +0 -22
- data/vendor/depot_tools/bootstrap/virtualenv/MANIFEST.in +0 -11
- data/vendor/depot_tools/bootstrap/virtualenv/README.rst +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/bin/rebuild-script.py +0 -71
- data/vendor/depot_tools/bootstrap/virtualenv/docs/changes.rst +0 -747
- data/vendor/depot_tools/bootstrap/virtualenv/docs/conf.py +0 -149
- data/vendor/depot_tools/bootstrap/virtualenv/docs/development.rst +0 -61
- data/vendor/depot_tools/bootstrap/virtualenv/docs/index.rst +0 -137
- data/vendor/depot_tools/bootstrap/virtualenv/docs/installation.rst +0 -58
- data/vendor/depot_tools/bootstrap/virtualenv/docs/make.bat +0 -170
- data/vendor/depot_tools/bootstrap/virtualenv/docs/reference.rst +0 -256
- data/vendor/depot_tools/bootstrap/virtualenv/docs/userguide.rst +0 -249
- data/vendor/depot_tools/bootstrap/virtualenv/scripts/virtualenv +0 -3
- data/vendor/depot_tools/bootstrap/virtualenv/setup.py +0 -111
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate.sh +0 -94
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate_expected.output +0 -2
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_virtualenv.py +0 -139
- data/vendor/depot_tools/bootstrap/virtualenv/tests/tox.ini +0 -12
- data/vendor/depot_tools/bootstrap/virtualenv/tox.ini +0 -17
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv.py +0 -2367
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.bat +0 -26
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.csh +0 -42
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.fish +0 -74
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.ps1 +0 -150
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.sh +0 -80
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate_this.py +0 -34
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/deactivate.bat +0 -20
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils-init.py +0 -101
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils.cfg +0 -6
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/site.py +0 -758
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/pip-6.0-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/setuptools-8.2.1-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/win/README.google +0 -16
- data/vendor/depot_tools/cbuildbot +0 -96
- data/vendor/depot_tools/chrome_set_ver +0 -96
- data/vendor/depot_tools/cros +0 -96
- data/vendor/depot_tools/cros_sdk +0 -96
- data/vendor/depot_tools/git-cl-upload-hook +0 -52
- data/vendor/depot_tools/git-crup +0 -45
- data/vendor/depot_tools/python_git_runner.sh +0 -36
- data/vendor/depot_tools/recipes/blink.py +0 -59
- data/vendor/depot_tools/third_party/cq_client/test/validate_config_test.py +0 -52
- data/vendor/depot_tools/third_party/cq_client/validate_config.py +0 -108
- data/vendor/depot_tools/win_toolchain/toolchain2013.py +0 -494
@@ -0,0 +1,128 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
# Copyright (c) 2015 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
|
+
|
7
|
+
"""Tool to send a recipe job to run on Swarming."""
|
8
|
+
|
9
|
+
|
10
|
+
import argparse
|
11
|
+
import base64
|
12
|
+
import json
|
13
|
+
import os
|
14
|
+
import re
|
15
|
+
import subprocess
|
16
|
+
import sys
|
17
|
+
import zlib
|
18
|
+
|
19
|
+
|
20
|
+
SWARMING_URL = 'https://chromium.googlesource.com/external/swarming.client.git'
|
21
|
+
CLIENT_LOCATION = os.path.expanduser('~/.swarming_client')
|
22
|
+
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
23
|
+
ISOLATE = os.path.join(THIS_DIR, 'luci_recipe_run.isolate')
|
24
|
+
|
25
|
+
# This is put in place in order to not need to parse this information from
|
26
|
+
# master.cfg. In the LUCI future this would all be stored in a luci.cfg
|
27
|
+
# file alongside the repo.
|
28
|
+
RECIPE_MAPPING = {
|
29
|
+
'Infra Linux Trusty 64 Tester':
|
30
|
+
('tryserver.infra', 'infra/infra_repo_trybot', 'Ubuntu-14.04'),
|
31
|
+
'Infra Linux Precise 32 Tester':
|
32
|
+
('tryserver.infra', 'infra/infra_repo_trybot', 'Ubuntu-12.04'),
|
33
|
+
'Infra Mac Tester':
|
34
|
+
('tryserver.infra', 'infra/infra_repo_trybot', 'Mac'),
|
35
|
+
'Infra Win Tester':
|
36
|
+
('tryserver.infra', 'infra/infra_repo_trybot', 'Win'),
|
37
|
+
'Infra Windows Tester':
|
38
|
+
('tryserver.infra', 'infra/infra_repo_trybot', 'Win'),
|
39
|
+
'Infra Presubmit':
|
40
|
+
('tryserver.infra', 'run_presubmit', 'Linux')
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
def parse_args(args):
|
45
|
+
# Once Clank switches to bot_update, bot_update would no longer require
|
46
|
+
# master/builder detection, and we can remove the master/builder from the args
|
47
|
+
parser = argparse.ArgumentParser()
|
48
|
+
parser.add_argument('--builder', required=True)
|
49
|
+
parser.add_argument('--issue',required=True)
|
50
|
+
parser.add_argument('--patchset', required=True)
|
51
|
+
parser.add_argument('--revision', default='HEAD')
|
52
|
+
parser.add_argument('--patch_project')
|
53
|
+
|
54
|
+
return parser.parse_args(args)
|
55
|
+
|
56
|
+
|
57
|
+
def ensure_swarming_client():
|
58
|
+
if not os.path.exists(CLIENT_LOCATION):
|
59
|
+
parent, target = os.path.split(CLIENT_LOCATION)
|
60
|
+
subprocess.check_call(['git', 'clone', SWARMING_URL, target], cwd=parent)
|
61
|
+
else:
|
62
|
+
subprocess.check_call(['git', 'pull'], cwd=CLIENT_LOCATION)
|
63
|
+
|
64
|
+
|
65
|
+
def archive_isolate(isolate):
|
66
|
+
isolate_py = os.path.join(CLIENT_LOCATION, 'isolate.py')
|
67
|
+
cmd = [
|
68
|
+
sys.executable, isolate_py, 'archive',
|
69
|
+
'--isolated=%sd' % isolate,
|
70
|
+
'--isolate-server', 'https://isolateserver.appspot.com',
|
71
|
+
'--isolate=%s' % isolate]
|
72
|
+
out = subprocess.check_output(cmd)
|
73
|
+
return out.split()[0].strip()
|
74
|
+
|
75
|
+
|
76
|
+
def trigger_swarm(isolated, platform, build_props, factory_props):
|
77
|
+
# TODO: Make this trigger DM instead.
|
78
|
+
swarm_py = os.path.join(CLIENT_LOCATION, 'swarming.py')
|
79
|
+
build_props_gz = base64.b64encode(zlib.compress(json.dumps(build_props)))
|
80
|
+
fac_props_gz = base64.b64encode(zlib.compress(json.dumps(factory_props)))
|
81
|
+
cmd = [
|
82
|
+
sys.executable, swarm_py, 'trigger', isolated,
|
83
|
+
'--isolate-server', 'isolateserver.appspot.com',
|
84
|
+
'--swarming', 'chromium-swarm-dev.appspot.com',
|
85
|
+
'-d', 'os', platform,
|
86
|
+
'--',
|
87
|
+
'--factory-properties-gz=%s' % fac_props_gz,
|
88
|
+
'--build-properties-gz=%s' % build_props_gz
|
89
|
+
]
|
90
|
+
out = subprocess.check_output(cmd)
|
91
|
+
m = re.search(
|
92
|
+
r'https://chromium-swarm-dev.appspot.com/user/task/(.*)', out)
|
93
|
+
return m.group(1)
|
94
|
+
|
95
|
+
|
96
|
+
def trigger(builder, revision, issue, patchset, project):
|
97
|
+
"""Constructs/uploads an isolated file and send the job to swarming."""
|
98
|
+
master, recipe, platform = RECIPE_MAPPING[builder]
|
99
|
+
build_props = {
|
100
|
+
'buildnumber': 1,
|
101
|
+
'buildername': builder,
|
102
|
+
'recipe': recipe,
|
103
|
+
'mastername': master,
|
104
|
+
'slavename': 'fakeslave',
|
105
|
+
'revision': revision,
|
106
|
+
'patch_project': project,
|
107
|
+
}
|
108
|
+
if issue:
|
109
|
+
build_props['issue'] = issue
|
110
|
+
if patchset:
|
111
|
+
build_props['patchset'] = patchset
|
112
|
+
factory_props = {
|
113
|
+
'recipe': recipe
|
114
|
+
}
|
115
|
+
ensure_swarming_client()
|
116
|
+
arun_isolated = archive_isolate(ISOLATE)
|
117
|
+
task = trigger_swarm(arun_isolated, platform, build_props, factory_props)
|
118
|
+
print 'https://luci-milo.appspot.com/swarming/%s' % task
|
119
|
+
|
120
|
+
|
121
|
+
def main(args):
|
122
|
+
args = parse_args(args)
|
123
|
+
trigger(args.builder, args.revision, args.issue,
|
124
|
+
args.patchset, args.patch_project)
|
125
|
+
|
126
|
+
|
127
|
+
if __name__ == '__main__':
|
128
|
+
sys.exit(main(sys.argv[1:]))
|
@@ -804,6 +804,14 @@ Freeze all changes on a branch (indexed and unindexed).
|
|
804
804
|
</p>
|
805
805
|
</dd>
|
806
806
|
<dt class="hdlist1">
|
807
|
+
<a href="git-hyper-blame.html">git-hyper-blame(1)</a>
|
808
|
+
</dt>
|
809
|
+
<dd>
|
810
|
+
<p>
|
811
|
+
Like git blame, but with the ability to ignore or bypass certain commits.
|
812
|
+
</p>
|
813
|
+
</dd>
|
814
|
+
<dt class="hdlist1">
|
807
815
|
<a href="git-map-branches.html">git-map-branches(1)</a>
|
808
816
|
</dt>
|
809
817
|
<dd>
|
@@ -919,7 +927,7 @@ Print a diff of the current branch, compared to its upstream.
|
|
919
927
|
<div id="footnotes"><hr /></div>
|
920
928
|
<div id="footer">
|
921
929
|
<div id="footer-text">
|
922
|
-
Last updated
|
930
|
+
Last updated 2016-01-28 16:40:21 AEDT
|
923
931
|
</div>
|
924
932
|
</div>
|
925
933
|
</body>
|
@@ -886,7 +886,7 @@ in your <code>~/.bashrc</code> or <code>~/.zshrc</code>). Assuming you cloned <e
|
|
886
886
|
<div class="sect3">
|
887
887
|
<h4 id="_windows">WINDOWS</h4>
|
888
888
|
<div class="paragraph"><p>Download the <em>depot_tools</em>
|
889
|
-
<a href="https://
|
889
|
+
<a href="https://storage.googleapis.com/chrome-infra/depot_tools.zip">bundle</a> and
|
890
890
|
extract it somewhere.</p></div>
|
891
891
|
<div class="admonitionblock">
|
892
892
|
<table><tr>
|
@@ -902,7 +902,7 @@ autoupdate itself. You can use “Extract all…” from the context
|
|
902
902
|
bundle to <code>C:\workspace\depot_tools</code>:</p></div>
|
903
903
|
<div class="dlist"><dl>
|
904
904
|
<dt class="hdlist1">
|
905
|
-
With Administrator access:
|
905
|
+
With Administrator access:
|
906
906
|
</dt>
|
907
907
|
<dd>
|
908
908
|
<p>
|
@@ -911,7 +911,7 @@ With Administrator access:
|
|
911
911
|
<div class="paragraph"><p>Modify the PATH system variable to include <code>C:\workspace\depot_tools</code>.</p></div>
|
912
912
|
</dd>
|
913
913
|
<dt class="hdlist1">
|
914
|
-
Without Administrator access:
|
914
|
+
Without Administrator access:
|
915
915
|
</dt>
|
916
916
|
<dd>
|
917
917
|
<p>
|
@@ -1581,7 +1581,7 @@ from <a href="https://chromium.googlesource.com/chromium/tools/depot_tools.git">
|
|
1581
1581
|
<div id="footnotes"><hr /></div>
|
1582
1582
|
<div id="footer">
|
1583
1583
|
<div id="footer-text">
|
1584
|
-
Last updated
|
1584
|
+
Last updated 2016-04-01 14:13:51 PST
|
1585
1585
|
</div>
|
1586
1586
|
</div>
|
1587
1587
|
</body>
|
@@ -755,7 +755,11 @@ git-drover(1) Manual Page
|
|
755
755
|
<h2 id="_synopsis">SYNOPSIS</h2>
|
756
756
|
<div class="sectionbody">
|
757
757
|
<div class="verseblock">
|
758
|
-
<pre class="content"><em>git drover</em
|
758
|
+
<pre class="content"><em>git drover</em> --branch <branch>
|
759
|
+
(--cherry-pick <change> | --continue [path_to_workdir] |
|
760
|
+
--abort [path_to_workdir])
|
761
|
+
[--parent_checkout <path-to-existing-checkout>]
|
762
|
+
[--verbose] [--dry-run]</pre>
|
759
763
|
<div class="attribution">
|
760
764
|
</div></div>
|
761
765
|
</div>
|
@@ -763,8 +767,83 @@ git-drover(1) Manual Page
|
|
763
767
|
<div class="sect1">
|
764
768
|
<h2 id="_description">DESCRIPTION</h2>
|
765
769
|
<div class="sectionbody">
|
766
|
-
<div class="paragraph"><p><code>git drover</code>
|
767
|
-
|
770
|
+
<div class="paragraph"><p><code>git drover</code> applies a commit to a release branch. It creates a new workdir from
|
771
|
+
an existing checkout to avoid downloading a new checkout without affecting the
|
772
|
+
existing checkout.</p></div>
|
773
|
+
<div class="paragraph"><p><code>git drover</code> does not support reverts. See the EXAMPLE section for the
|
774
|
+
equivalent sequence of commands to run.</p></div>
|
775
|
+
</div>
|
776
|
+
</div>
|
777
|
+
<div class="sect1">
|
778
|
+
<h2 id="_options">OPTIONS</h2>
|
779
|
+
<div class="sectionbody">
|
780
|
+
<div class="dlist"><dl>
|
781
|
+
<dt class="hdlist1">
|
782
|
+
--branch <branch>
|
783
|
+
</dt>
|
784
|
+
<dd>
|
785
|
+
<p>
|
786
|
+
The branch to cherry-pick the commit to.
|
787
|
+
</p>
|
788
|
+
</dd>
|
789
|
+
<dt class="hdlist1">
|
790
|
+
--cherry-pick <commit>
|
791
|
+
</dt>
|
792
|
+
<dd>
|
793
|
+
<p>
|
794
|
+
The commit to cherry-pick.
|
795
|
+
</p>
|
796
|
+
</dd>
|
797
|
+
<dt class="hdlist1">
|
798
|
+
--continue [path_to_workdir]
|
799
|
+
</dt>
|
800
|
+
<dd>
|
801
|
+
<p>
|
802
|
+
Continue a cherry-pick that required manual resolution. The path to the drover
|
803
|
+
workdir is optional. If unspecified, the current directory is used.
|
804
|
+
</p>
|
805
|
+
</dd>
|
806
|
+
<dt class="hdlist1">
|
807
|
+
--abort [path_to_workdir]
|
808
|
+
</dt>
|
809
|
+
<dd>
|
810
|
+
<p>
|
811
|
+
Abort a cherry-pick that required manual resolution and clean up its workdir.
|
812
|
+
The path to the drover workdir is optional. If unspecified, the current
|
813
|
+
directory is used.
|
814
|
+
</p>
|
815
|
+
</dd>
|
816
|
+
<dt class="hdlist1">
|
817
|
+
--parent_checkout
|
818
|
+
</dt>
|
819
|
+
<dd>
|
820
|
+
<p>
|
821
|
+
The path to the chromium checkout to use as the source for a creating
|
822
|
+
git-new-workdir workdir to use for cherry-picking. If unspecified, the current
|
823
|
+
directory is used.
|
824
|
+
</p>
|
825
|
+
</dd>
|
826
|
+
<dt class="hdlist1">
|
827
|
+
-v
|
828
|
+
</dt>
|
829
|
+
<dt class="hdlist1">
|
830
|
+
--verbose
|
831
|
+
</dt>
|
832
|
+
<dd>
|
833
|
+
<p>
|
834
|
+
Enable verbose logging.
|
835
|
+
</p>
|
836
|
+
</dd>
|
837
|
+
<dt class="hdlist1">
|
838
|
+
--dry-run
|
839
|
+
</dt>
|
840
|
+
<dd>
|
841
|
+
<p>
|
842
|
+
Skip landing the cherry-pick. Just ensure that the commit can be cherry-picked
|
843
|
+
into the branch.
|
844
|
+
</p>
|
845
|
+
</dd>
|
846
|
+
</dl></div>
|
768
847
|
</div>
|
769
848
|
</div>
|
770
849
|
<div class="sect1">
|
@@ -777,12 +856,9 @@ sequence of commands to run.</p></div>
|
|
777
856
|
at least once to fetch the branches.</p></div>
|
778
857
|
<div class="sect3">
|
779
858
|
<h4 id="_merge_example">Merge Example</h4>
|
780
|
-
<div class="paragraph"><p></p></div><div class="listingblock"><div class="content"><pre><code>#
|
781
|
-
<span style="font-weight: bold; color: #ffffff">$ git fetch</span>
|
782
|
-
|
783
|
-
# Here's a commit (from some.committer) that we want to 'drover'.
|
859
|
+
<div class="paragraph"><p></p></div><div class="listingblock"><div class="content"><pre><code># Here's a commit (from some.committer) that we want to 'drover'.
|
784
860
|
<span style="font-weight: bold; color: #ffffff">$ git log -n 1 --pretty=fuller</span>
|
785
|
-
commit
|
861
|
+
<span style="color: #e7e71c">commit f7448045de01b54914db8b902ca77fbbf42b3146</span>
|
786
862
|
Author: some.committer <some.committer@chromium.org>
|
787
863
|
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
|
788
864
|
Commit: some.committer <some.committer@chromium.org>
|
@@ -790,37 +866,69 @@ CommitDate: Thu Apr 10 08:54:46 2014 +0000
|
|
790
866
|
|
791
867
|
This change needs to go to branch 9999
|
792
868
|
|
793
|
-
# Checkout the branch we want to 'drover' to.
|
794
|
-
<span style="font-weight: bold; color: #ffffff">$ git checkout -b drover_9999 branch-heads/9999</span>
|
795
|
-
Branch drover_9999 set up to track remote ref refs/branch-heads/9999.
|
796
|
-
|
797
869
|
# Now do the 'drover'.
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
create mode 100644 modified_file
|
870
|
+
<span style="font-weight: bold; color: #ffffff">$ git drover --branch 9999 --cherry-pick f7448045de01b54914db8b902ca77fbbf42b3146</span>
|
871
|
+
Going to cherry-pick
|
872
|
+
"""
|
873
|
+
<span style="color: #e7e71c">commit f7448045de01b54914db8b902ca77fbbf42b3146</span>
|
874
|
+
Author: some.committer <some.committer@chromium.org>
|
875
|
+
Date: Thu Apr 10 08:54:46 2014 +0000
|
805
876
|
|
806
|
-
|
807
|
-
|
877
|
+
This change needs to go to branch 9999
|
878
|
+
"""
|
879
|
+
to 9999. Continue (y/n)? y
|
880
|
+
|
881
|
+
# A cl is uploaded to rietveld, where it can be reviewed before landing.
|
882
|
+
|
883
|
+
About to land on 9999. Continue (y/n)? y
|
884
|
+
# The cherry-pick cl is landed on the branch 9999.
|
885
|
+
</code></pre></div></div><p><div class="paragraph"></p></div>
|
886
|
+
</div>
|
887
|
+
<div class="sect3">
|
888
|
+
<h4 id="_merge_with_conflicts_example">Merge with Conflicts Example</h4>
|
889
|
+
<div class="paragraph"><p></p></div><div class="listingblock"><div class="content"><pre><code># Here's a commit (from some.committer) that we want to 'drover'.
|
808
890
|
<span style="font-weight: bold; color: #ffffff">$ git log -n 1 --pretty=fuller</span>
|
809
|
-
commit
|
891
|
+
<span style="color: #e7e71c">commit ca8e437616d853cb10008a252b54cfed928f157c</span>
|
810
892
|
Author: some.committer <some.committer@chromium.org>
|
811
893
|
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
|
812
|
-
Commit:
|
813
|
-
CommitDate: Thu Apr 10
|
894
|
+
Commit: some.committer <some.committer@chromium.org>
|
895
|
+
CommitDate: Thu Apr 10 08:54:46 2014 +0000
|
814
896
|
|
815
897
|
This change needs to go to branch 9999
|
816
898
|
|
817
|
-
|
899
|
+
# Now do the 'drover'.
|
900
|
+
<span style="font-weight: bold; color: #ffffff">$ git drover --branch 9999 --cherry-pick ca8e437616d853cb10008a252b54cfed928f157c</span>
|
901
|
+
Going to cherry-pick
|
902
|
+
"""
|
903
|
+
<span style="color: #e7e71c">commit ca8e437616d853cb10008a252b54cfed928f157c</span>
|
904
|
+
Author: some.committer <some.committer@chromium.org>
|
905
|
+
Date: Thu Apr 10 08:54:46 2014 +0000
|
818
906
|
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
907
|
+
This change needs to go to branch 9999
|
908
|
+
"""
|
909
|
+
to 9999. Continue (y/n)? y
|
910
|
+
|
911
|
+
Error: Patch failed to apply.
|
912
|
+
|
913
|
+
A workdir for this cherry-pick has been created in
|
914
|
+
/tmp/drover_9999
|
915
|
+
|
916
|
+
To continue, resolve the conflicts there and run
|
917
|
+
git drover --continue /tmp/drover_9999
|
918
|
+
|
919
|
+
To abort this cherry-pick run
|
920
|
+
git drover --abort /tmp/drover_9999
|
921
|
+
|
922
|
+
<span style="font-weight: bold; color: #ffffff">$ pushd /tmp/drover_9999</span>
|
923
|
+
# Manually resolve conflicts.
|
924
|
+
<span style="font-weight: bold; color: #ffffff">$ git add path/to/file_with_conflicts</span>
|
925
|
+
<span style="font-weight: bold; color: #ffffff">$ popd</span>
|
926
|
+
<span style="font-weight: bold; color: #ffffff">$ git drover --continue /tmp/drover_9999</span>
|
927
|
+
|
928
|
+
# A cl is uploaded to rietveld, where it can be reviewed before landing.
|
929
|
+
|
930
|
+
About to land on 9999. Continue (y/n)? y
|
931
|
+
# The cherry-pick cl is landed on the branch 9999.
|
824
932
|
</code></pre></div></div><p><div class="paragraph"></p></div>
|
825
933
|
</div>
|
826
934
|
<div class="sect3">
|
@@ -834,30 +942,78 @@ Branch drover_9999 set up to track remote ref refs/branch-heads/9999.
|
|
834
942
|
|
835
943
|
# Here's the commit we want to revert.
|
836
944
|
<span style="font-weight: bold; color: #ffffff">$ git log -n 1</span>
|
837
|
-
commit
|
945
|
+
<span style="color: #e7e71c">commit 98d544a18e19bb80be9d4a8094efda8ab1d2534b</span>
|
838
946
|
Author: some.committer <some.committer@chromium.org>
|
839
947
|
Date: Thu Apr 10 08:54:46 2014 +0000
|
840
948
|
|
841
949
|
This change is horribly broken.
|
842
950
|
|
843
951
|
# Now do the revert.
|
844
|
-
<span style="font-weight: bold; color: #ffffff">$ git revert
|
952
|
+
<span style="font-weight: bold; color: #ffffff">$ git revert 98d544a18e19bb80be9d4a8094efda8ab1d2534b</span>
|
845
953
|
|
846
954
|
# That reverted the change and committed the revert.
|
847
955
|
<span style="font-weight: bold; color: #ffffff">$ git log -n 1</span>
|
848
|
-
commit
|
956
|
+
<span style="color: #e7e71c">commit 0fc5e9101886dcb1aebbb9434d0df9341f0dedfe</span>
|
849
957
|
Author: you <you@chromium.org>
|
850
958
|
Date: Thu Apr 10 09:11:36 2014 +0000
|
851
959
|
|
852
960
|
Revert "This change is horribly broken."
|
853
961
|
|
854
|
-
This reverts commit
|
962
|
+
This reverts commit 98d544a18e19bb80be9d4a8094efda8ab1d2534b.
|
855
963
|
|
856
964
|
# As with old drover, reverts are generally OK to commit without LGTM.
|
857
965
|
<span style="font-weight: bold; color: #ffffff">$ git cl upload -r some.committer@chromium.org --send-mail</span>
|
858
966
|
<span style="font-weight: bold; color: #ffffff">$ git cl land --bypass-hooks</span>
|
859
967
|
</code></pre></div></div><p><div class="paragraph"></p></div>
|
860
968
|
</div>
|
969
|
+
<div class="sect3">
|
970
|
+
<h4 id="_manual_merge_example">Manual Merge Example</h4>
|
971
|
+
<div class="paragraph"><p></p></div><div class="listingblock"><div class="content"><pre><code># Make sure we have the most up-to-date branch sources.
|
972
|
+
<span style="font-weight: bold; color: #ffffff">$ git fetch</span>
|
973
|
+
|
974
|
+
# Here's a commit (from some.committer) that we want to 'drover'.
|
975
|
+
<span style="font-weight: bold; color: #ffffff">$ git log -n 1 --pretty=fuller</span>
|
976
|
+
<span style="color: #e7e71c">commit b27fff7b167964750303f60222e79f3932f438e0</span>
|
977
|
+
Author: some.committer <some.committer@chromium.org>
|
978
|
+
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
|
979
|
+
Commit: some.committer <some.committer@chromium.org>
|
980
|
+
CommitDate: Thu Apr 10 08:54:46 2014 +0000
|
981
|
+
|
982
|
+
This change needs to go to branch 9999
|
983
|
+
|
984
|
+
# Checkout the branch we want to 'drover' to.
|
985
|
+
<span style="font-weight: bold; color: #ffffff">$ git checkout -b drover_9999 branch-heads/9999</span>
|
986
|
+
Branch drover_9999 set up to track remote ref refs/branch-heads/9999.
|
987
|
+
|
988
|
+
# Now do the 'drover'.
|
989
|
+
# IMPORTANT!!! Do Not leave off the '-x' flag
|
990
|
+
<span style="font-weight: bold; color: #ffffff">$ git cherry-pick -x b27fff7b167964750303f60222e79f3932f438e0</span>
|
991
|
+
[drover_9999 bd8dc1c] This change needs to go to branch 9999
|
992
|
+
Author: some.committer <some.committer@chromium.org>
|
993
|
+
Date: Thu Apr 10 08:54:46 2014 +0000
|
994
|
+
1 file changed, 1 insertion(+)
|
995
|
+
create mode 100644 modified_file
|
996
|
+
|
997
|
+
# That took the code authored by some.committer and committed it to
|
998
|
+
# the branch by the person who drovered it (i.e. you).
|
999
|
+
<span style="font-weight: bold; color: #ffffff">$ git log -n 1 --pretty=fuller</span>
|
1000
|
+
<span style="color: #e7e71c">commit bd8dc1c0678913e36b2b06855810803a2e0ab906</span>
|
1001
|
+
Author: some.committer <some.committer@chromium.org>
|
1002
|
+
AuthorDate: Thu Apr 10 08:54:46 2014 +0000
|
1003
|
+
Commit: you <you@chromium.org>
|
1004
|
+
CommitDate: Thu Apr 10 09:11:36 2014 +0000
|
1005
|
+
|
1006
|
+
This change needs to go to branch 9999
|
1007
|
+
|
1008
|
+
(cherry picked from commit b27fff7b167964750303f60222e79f3932f438e0)
|
1009
|
+
|
1010
|
+
# Looks good. Ship it!
|
1011
|
+
<span style="font-weight: bold; color: #ffffff">$ git cl upload</span>
|
1012
|
+
# Wait for LGTM or TBR it.
|
1013
|
+
<span style="font-weight: bold; color: #ffffff">$ git cl land</span>
|
1014
|
+
# Or skip the LGTM/TBR and just 'git cl land --bypass-hooks'
|
1015
|
+
</code></pre></div></div><p><div class="paragraph"></p></div>
|
1016
|
+
</div>
|
861
1017
|
</div>
|
862
1018
|
</div>
|
863
1019
|
</div>
|
@@ -879,7 +1035,7 @@ from <a href="https://chromium.googlesource.com/chromium/tools/depot_tools.git">
|
|
879
1035
|
<div id="footnotes"><hr /></div>
|
880
1036
|
<div id="footer">
|
881
1037
|
<div id="footer-text">
|
882
|
-
Last updated
|
1038
|
+
Last updated 2015-10-20 18:00:26 AEDT
|
883
1039
|
</div>
|
884
1040
|
</div>
|
885
1041
|
</body>
|