libv8 7.8.279.23.0beta1 → 8.4.255.0
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 +11 -14
- data/CHANGELOG.md +7 -1
- data/README.md +10 -11
- data/Rakefile +30 -36
- data/ext/libv8/builder.rb +2 -1
- data/lib/libv8/version.rb +1 -1
- data/libv8.gemspec +1 -3
- data/vendor/depot_tools/{cipd.ps1 → .cipd_impl.ps1} +0 -0
- data/vendor/depot_tools/.gitattributes +1 -1
- data/vendor/depot_tools/.gitignore +3 -1
- data/vendor/depot_tools/.style.yapf +3 -1
- data/vendor/depot_tools/.vpython +55 -0
- data/vendor/depot_tools/.vpython3 +23 -0
- data/vendor/depot_tools/CROS_OWNERS +3 -1
- data/vendor/depot_tools/GOMA_OWNERS +9 -0
- data/vendor/depot_tools/LUCI_OWNERS +5 -0
- data/vendor/depot_tools/OWNERS +21 -6
- data/vendor/depot_tools/PRESUBMIT.py +35 -18
- data/vendor/depot_tools/README.git-cl.md +0 -14
- data/vendor/depot_tools/README.md +1 -1
- data/vendor/depot_tools/WATCHLISTS +2 -2
- data/vendor/depot_tools/auth.py +60 -772
- data/vendor/depot_tools/autoninja +12 -6
- data/vendor/depot_tools/autoninja.bat +6 -6
- data/vendor/depot_tools/autoninja.py +64 -27
- data/vendor/depot_tools/bb +1 -1
- data/vendor/depot_tools/bootstrap/{win/README.md → README.md} +28 -14
- data/vendor/depot_tools/bootstrap/{win/win_tools.py → bootstrap.py} +60 -43
- data/vendor/depot_tools/bootstrap/{win/git-bash.template.sh → git-bash.template.sh} +1 -1
- data/vendor/depot_tools/bootstrap/{win/git.template.bat → git.template.bat} +0 -0
- data/vendor/depot_tools/bootstrap/manifest.txt +27 -0
- data/vendor/depot_tools/bootstrap/manifest_bleeding_edge.txt +27 -0
- data/vendor/depot_tools/bootstrap/{win/profile.d.python.sh → profile.d.python.sh} +0 -0
- data/vendor/depot_tools/bootstrap/{win/python27.bleeding_edge.bat → python27.bat} +0 -0
- data/vendor/depot_tools/bootstrap/{win/python27.new.bat → python3.bat} +3 -3
- data/vendor/depot_tools/bootstrap/{win/win_tools.bat → win_tools.bat} +21 -16
- data/vendor/depot_tools/bootstrap_python3 +35 -0
- data/vendor/depot_tools/cbuildbot +1 -1
- data/vendor/depot_tools/chrome_set_ver +1 -1
- data/vendor/depot_tools/cipd +43 -39
- data/vendor/depot_tools/cipd.bat +2 -2
- data/vendor/depot_tools/cipd_client_version +1 -1
- data/vendor/depot_tools/cipd_client_version.digests +15 -14
- data/vendor/depot_tools/cipd_manifest.txt +31 -8
- data/vendor/depot_tools/cipd_manifest.versions +278 -158
- data/vendor/depot_tools/cit.py +9 -7
- data/vendor/depot_tools/clang_format.py +4 -1
- data/vendor/depot_tools/clang_format_merge_driver.py +10 -8
- data/vendor/depot_tools/compile_single_file.py +7 -2
- data/vendor/depot_tools/cpplint.py +51 -45
- data/vendor/depot_tools/cros +87 -0
- data/vendor/depot_tools/cros_sdk +1 -1
- data/vendor/depot_tools/crosjobs +13 -0
- data/vendor/depot_tools/detect_host_arch.py +0 -1
- data/vendor/depot_tools/dirmd +12 -0
- data/vendor/depot_tools/dirmd.bat +7 -0
- data/vendor/depot_tools/download_from_google_storage.py +47 -27
- data/vendor/depot_tools/ensure_bootstrap +14 -0
- data/vendor/depot_tools/fetch +14 -1
- data/vendor/depot_tools/fetch.bat +14 -1
- data/vendor/depot_tools/fetch.py +5 -7
- data/vendor/depot_tools/fetch_configs/chromium.py +6 -4
- data/vendor/depot_tools/fetch_configs/devtools-frontend.py +44 -0
- data/vendor/depot_tools/fetch_configs/ios_internal.py +10 -19
- data/vendor/depot_tools/fix_encoding.py +19 -5
- data/vendor/depot_tools/gclient +28 -12
- data/vendor/depot_tools/gclient-new-workdir.py +2 -0
- data/vendor/depot_tools/gclient.bat +18 -1
- data/vendor/depot_tools/gclient.py +156 -118
- data/vendor/depot_tools/gclient_eval.py +119 -107
- data/vendor/depot_tools/gclient_paths.py +67 -57
- data/vendor/depot_tools/gclient_scm.py +180 -169
- data/vendor/depot_tools/gclient_utils.py +177 -124
- data/vendor/depot_tools/gerrit_client.py +21 -13
- data/vendor/depot_tools/gerrit_util.py +188 -228
- data/vendor/depot_tools/git-cache +1 -1
- data/vendor/depot_tools/git-cl +1 -1
- data/vendor/depot_tools/git-drover +1 -1
- data/vendor/depot_tools/git-find-releases +1 -1
- data/vendor/depot_tools/git-footers +1 -1
- data/vendor/depot_tools/git-freeze +1 -1
- data/vendor/depot_tools/git-hyper-blame +1 -1
- 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-upstream-diff +1 -1
- data/vendor/depot_tools/git_cache.py +195 -281
- data/vendor/depot_tools/git_cl.py +1506 -2075
- data/vendor/depot_tools/git_cl_completion.sh +16 -2
- data/vendor/depot_tools/git_common.py +77 -32
- data/vendor/depot_tools/git_drover.py +17 -8
- data/vendor/depot_tools/git_find_releases.py +11 -9
- data/vendor/depot_tools/git_footers.py +13 -9
- data/vendor/depot_tools/git_freezer.py +3 -1
- data/vendor/depot_tools/git_hyper_blame.py +25 -32
- data/vendor/depot_tools/git_map.py +115 -93
- data/vendor/depot_tools/git_map_branches.py +11 -10
- data/vendor/depot_tools/git_mark_merge_base.py +8 -6
- data/vendor/depot_tools/git_nav_downstream.py +9 -6
- data/vendor/depot_tools/git_new_branch.py +39 -33
- data/vendor/depot_tools/git_number.py +28 -17
- data/vendor/depot_tools/git_rebase_update.py +50 -49
- data/vendor/depot_tools/git_rename_branch.py +2 -2
- data/vendor/depot_tools/git_reparent_branch.py +8 -6
- data/vendor/depot_tools/git_upstream_diff.py +4 -2
- data/vendor/depot_tools/gn.py +6 -4
- data/vendor/depot_tools/goma_auth +12 -0
- data/vendor/depot_tools/goma_auth.bat +8 -0
- data/vendor/depot_tools/goma_ctl +12 -0
- data/vendor/depot_tools/goma_ctl.bat +8 -0
- data/vendor/depot_tools/gsutil.py +5 -2
- data/vendor/depot_tools/gsutil.py.bat +8 -0
- data/vendor/depot_tools/gsutil.vpython +3 -1
- data/vendor/depot_tools/infra/config/OWNERS +2 -2
- data/vendor/depot_tools/infra/config/recipes.cfg +3 -2
- data/vendor/depot_tools/led +1 -1
- data/vendor/depot_tools/lockfile.py +116 -0
- data/vendor/depot_tools/luci-auth +1 -1
- data/vendor/depot_tools/lucicfg +1 -1
- data/vendor/depot_tools/mac_toolchain +1 -1
- data/vendor/depot_tools/man/html/depot_tools.html +1 -1
- data/vendor/depot_tools/man/html/depot_tools_tutorial.html +31 -25
- data/vendor/depot_tools/man/html/git-cl.html +1 -1
- data/vendor/depot_tools/man/html/git-drover.html +18 -18
- data/vendor/depot_tools/man/html/git-footers.html +1 -1
- data/vendor/depot_tools/man/html/git-freeze.html +3 -3
- data/vendor/depot_tools/man/html/git-hyper-blame.html +1 -1
- data/vendor/depot_tools/man/html/git-map-branches.html +2 -2
- data/vendor/depot_tools/man/html/git-map.html +1 -1
- data/vendor/depot_tools/man/html/git-mark-merge-base.html +1 -1
- data/vendor/depot_tools/man/html/git-nav-downstream.html +3 -3
- data/vendor/depot_tools/man/html/git-nav-upstream.html +12 -6
- data/vendor/depot_tools/man/html/git-new-branch.html +1 -1
- data/vendor/depot_tools/man/html/git-rebase-update.html +20 -1
- data/vendor/depot_tools/man/html/git-rename-branch.html +1 -1
- data/vendor/depot_tools/man/html/git-reparent-branch.html +1 -1
- data/vendor/depot_tools/man/html/git-retry.html +1 -1
- data/vendor/depot_tools/man/html/git-squash-branch.html +1 -1
- data/vendor/depot_tools/man/html/git-thaw.html +1 -1
- data/vendor/depot_tools/man/html/git-upstream-diff.html +10 -6
- data/vendor/depot_tools/man/man1/git-cl.1 +4 -4
- data/vendor/depot_tools/man/man1/git-drover.1 +21 -21
- 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 +6 -6
- data/vendor/depot_tools/man/man1/git-nav-upstream.1 +15 -9
- data/vendor/depot_tools/man/man1/git-new-branch.1 +3 -3
- data/vendor/depot_tools/man/man1/git-rebase-update.1 +14 -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 +4 -4
- data/vendor/depot_tools/man/man1/git-squash-branch.1 +4 -4
- data/vendor/depot_tools/man/man1/git-thaw.1 +4 -4
- data/vendor/depot_tools/man/man1/git-upstream-diff.1 +7 -13
- data/vendor/depot_tools/man/man7/depot_tools.7 +4 -4
- data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +31 -25
- data/vendor/depot_tools/man/src/common_demo_functions.sh +2 -2
- data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +3 -3
- data/vendor/depot_tools/man/src/filter_demo_output.py +3 -1
- data/vendor/depot_tools/man/src/git-new-branch.txt +2 -1
- data/vendor/depot_tools/man/src/git-rebase-update.txt +8 -1
- data/vendor/depot_tools/metrics.README.md +5 -2
- data/vendor/depot_tools/metrics.py +4 -4
- data/vendor/depot_tools/metrics_utils.py +3 -3
- data/vendor/depot_tools/my_activity.py +85 -251
- data/vendor/depot_tools/ninja +1 -0
- data/vendor/depot_tools/ninja-mac +0 -0
- data/vendor/depot_tools/ninjalog_uploader.py +146 -145
- data/vendor/depot_tools/ninjalog_uploader_wrapper.py +69 -60
- data/vendor/depot_tools/owners.py +57 -21
- data/vendor/depot_tools/owners_finder.py +28 -14
- data/vendor/depot_tools/post_build_ninja_summary.py +76 -48
- data/vendor/depot_tools/presubmit_canned_checks.py +293 -106
- data/vendor/depot_tools/presubmit_support.py +527 -333
- data/vendor/depot_tools/prpc +1 -1
- data/vendor/depot_tools/pylint +2 -12
- data/vendor/depot_tools/pylint-1.5 +78 -0
- data/vendor/depot_tools/pylint-1.6 +78 -0
- data/vendor/depot_tools/pylint-1.7 +78 -0
- data/vendor/depot_tools/pylint-1.8 +78 -0
- data/vendor/depot_tools/pylint-1.9 +78 -0
- data/vendor/depot_tools/{depot-tools-auth.bat → pylint.bat} +2 -2
- data/vendor/depot_tools/pylint_main.py +45 -0
- data/vendor/depot_tools/pylintrc +14 -1
- data/vendor/depot_tools/python-bin/python3 +7 -0
- data/vendor/depot_tools/python_runner.sh +13 -8
- data/vendor/depot_tools/rdb +12 -0
- data/vendor/depot_tools/rdb.bat +7 -0
- data/vendor/depot_tools/recipes/OWNERS +0 -1
- data/vendor/depot_tools/recipes/README.recipes.md +215 -151
- data/vendor/depot_tools/recipes/recipe_modules/OWNERS +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +17 -17
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +65 -32
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic.json +12 -4
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_luci.json +11 -3
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_with_branch_heads.json +12 -4
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/clobber.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_rebase_patch_ref.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_reset.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/input_commit_with_id_without_repo.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/multiple_patch_refs.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_apply_patch_on_gclient.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_HEAD.json +12 -4
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_a_branch_head.json +10 -4
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_a_specific_commit.json +12 -4
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_master.json +10 -4
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/refs.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/reset_root_solution_revision.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/resolve_chromium_fixed_version.json +117 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +16 -10
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +34 -10
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +16 -10
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_branch_heads.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_feature_branch.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8_feature_branch.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_webrtc.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +27 -9
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/unrecognized_commit_repo.json +0 -5
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_tags.json +22 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py +7 -23
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +187 -114
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/tests/do_not_retry_patch_failures_in_cq.py +42 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/tests/ensure_checkout.py +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/cipd/__init__.py +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/api.py +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/basic.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/basic_pkg.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/describe-failed.json +2 -4
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/describe-many-instances.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/mac64.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_file.json +26 -6
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_mode.json +23 -5
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/pkg_bad_verfile.json +23 -5
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/full.expected/win64.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk arch.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk bits.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_32.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_64.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_32.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_64.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_mips_64.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/mac_intel_64.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_32.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_64.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/cipd/test_api.py +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/api.py +4 -1
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/examples/full.expected/basic.json +4 -2
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/examples/full.expected/basic_luci.json +3 -1
- data/vendor/depot_tools/recipes/recipe_modules/depot_tools/examples/full.expected/win.json +4 -2
- data/vendor/depot_tools/recipes/recipe_modules/gclient/__init__.py +2 -1
- data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +82 -13
- data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +21 -9
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/basic.json +3 -4
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/revision.json +3 -6
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/tryserver.json +3 -4
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.py +7 -7
- data/vendor/depot_tools/recipes/recipe_modules/gclient/resources/diff_deps.py +16 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/test_api.py +4 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/diff_deps.expected/basic.json +55 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/diff_deps.expected/dont have revision yet.json +84 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/diff_deps.expected/no change, exception.json +83 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/diff_deps.expected/windows.json +55 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/diff_deps.py +88 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/patch_project.py +9 -21
- data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/sync_failure.py +24 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +2 -1
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +7 -12
- data/vendor/depot_tools/recipes/recipe_modules/git/__init__.py +0 -2
- data/vendor/depot_tools/recipes/recipe_modules/git/api.py +9 -17
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic_branch.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic_file_name.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic_hash.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic_ref.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic_submodule_update_force.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic_tags.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/can_fail_build.json +3 -13
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/cannot_fail_build.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/cat-file_test.json +4 -12
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/count-objects_delta.json +2 -10
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/count-objects_failed.json +1 -7
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/count-objects_with_bad_output.json +1 -7
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/count-objects_with_bad_output_fails_build.json +0 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/curl_trace_file.json +3 -10
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/git-cache-checkout.json +3 -11
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/platform_win.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/rebase_failed.json +3 -13
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/remote_not_origin.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/set_got_revision.json +2 -8
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.py +0 -5
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/__init__.py +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/api.py +7 -13
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/examples/full.expected/basic.json +21 -16
- data/vendor/depot_tools/recipes/recipe_modules/git_cl/examples/full.py +1 -2
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/api.py +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/examples/full.expected/basic.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/resources/gerrit_client.py +2 -2
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/tests/parse_repo_url.expected/basic.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/gsutil/api.py +23 -8
- data/vendor/depot_tools/recipes/recipe_modules/gsutil/examples/full.expected/basic.json +52 -1
- data/vendor/depot_tools/recipes/recipe_modules/gsutil/examples/full.py +15 -0
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/__init__.py +1 -0
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/api.py +32 -8
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/examples/full.expected/ancient_version.json +83 -0
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/examples/full.expected/automatic_version.json +83 -0
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/examples/full.expected/explicit_version.json +83 -0
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/examples/full.expected/linux.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/examples/full.expected/mac.json +5 -4
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/examples/full.expected/win.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/osx_sdk/examples/full.py +21 -2
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/__init__.py +20 -0
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/api.py +235 -3
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/examples/full.expected/basic.json +13 -5
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/examples/full.py +5 -1
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/properties.proto +14 -0
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/test_api.py +19 -0
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/tests/execute.py +247 -0
- data/vendor/depot_tools/recipes/recipe_modules/presubmit/tests/prepare.py +49 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +33 -45
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/basic_tags.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch.json +64 -21
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch_and_target_ref.json +64 -21
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch.json +1 -22
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch_new.json +1 -22
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.py +5 -32
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/tests/gerrit_change_fetch_ref_timeout.py +29 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/tests/gerrit_change_owner.expected/basic.json +5 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/tests/gerrit_change_owner.py +22 -0
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/tests/gerrit_change_target_ref.py +32 -0
- data/vendor/depot_tools/recipes/recipe_modules/windows_sdk/examples/full.expected/linux.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/windows_sdk/examples/full.expected/mac.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/windows_sdk/examples/full.expected/win.json +2 -1
- data/vendor/depot_tools/recipes/recipe_modules/windows_sdk/examples/full.py +1 -6
- data/vendor/depot_tools/recipes/recipes.py +49 -28
- data/vendor/depot_tools/recipes/recipes/fetch_end_to_end_test.expected/basic.json +11 -6
- data/vendor/depot_tools/repo +698 -540
- data/vendor/depot_tools/roll-dep +14 -1
- data/vendor/depot_tools/roll-dep.bat +10 -1
- data/vendor/depot_tools/roll_dep.py +15 -10
- data/vendor/depot_tools/scm.py +94 -74
- data/vendor/depot_tools/setup_color.py +36 -2
- data/vendor/depot_tools/split_cl.py +44 -32
- data/vendor/depot_tools/subcommand.py +6 -6
- data/vendor/depot_tools/subprocess2.py +38 -322
- data/vendor/depot_tools/third_party/colorama/LICENSE.txt +0 -1
- data/vendor/depot_tools/third_party/colorama/README.chromium +4 -5
- data/vendor/depot_tools/third_party/colorama/README.rst +346 -0
- data/vendor/depot_tools/third_party/colorama/__init__.py +3 -4
- data/vendor/depot_tools/third_party/colorama/ansi.py +82 -30
- data/vendor/depot_tools/third_party/colorama/ansitowin32.py +105 -37
- data/vendor/depot_tools/third_party/colorama/initialise.py +39 -15
- data/vendor/depot_tools/third_party/colorama/win32.py +46 -28
- data/vendor/depot_tools/third_party/colorama/winterm.py +80 -31
- data/vendor/depot_tools/update_depot_tools +18 -8
- data/vendor/depot_tools/update_depot_tools.bat +19 -15
- data/vendor/depot_tools/upload_metrics.py +7 -6
- data/vendor/depot_tools/upload_to_google_storage.py +22 -15
- data/vendor/depot_tools/vpython +4 -4
- data/vendor/depot_tools/vpython.bat +1 -1
- data/vendor/depot_tools/vpython3 +55 -0
- data/vendor/depot_tools/vpython3.bat +12 -0
- data/vendor/depot_tools/watchlists.py +14 -11
- data/vendor/depot_tools/weekly +4 -2
- data/vendor/depot_tools/win32imports.py +61 -0
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +49 -41
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +142 -149
- data/vendor/depot_tools/wtf +5 -3
- data/vendor/depot_tools/yapf +5 -1
- metadata +66 -345
- data/vendor/depot_tools/README.testing +0 -23
- data/vendor/depot_tools/annotated_gclient.py +0 -89
- data/vendor/depot_tools/appengine_mapper.py +0 -23
- data/vendor/depot_tools/bootstrap/win/manifest.txt +0 -20
- data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +0 -20
- data/vendor/depot_tools/bootstrap/win/pylint.new.bat +0 -7
- data/vendor/depot_tools/buildbucket.py +0 -186
- data/vendor/depot_tools/checkout.py +0 -431
- data/vendor/depot_tools/cros +0 -1
- data/vendor/depot_tools/dart_format.py +0 -58
- data/vendor/depot_tools/depot-tools-auth +0 -8
- data/vendor/depot_tools/depot-tools-auth.py +0 -102
- data/vendor/depot_tools/my_reviews.py +0 -396
- data/vendor/depot_tools/patch.py +0 -548
- data/vendor/depot_tools/pylint.py +0 -30
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_manifest_name.json +0 -48
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/buildbot.json +0 -239
- data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/basic_luci.json +0 -222
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/__init__.py +0 -4
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/api.py +0 -29
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/basic.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_buildbot_linux.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_buildbot_mac.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_buildbot_win.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_generic_linux.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_generic_mac.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_generic_win.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_linux.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_mac.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_win.json +0 -15
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.py +0 -33
- data/vendor/depot_tools/recipes/recipe_modules/infra_paths/path_config.py +0 -66
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/set_failure_hash_with_no_steps.json +0 -11
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_git_patch.json +0 -45
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_git_patch_luci.json +0 -45
- data/vendor/depot_tools/rietveld.py +0 -779
- data/vendor/depot_tools/roll-dep-svn +0 -8
- data/vendor/depot_tools/roll-dep-svn.bat +0 -12
- data/vendor/depot_tools/roll_dep_svn.py +0 -430
- data/vendor/depot_tools/support/chromite_wrapper +0 -96
- data/vendor/depot_tools/third_party/boto/LICENSE +0 -18
- data/vendor/depot_tools/third_party/boto/README.chromium +0 -43
- data/vendor/depot_tools/third_party/boto/README.rst +0 -163
- data/vendor/depot_tools/third_party/boto/__init__.py +0 -793
- data/vendor/depot_tools/third_party/boto/auth.py +0 -682
- data/vendor/depot_tools/third_party/boto/auth_handler.py +0 -58
- data/vendor/depot_tools/third_party/boto/cacerts/__init__.py +0 -22
- data/vendor/depot_tools/third_party/boto/cacerts/cacerts.txt +0 -2183
- data/vendor/depot_tools/third_party/boto/compat.py +0 -28
- data/vendor/depot_tools/third_party/boto/connection.py +0 -1081
- data/vendor/depot_tools/third_party/boto/contrib/__init__.py +0 -22
- data/vendor/depot_tools/third_party/boto/contrib/ymlmessage.py +0 -52
- data/vendor/depot_tools/third_party/boto/core/README +0 -58
- data/vendor/depot_tools/third_party/boto/core/__init__.py +0 -23
- data/vendor/depot_tools/third_party/boto/core/auth.py +0 -78
- data/vendor/depot_tools/third_party/boto/core/credentials.py +0 -154
- data/vendor/depot_tools/third_party/boto/core/dictresponse.py +0 -178
- data/vendor/depot_tools/third_party/boto/core/service.py +0 -67
- data/vendor/depot_tools/third_party/boto/datapipeline/__init__.py +0 -0
- data/vendor/depot_tools/third_party/boto/datapipeline/exceptions.py +0 -42
- data/vendor/depot_tools/third_party/boto/datapipeline/layer1.py +0 -546
- data/vendor/depot_tools/third_party/boto/ecs/__init__.py +0 -90
- data/vendor/depot_tools/third_party/boto/ecs/item.py +0 -153
- data/vendor/depot_tools/third_party/boto/exception.py +0 -476
- data/vendor/depot_tools/third_party/boto/file/README +0 -49
- data/vendor/depot_tools/third_party/boto/file/__init__.py +0 -28
- data/vendor/depot_tools/third_party/boto/file/bucket.py +0 -112
- data/vendor/depot_tools/third_party/boto/file/connection.py +0 -33
- data/vendor/depot_tools/third_party/boto/file/key.py +0 -199
- data/vendor/depot_tools/third_party/boto/file/simpleresultset.py +0 -30
- data/vendor/depot_tools/third_party/boto/fps/__init__.py +0 -21
- data/vendor/depot_tools/third_party/boto/fps/connection.py +0 -369
- data/vendor/depot_tools/third_party/boto/fps/exception.py +0 -344
- data/vendor/depot_tools/third_party/boto/fps/response.py +0 -175
- data/vendor/depot_tools/third_party/boto/gs/__init__.py +0 -22
- data/vendor/depot_tools/third_party/boto/gs/acl.py +0 -304
- data/vendor/depot_tools/third_party/boto/gs/bucket.py +0 -870
- data/vendor/depot_tools/third_party/boto/gs/bucketlistresultset.py +0 -64
- data/vendor/depot_tools/third_party/boto/gs/connection.py +0 -103
- data/vendor/depot_tools/third_party/boto/gs/cors.py +0 -169
- data/vendor/depot_tools/third_party/boto/gs/key.py +0 -704
- data/vendor/depot_tools/third_party/boto/gs/resumable_upload_handler.py +0 -659
- data/vendor/depot_tools/third_party/boto/gs/user.py +0 -54
- data/vendor/depot_tools/third_party/boto/handler.py +0 -44
- data/vendor/depot_tools/third_party/boto/https_connection.py +0 -124
- data/vendor/depot_tools/third_party/boto/jsonresponse.py +0 -163
- data/vendor/depot_tools/third_party/boto/manage/__init__.py +0 -23
- data/vendor/depot_tools/third_party/boto/manage/cmdshell.py +0 -241
- data/vendor/depot_tools/third_party/boto/manage/propget.py +0 -64
- data/vendor/depot_tools/third_party/boto/manage/server.py +0 -556
- data/vendor/depot_tools/third_party/boto/manage/task.py +0 -175
- data/vendor/depot_tools/third_party/boto/manage/test_manage.py +0 -34
- data/vendor/depot_tools/third_party/boto/manage/volume.py +0 -420
- data/vendor/depot_tools/third_party/boto/mashups/__init__.py +0 -23
- data/vendor/depot_tools/third_party/boto/mashups/interactive.py +0 -97
- data/vendor/depot_tools/third_party/boto/mashups/iobject.py +0 -115
- data/vendor/depot_tools/third_party/boto/mashups/order.py +0 -211
- data/vendor/depot_tools/third_party/boto/mashups/server.py +0 -395
- data/vendor/depot_tools/third_party/boto/plugin.py +0 -90
- data/vendor/depot_tools/third_party/boto/provider.py +0 -337
- data/vendor/depot_tools/third_party/boto/pyami/__init__.py +0 -22
- data/vendor/depot_tools/third_party/boto/pyami/bootstrap.py +0 -134
- data/vendor/depot_tools/third_party/boto/pyami/config.py +0 -229
- data/vendor/depot_tools/third_party/boto/pyami/copybot.cfg +0 -60
- data/vendor/depot_tools/third_party/boto/pyami/copybot.py +0 -97
- data/vendor/depot_tools/third_party/boto/pyami/helloworld.py +0 -28
- data/vendor/depot_tools/third_party/boto/pyami/launch_ami.py +0 -178
- data/vendor/depot_tools/third_party/boto/pyami/scriptbase.py +0 -44
- data/vendor/depot_tools/third_party/boto/pyami/startup.py +0 -60
- data/vendor/depot_tools/third_party/boto/regioninfo.py +0 -63
- data/vendor/depot_tools/third_party/boto/resultset.py +0 -169
- data/vendor/depot_tools/third_party/boto/roboto/__init__.py +0 -1
- data/vendor/depot_tools/third_party/boto/roboto/awsqueryrequest.py +0 -504
- data/vendor/depot_tools/third_party/boto/roboto/awsqueryservice.py +0 -121
- data/vendor/depot_tools/third_party/boto/roboto/param.py +0 -147
- data/vendor/depot_tools/third_party/boto/s3/__init__.py +0 -84
- data/vendor/depot_tools/third_party/boto/s3/acl.py +0 -164
- data/vendor/depot_tools/third_party/boto/s3/bucket.py +0 -1634
- data/vendor/depot_tools/third_party/boto/s3/bucketlistresultset.py +0 -139
- data/vendor/depot_tools/third_party/boto/s3/bucketlogging.py +0 -83
- data/vendor/depot_tools/third_party/boto/s3/connection.py +0 -540
- data/vendor/depot_tools/third_party/boto/s3/cors.py +0 -210
- data/vendor/depot_tools/third_party/boto/s3/deletemarker.py +0 -55
- data/vendor/depot_tools/third_party/boto/s3/key.py +0 -1712
- data/vendor/depot_tools/third_party/boto/s3/keyfile.py +0 -134
- data/vendor/depot_tools/third_party/boto/s3/lifecycle.py +0 -231
- data/vendor/depot_tools/third_party/boto/s3/multidelete.py +0 -138
- data/vendor/depot_tools/third_party/boto/s3/multipart.py +0 -315
- data/vendor/depot_tools/third_party/boto/s3/prefix.py +0 -42
- data/vendor/depot_tools/third_party/boto/s3/resumable_download_handler.py +0 -339
- data/vendor/depot_tools/third_party/boto/s3/tagging.py +0 -71
- data/vendor/depot_tools/third_party/boto/s3/user.py +0 -49
- data/vendor/depot_tools/third_party/boto/s3/website.py +0 -237
- data/vendor/depot_tools/third_party/boto/services/__init__.py +0 -23
- data/vendor/depot_tools/third_party/boto/services/bs.py +0 -179
- data/vendor/depot_tools/third_party/boto/services/message.py +0 -58
- data/vendor/depot_tools/third_party/boto/services/result.py +0 -136
- data/vendor/depot_tools/third_party/boto/services/service.py +0 -161
- data/vendor/depot_tools/third_party/boto/services/servicedef.py +0 -91
- data/vendor/depot_tools/third_party/boto/services/sonofmmm.cfg +0 -43
- data/vendor/depot_tools/third_party/boto/services/sonofmmm.py +0 -81
- data/vendor/depot_tools/third_party/boto/services/submit.py +0 -88
- data/vendor/depot_tools/third_party/boto/ses/__init__.py +0 -54
- data/vendor/depot_tools/third_party/boto/ses/connection.py +0 -521
- data/vendor/depot_tools/third_party/boto/ses/exceptions.py +0 -77
- data/vendor/depot_tools/third_party/boto/storage_uri.py +0 -835
- data/vendor/depot_tools/third_party/boto/sts/__init__.py +0 -55
- data/vendor/depot_tools/third_party/boto/sts/connection.py +0 -207
- data/vendor/depot_tools/third_party/boto/sts/credentials.py +0 -215
- data/vendor/depot_tools/third_party/boto/utils.py +0 -927
- data/vendor/depot_tools/third_party/colorama/README.txt +0 -304
- data/vendor/depot_tools/third_party/fancy_urllib/README +0 -22
- data/vendor/depot_tools/third_party/fancy_urllib/__init__.py +0 -460
- data/vendor/depot_tools/third_party/logilab/README.chromium +0 -6
- data/vendor/depot_tools/third_party/logilab/__init__.py +0 -0
- data/vendor/depot_tools/third_party/logilab/astroid/LICENSE.txt +0 -340
- data/vendor/depot_tools/third_party/logilab/astroid/README.chromium +0 -11
- data/vendor/depot_tools/third_party/logilab/astroid/__init__.py +0 -136
- data/vendor/depot_tools/third_party/logilab/astroid/__pkginfo__.py +0 -42
- data/vendor/depot_tools/third_party/logilab/astroid/arguments.py +0 -233
- data/vendor/depot_tools/third_party/logilab/astroid/as_string.py +0 -548
- data/vendor/depot_tools/third_party/logilab/astroid/astpeephole.py +0 -86
- data/vendor/depot_tools/third_party/logilab/astroid/bases.py +0 -636
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_builtin_inference.py +0 -336
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_dateutil.py +0 -15
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_gi.py +0 -195
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_mechanize.py +0 -18
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_nose.py +0 -82
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_numpy.py +0 -62
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_pytest.py +0 -76
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_qt.py +0 -44
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_six.py +0 -288
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_ssl.py +0 -65
- data/vendor/depot_tools/third_party/logilab/astroid/brain/brain_stdlib.py +0 -473
- data/vendor/depot_tools/third_party/logilab/astroid/builder.py +0 -263
- data/vendor/depot_tools/third_party/logilab/astroid/context.py +0 -81
- data/vendor/depot_tools/third_party/logilab/astroid/decorators.py +0 -75
- data/vendor/depot_tools/third_party/logilab/astroid/exceptions.py +0 -71
- data/vendor/depot_tools/third_party/logilab/astroid/inference.py +0 -359
- data/vendor/depot_tools/third_party/logilab/astroid/manager.py +0 -267
- data/vendor/depot_tools/third_party/logilab/astroid/mixins.py +0 -147
- data/vendor/depot_tools/third_party/logilab/astroid/modutils.py +0 -741
- data/vendor/depot_tools/third_party/logilab/astroid/node_classes.py +0 -1053
- data/vendor/depot_tools/third_party/logilab/astroid/nodes.py +0 -87
- data/vendor/depot_tools/third_party/logilab/astroid/objects.py +0 -186
- data/vendor/depot_tools/third_party/logilab/astroid/protocols.py +0 -470
- data/vendor/depot_tools/third_party/logilab/astroid/raw_building.py +0 -390
- data/vendor/depot_tools/third_party/logilab/astroid/rebuilder.py +0 -989
- data/vendor/depot_tools/third_party/logilab/astroid/scoped_nodes.py +0 -1716
- data/vendor/depot_tools/third_party/logilab/astroid/test_utils.py +0 -201
- data/vendor/depot_tools/third_party/logilab/astroid/transforms.py +0 -96
- data/vendor/depot_tools/third_party/logilab/astroid/util.py +0 -89
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/LICENSE +0 -19
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/README.chromium +0 -11
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/__init__.py +0 -20
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/cext.c +0 -1421
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/compat.py +0 -9
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/simple.py +0 -246
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/slots.py +0 -414
- data/vendor/depot_tools/third_party/logilab/lazy_object_proxy/utils.py +0 -13
- data/vendor/depot_tools/third_party/logilab/wrapt/LICENSE +0 -24
- data/vendor/depot_tools/third_party/logilab/wrapt/README.chromium +0 -11
- data/vendor/depot_tools/third_party/logilab/wrapt/__init__.py +0 -19
- data/vendor/depot_tools/third_party/logilab/wrapt/_wrappers.c +0 -2729
- data/vendor/depot_tools/third_party/logilab/wrapt/arguments.py +0 -96
- data/vendor/depot_tools/third_party/logilab/wrapt/decorators.py +0 -512
- data/vendor/depot_tools/third_party/logilab/wrapt/importer.py +0 -228
- data/vendor/depot_tools/third_party/logilab/wrapt/wrappers.py +0 -901
- data/vendor/depot_tools/third_party/mock/LICENSE.txt +0 -26
- data/vendor/depot_tools/third_party/mock/README.chromium +0 -24
- data/vendor/depot_tools/third_party/mock/__init__.py +0 -2366
- data/vendor/depot_tools/third_party/oauth2client/LICENSE +0 -202
- data/vendor/depot_tools/third_party/oauth2client/MODIFICATIONS.diff +0 -66
- data/vendor/depot_tools/third_party/oauth2client/README.chromium +0 -15
- data/vendor/depot_tools/third_party/oauth2client/__init__.py +0 -5
- data/vendor/depot_tools/third_party/oauth2client/anyjson.py +0 -32
- data/vendor/depot_tools/third_party/oauth2client/appengine.py +0 -963
- data/vendor/depot_tools/third_party/oauth2client/client.py +0 -1363
- data/vendor/depot_tools/third_party/oauth2client/clientsecrets.py +0 -153
- data/vendor/depot_tools/third_party/oauth2client/crypt.py +0 -377
- data/vendor/depot_tools/third_party/oauth2client/django_orm.py +0 -134
- data/vendor/depot_tools/third_party/oauth2client/file.py +0 -124
- data/vendor/depot_tools/third_party/oauth2client/gce.py +0 -90
- data/vendor/depot_tools/third_party/oauth2client/keyring_storage.py +0 -109
- data/vendor/depot_tools/third_party/oauth2client/locked_file.py +0 -373
- data/vendor/depot_tools/third_party/oauth2client/multistore_file.py +0 -465
- data/vendor/depot_tools/third_party/oauth2client/old_run.py +0 -160
- data/vendor/depot_tools/third_party/oauth2client/tools.py +0 -243
- data/vendor/depot_tools/third_party/oauth2client/util.py +0 -196
- data/vendor/depot_tools/third_party/oauth2client/xsrfutil.py +0 -113
- data/vendor/depot_tools/third_party/protobuf26/README.chromium +0 -23
- data/vendor/depot_tools/third_party/protobuf26/__init__.py +0 -0
- data/vendor/depot_tools/third_party/protobuf26/compiler/__init__.py +0 -0
- data/vendor/depot_tools/third_party/protobuf26/compiler/plugin_pb2.py +0 -184
- data/vendor/depot_tools/third_party/protobuf26/descriptor.py +0 -849
- data/vendor/depot_tools/third_party/protobuf26/descriptor_database.py +0 -137
- data/vendor/depot_tools/third_party/protobuf26/descriptor_pb2.py +0 -1522
- data/vendor/depot_tools/third_party/protobuf26/descriptor_pool.py +0 -643
- data/vendor/depot_tools/third_party/protobuf26/internal/__init__.py +0 -0
- data/vendor/depot_tools/third_party/protobuf26/internal/api_implementation.py +0 -89
- data/vendor/depot_tools/third_party/protobuf26/internal/containers.py +0 -269
- data/vendor/depot_tools/third_party/protobuf26/internal/cpp_message.py +0 -663
- data/vendor/depot_tools/third_party/protobuf26/internal/decoder.py +0 -831
- data/vendor/depot_tools/third_party/protobuf26/internal/encoder.py +0 -788
- data/vendor/depot_tools/third_party/protobuf26/internal/enum_type_wrapper.py +0 -89
- data/vendor/depot_tools/third_party/protobuf26/internal/message_listener.py +0 -78
- data/vendor/depot_tools/third_party/protobuf26/internal/python_message.py +0 -1247
- data/vendor/depot_tools/third_party/protobuf26/internal/type_checkers.py +0 -328
- data/vendor/depot_tools/third_party/protobuf26/internal/wire_format.py +0 -268
- data/vendor/depot_tools/third_party/protobuf26/message.py +0 -284
- data/vendor/depot_tools/third_party/protobuf26/message_factory.py +0 -155
- data/vendor/depot_tools/third_party/protobuf26/reflection.py +0 -205
- data/vendor/depot_tools/third_party/protobuf26/service.py +0 -226
- data/vendor/depot_tools/third_party/protobuf26/service_reflection.py +0 -284
- data/vendor/depot_tools/third_party/protobuf26/symbol_database.py +0 -185
- data/vendor/depot_tools/third_party/protobuf26/text_encoding.py +0 -110
- data/vendor/depot_tools/third_party/protobuf26/text_format.py +0 -873
- data/vendor/depot_tools/third_party/pylint.py +0 -37
- data/vendor/depot_tools/third_party/pylint/LICENSE.txt +0 -340
- data/vendor/depot_tools/third_party/pylint/README.chromium +0 -30
- data/vendor/depot_tools/third_party/pylint/__init__.py +0 -46
- data/vendor/depot_tools/third_party/pylint/__main__.py +0 -3
- data/vendor/depot_tools/third_party/pylint/__pkginfo__.py +0 -80
- data/vendor/depot_tools/third_party/pylint/checkers/__init__.py +0 -123
- data/vendor/depot_tools/third_party/pylint/checkers/async.py +0 -82
- data/vendor/depot_tools/third_party/pylint/checkers/base.py +0 -2010
- data/vendor/depot_tools/third_party/pylint/checkers/classes.py +0 -1120
- data/vendor/depot_tools/third_party/pylint/checkers/design_analysis.py +0 -348
- data/vendor/depot_tools/third_party/pylint/checkers/exceptions.py +0 -369
- data/vendor/depot_tools/third_party/pylint/checkers/format.py +0 -993
- data/vendor/depot_tools/third_party/pylint/checkers/imports.py +0 -654
- data/vendor/depot_tools/third_party/pylint/checkers/logging.py +0 -258
- data/vendor/depot_tools/third_party/pylint/checkers/misc.py +0 -105
- data/vendor/depot_tools/third_party/pylint/checkers/newstyle.py +0 -169
- data/vendor/depot_tools/third_party/pylint/checkers/python3.py +0 -591
- data/vendor/depot_tools/third_party/pylint/checkers/raw_metrics.py +0 -129
- data/vendor/depot_tools/third_party/pylint/checkers/similar.py +0 -371
- data/vendor/depot_tools/third_party/pylint/checkers/spelling.py +0 -264
- data/vendor/depot_tools/third_party/pylint/checkers/stdlib.py +0 -280
- data/vendor/depot_tools/third_party/pylint/checkers/strings.py +0 -618
- data/vendor/depot_tools/third_party/pylint/checkers/typecheck.py +0 -974
- data/vendor/depot_tools/third_party/pylint/checkers/utils.py +0 -741
- data/vendor/depot_tools/third_party/pylint/checkers/variables.py +0 -1191
- data/vendor/depot_tools/third_party/pylint/config.py +0 -820
- data/vendor/depot_tools/third_party/pylint/epylint.py +0 -181
- data/vendor/depot_tools/third_party/pylint/extensions/__init__.py +0 -0
- data/vendor/depot_tools/third_party/pylint/extensions/check_docs.py +0 -311
- data/vendor/depot_tools/third_party/pylint/extensions/check_elif.py +0 -62
- data/vendor/depot_tools/third_party/pylint/graph.py +0 -179
- data/vendor/depot_tools/third_party/pylint/gui.py +0 -531
- data/vendor/depot_tools/third_party/pylint/interfaces.py +0 -102
- data/vendor/depot_tools/third_party/pylint/lint.py +0 -1381
- data/vendor/depot_tools/third_party/pylint/pyreverse/__init__.py +0 -5
- data/vendor/depot_tools/third_party/pylint/pyreverse/diadefslib.py +0 -230
- data/vendor/depot_tools/third_party/pylint/pyreverse/diagrams.py +0 -258
- data/vendor/depot_tools/third_party/pylint/pyreverse/inspector.py +0 -372
- data/vendor/depot_tools/third_party/pylint/pyreverse/main.py +0 -147
- data/vendor/depot_tools/third_party/pylint/pyreverse/utils.py +0 -210
- data/vendor/depot_tools/third_party/pylint/pyreverse/vcgutils.py +0 -198
- data/vendor/depot_tools/third_party/pylint/pyreverse/writer.py +0 -198
- data/vendor/depot_tools/third_party/pylint/reporters/__init__.py +0 -149
- data/vendor/depot_tools/third_party/pylint/reporters/guireporter.py +0 -27
- data/vendor/depot_tools/third_party/pylint/reporters/html.py +0 -108
- data/vendor/depot_tools/third_party/pylint/reporters/json.py +0 -64
- data/vendor/depot_tools/third_party/pylint/reporters/text.py +0 -237
- data/vendor/depot_tools/third_party/pylint/reporters/ureports/__init__.py +0 -106
- data/vendor/depot_tools/third_party/pylint/reporters/ureports/html_writer.py +0 -93
- data/vendor/depot_tools/third_party/pylint/reporters/ureports/nodes.py +0 -181
- data/vendor/depot_tools/third_party/pylint/reporters/ureports/text_writer.py +0 -99
- data/vendor/depot_tools/third_party/pylint/testutils.py +0 -414
- data/vendor/depot_tools/third_party/pylint/utils.py +0 -1148
- data/vendor/depot_tools/third_party/pymox/COPYING +0 -202
- data/vendor/depot_tools/third_party/pymox/MANIFEST.in +0 -5
- data/vendor/depot_tools/third_party/pymox/README +0 -56
- data/vendor/depot_tools/third_party/pymox/__init__.py +0 -0
- data/vendor/depot_tools/third_party/pymox/mox.py +0 -1643
- data/vendor/depot_tools/third_party/pymox/mox_test.py +0 -1708
- data/vendor/depot_tools/third_party/pymox/mox_test_helper.py +0 -76
- data/vendor/depot_tools/third_party/pymox/setup.py +0 -14
- data/vendor/depot_tools/third_party/pymox/stubout.py +0 -142
- data/vendor/depot_tools/third_party/pymox/stubout_test.py +0 -47
- data/vendor/depot_tools/third_party/pymox/stubout_testee.py +0 -2
- data/vendor/depot_tools/third_party/simplejson/LICENSE.txt +0 -19
- data/vendor/depot_tools/third_party/simplejson/PKG-INFO +0 -29
- data/vendor/depot_tools/third_party/simplejson/__init__.py +0 -437
- data/vendor/depot_tools/third_party/simplejson/decoder.py +0 -421
- data/vendor/depot_tools/third_party/simplejson/encoder.py +0 -501
- data/vendor/depot_tools/third_party/simplejson/ordered_dict.py +0 -119
- data/vendor/depot_tools/third_party/simplejson/scanner.py +0 -77
- data/vendor/depot_tools/third_party/simplejson/tool.py +0 -39
- data/vendor/depot_tools/third_party/upload.py +0 -2565
@@ -1,67 +0,0 @@
|
|
1
|
-
# Copyright (c) 2012 Mitch Garnaat http://garnaat.org/
|
2
|
-
# Copyright (c) 2012 Amazon.com, Inc. or its affiliates.
|
3
|
-
# All Rights Reserved
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a
|
6
|
-
# copy of this software and associated documentation files (the
|
7
|
-
# "Software"), to deal in the Software without restriction, including
|
8
|
-
# without limitation the rights to use, copy, modify, merge, publish, dis-
|
9
|
-
# tribute, sublicense, and/or sell copies of the Software, and to permit
|
10
|
-
# persons to whom the Software is furnished to do so, subject to the fol-
|
11
|
-
# lowing conditions:
|
12
|
-
#
|
13
|
-
# The above copyright notice and this permission notice shall be included
|
14
|
-
# in all copies or substantial portions of the Software.
|
15
|
-
#
|
16
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
17
|
-
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
|
18
|
-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
19
|
-
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
20
|
-
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
22
|
-
# IN THE SOFTWARE.
|
23
|
-
#
|
24
|
-
|
25
|
-
import requests
|
26
|
-
from .auth import SigV2Auth
|
27
|
-
from .credentials import get_credentials
|
28
|
-
from .dictresponse import Element, XmlHandler
|
29
|
-
|
30
|
-
|
31
|
-
class Service(object):
|
32
|
-
"""
|
33
|
-
This is a simple example service that connects to the EC2 endpoint
|
34
|
-
and supports a single request (DescribeInstances) to show how to
|
35
|
-
use the requests-based code rather than the standard boto code which
|
36
|
-
is based on httplib. At the moment, the only auth mechanism
|
37
|
-
supported is SigV2.
|
38
|
-
"""
|
39
|
-
|
40
|
-
def __init__(self, host='https://ec2.us-east-1.amazonaws.com',
|
41
|
-
path='/', api_version='2012-03-01', persona=None):
|
42
|
-
self.credentials = get_credentials(persona)
|
43
|
-
self.auth = SigV2Auth(self.credentials, api_version=api_version)
|
44
|
-
self.host = host
|
45
|
-
self.path = path
|
46
|
-
|
47
|
-
def get_response(self, params, list_marker=None):
|
48
|
-
r = requests.post(self.host, params=params,
|
49
|
-
hooks={'args': self.auth.add_auth})
|
50
|
-
r.encoding = 'utf-8'
|
51
|
-
body = r.text.encode('utf-8')
|
52
|
-
e = Element(list_marker=list_marker, pythonize_name=True)
|
53
|
-
h = XmlHandler(e, self)
|
54
|
-
h.parse(body)
|
55
|
-
return e
|
56
|
-
|
57
|
-
def build_list_params(self, params, items, label):
|
58
|
-
if isinstance(items, str):
|
59
|
-
items = [items]
|
60
|
-
for i in range(1, len(items) + 1):
|
61
|
-
params['%s.%d' % (label, i)] = items[i - 1]
|
62
|
-
|
63
|
-
def describe_instances(self, instance_ids=None):
|
64
|
-
params = {}
|
65
|
-
if instance_ids:
|
66
|
-
self.build_list_params(params, instance_ids, 'InstanceId')
|
67
|
-
return self.get_response(params)
|
File without changes
|
@@ -1,42 +0,0 @@
|
|
1
|
-
# Copyright (c) 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a
|
4
|
-
# copy of this software and associated documentation files (the
|
5
|
-
# "Software"), to deal in the Software without restriction, including
|
6
|
-
# without limitation the rights to use, copy, modify, merge, publish, dis-
|
7
|
-
# tribute, sublicense, and/or sell copies of the Software, and to permit
|
8
|
-
# persons to whom the Software is furnished to do so, subject to the fol-
|
9
|
-
# lowing conditions:
|
10
|
-
#
|
11
|
-
# The above copyright notice and this permission notice shall be included
|
12
|
-
# in all copies or substantial portions of the Software.
|
13
|
-
#
|
14
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
15
|
-
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
|
16
|
-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
17
|
-
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
18
|
-
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
20
|
-
# IN THE SOFTWARE.
|
21
|
-
#
|
22
|
-
from boto.exception import JSONResponseError
|
23
|
-
|
24
|
-
|
25
|
-
class PipelineDeletedException(JSONResponseError):
|
26
|
-
pass
|
27
|
-
|
28
|
-
|
29
|
-
class InvalidRequestException(JSONResponseError):
|
30
|
-
pass
|
31
|
-
|
32
|
-
|
33
|
-
class TaskNotFoundException(JSONResponseError):
|
34
|
-
pass
|
35
|
-
|
36
|
-
|
37
|
-
class PipelineNotFoundException(JSONResponseError):
|
38
|
-
pass
|
39
|
-
|
40
|
-
|
41
|
-
class InternalServiceError(JSONResponseError):
|
42
|
-
pass
|
@@ -1,546 +0,0 @@
|
|
1
|
-
# Copyright (c) 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a
|
4
|
-
# copy of this software and associated documentation files (the
|
5
|
-
# "Software"), to deal in the Software without restriction, including
|
6
|
-
# without limitation the rights to use, copy, modify, merge, publish, dis-
|
7
|
-
# tribute, sublicense, and/or sell copies of the Software, and to permit
|
8
|
-
# persons to whom the Software is furnished to do so, subject to the fol-
|
9
|
-
# lowing conditions:
|
10
|
-
#
|
11
|
-
# The above copyright notice and this permission notice shall be included
|
12
|
-
# in all copies or substantial portions of the Software.
|
13
|
-
#
|
14
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
15
|
-
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
|
16
|
-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
17
|
-
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
18
|
-
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
20
|
-
# IN THE SOFTWARE.
|
21
|
-
#
|
22
|
-
|
23
|
-
import json
|
24
|
-
import boto
|
25
|
-
from boto.connection import AWSQueryConnection
|
26
|
-
from boto.regioninfo import RegionInfo
|
27
|
-
from boto.exception import JSONResponseError
|
28
|
-
from boto.datapipeline import exceptions
|
29
|
-
|
30
|
-
|
31
|
-
class DataPipelineConnection(AWSQueryConnection):
|
32
|
-
"""
|
33
|
-
This is the AWS Data Pipeline API Reference. This guide provides
|
34
|
-
descriptions and samples of the AWS Data Pipeline API.
|
35
|
-
"""
|
36
|
-
APIVersion = "2012-10-29"
|
37
|
-
DefaultRegionName = "us-east-1"
|
38
|
-
DefaultRegionEndpoint = "datapipeline.us-east-1.amazonaws.com"
|
39
|
-
ServiceName = "DataPipeline"
|
40
|
-
ResponseError = JSONResponseError
|
41
|
-
|
42
|
-
_faults = {
|
43
|
-
"PipelineDeletedException": exceptions.PipelineDeletedException,
|
44
|
-
"InvalidRequestException": exceptions.InvalidRequestException,
|
45
|
-
"TaskNotFoundException": exceptions.TaskNotFoundException,
|
46
|
-
"PipelineNotFoundException": exceptions.PipelineNotFoundException,
|
47
|
-
"InternalServiceError": exceptions.InternalServiceError,
|
48
|
-
}
|
49
|
-
|
50
|
-
|
51
|
-
def __init__(self, **kwargs):
|
52
|
-
region = kwargs.get('region')
|
53
|
-
if not region:
|
54
|
-
region = RegionInfo(self, self.DefaultRegionName,
|
55
|
-
self.DefaultRegionEndpoint)
|
56
|
-
kwargs['host'] = region.endpoint
|
57
|
-
AWSQueryConnection.__init__(self, **kwargs)
|
58
|
-
self.region = region
|
59
|
-
|
60
|
-
|
61
|
-
def _required_auth_capability(self):
|
62
|
-
return ['hmac-v4']
|
63
|
-
|
64
|
-
def activate_pipeline(self, pipeline_id):
|
65
|
-
"""
|
66
|
-
Validates a pipeline and initiates processing. If the pipeline
|
67
|
-
does not pass validation, activation fails.
|
68
|
-
|
69
|
-
:type pipeline_id: string
|
70
|
-
:param pipeline_id: The identifier of the pipeline to activate.
|
71
|
-
|
72
|
-
"""
|
73
|
-
params = {'pipelineId': pipeline_id, }
|
74
|
-
return self.make_request(action='ActivatePipeline',
|
75
|
-
body=json.dumps(params))
|
76
|
-
|
77
|
-
def create_pipeline(self, name, unique_id, description=None):
|
78
|
-
"""
|
79
|
-
Creates a new empty pipeline. When this action succeeds, you can
|
80
|
-
then use the PutPipelineDefinition action to populate the
|
81
|
-
pipeline.
|
82
|
-
|
83
|
-
:type name: string
|
84
|
-
:param name: The name of the new pipeline. You can use the same name
|
85
|
-
for multiple pipelines associated with your AWS account, because
|
86
|
-
AWS Data Pipeline assigns each new pipeline a unique pipeline
|
87
|
-
identifier.
|
88
|
-
|
89
|
-
:type unique_id: string
|
90
|
-
:param unique_id: A unique identifier that you specify. This identifier
|
91
|
-
is not the same as the pipeline identifier assigned by AWS Data
|
92
|
-
Pipeline. You are responsible for defining the format and ensuring
|
93
|
-
the uniqueness of this identifier. You use this parameter to ensure
|
94
|
-
idempotency during repeated calls to CreatePipeline. For example,
|
95
|
-
if the first call to CreatePipeline does not return a clear
|
96
|
-
success, you can pass in the same unique identifier and pipeline
|
97
|
-
name combination on a subsequent call to CreatePipeline.
|
98
|
-
CreatePipeline ensures that if a pipeline already exists with the
|
99
|
-
same name and unique identifier, a new pipeline will not be
|
100
|
-
created. Instead, you'll receive the pipeline identifier from the
|
101
|
-
previous attempt. The uniqueness of the name and unique identifier
|
102
|
-
combination is scoped to the AWS account or IAM user credentials.
|
103
|
-
|
104
|
-
:type description: string
|
105
|
-
:param description: The description of the new pipeline.
|
106
|
-
|
107
|
-
"""
|
108
|
-
params = {'name': name, 'uniqueId': unique_id, }
|
109
|
-
if description is not None:
|
110
|
-
params['description'] = description
|
111
|
-
return self.make_request(action='CreatePipeline',
|
112
|
-
body=json.dumps(params))
|
113
|
-
|
114
|
-
def delete_pipeline(self, pipeline_id):
|
115
|
-
"""
|
116
|
-
Permanently deletes a pipeline, its pipeline definition and its
|
117
|
-
run history. You cannot query or restore a deleted pipeline. AWS
|
118
|
-
Data Pipeline will attempt to cancel instances associated with
|
119
|
-
the pipeline that are currently being processed by task runners.
|
120
|
-
Deleting a pipeline cannot be undone.
|
121
|
-
|
122
|
-
:type pipeline_id: string
|
123
|
-
:param pipeline_id: The identifier of the pipeline to be deleted.
|
124
|
-
|
125
|
-
"""
|
126
|
-
params = {'pipelineId': pipeline_id, }
|
127
|
-
return self.make_request(action='DeletePipeline',
|
128
|
-
body=json.dumps(params))
|
129
|
-
|
130
|
-
def describe_objects(self, object_ids, pipeline_id, marker=None,
|
131
|
-
evaluate_expressions=None):
|
132
|
-
"""
|
133
|
-
Returns the object definitions for a set of objects associated
|
134
|
-
with the pipeline. Object definitions are composed of a set of
|
135
|
-
fields that define the properties of the object.
|
136
|
-
|
137
|
-
:type object_ids: list
|
138
|
-
:param object_ids: Identifiers of the pipeline objects that contain the
|
139
|
-
definitions to be described. You can pass as many as 25 identifiers
|
140
|
-
in a single call to DescribeObjects
|
141
|
-
|
142
|
-
:type marker: string
|
143
|
-
:param marker: The starting point for the results to be returned. The
|
144
|
-
first time you call DescribeObjects, this value should be empty. As
|
145
|
-
long as the action returns HasMoreResults as True, you can call
|
146
|
-
DescribeObjects again and pass the marker value from the response
|
147
|
-
to retrieve the next set of results.
|
148
|
-
|
149
|
-
:type pipeline_id: string
|
150
|
-
:param pipeline_id: Identifier of the pipeline that contains the object
|
151
|
-
definitions.
|
152
|
-
|
153
|
-
:type evaluate_expressions: boolean
|
154
|
-
:param evaluate_expressions:
|
155
|
-
|
156
|
-
"""
|
157
|
-
params = {
|
158
|
-
'objectIds': object_ids,
|
159
|
-
'pipelineId': pipeline_id,
|
160
|
-
}
|
161
|
-
if marker is not None:
|
162
|
-
params['marker'] = marker
|
163
|
-
if evaluate_expressions is not None:
|
164
|
-
params['evaluateExpressions'] = evaluate_expressions
|
165
|
-
return self.make_request(action='DescribeObjects',
|
166
|
-
body=json.dumps(params))
|
167
|
-
|
168
|
-
def describe_pipelines(self, pipeline_ids):
|
169
|
-
"""
|
170
|
-
Retrieve metadata about one or more pipelines. The information
|
171
|
-
retrieved includes the name of the pipeline, the pipeline
|
172
|
-
identifier, its current state, and the user account that owns
|
173
|
-
the pipeline. Using account credentials, you can retrieve
|
174
|
-
metadata about pipelines that you or your IAM users have
|
175
|
-
created. If you are using an IAM user account, you can retrieve
|
176
|
-
metadata about only those pipelines you have read permission
|
177
|
-
for.
|
178
|
-
|
179
|
-
:type pipeline_ids: list
|
180
|
-
:param pipeline_ids: Identifiers of the pipelines to describe. You can
|
181
|
-
pass as many as 25 identifiers in a single call to
|
182
|
-
DescribePipelines. You can obtain pipeline identifiers by calling
|
183
|
-
ListPipelines.
|
184
|
-
|
185
|
-
"""
|
186
|
-
params = {'pipelineIds': pipeline_ids, }
|
187
|
-
return self.make_request(action='DescribePipelines',
|
188
|
-
body=json.dumps(params))
|
189
|
-
|
190
|
-
def evaluate_expression(self, pipeline_id, expression, object_id):
|
191
|
-
"""
|
192
|
-
Evaluates a string in the context of a specified object. A task
|
193
|
-
runner can use this action to evaluate SQL queries stored in
|
194
|
-
Amazon S3.
|
195
|
-
|
196
|
-
:type pipeline_id: string
|
197
|
-
:param pipeline_id: The identifier of the pipeline.
|
198
|
-
|
199
|
-
:type expression: string
|
200
|
-
:param expression: The expression to evaluate.
|
201
|
-
|
202
|
-
:type object_id: string
|
203
|
-
:param object_id: The identifier of the object.
|
204
|
-
|
205
|
-
"""
|
206
|
-
params = {
|
207
|
-
'pipelineId': pipeline_id,
|
208
|
-
'expression': expression,
|
209
|
-
'objectId': object_id,
|
210
|
-
}
|
211
|
-
return self.make_request(action='EvaluateExpression',
|
212
|
-
body=json.dumps(params))
|
213
|
-
|
214
|
-
def get_pipeline_definition(self, pipeline_id, version=None):
|
215
|
-
"""
|
216
|
-
Returns the definition of the specified pipeline. You can call
|
217
|
-
GetPipelineDefinition to retrieve the pipeline definition you
|
218
|
-
provided using PutPipelineDefinition.
|
219
|
-
|
220
|
-
:type pipeline_id: string
|
221
|
-
:param pipeline_id: The identifier of the pipeline.
|
222
|
-
|
223
|
-
:type version: string
|
224
|
-
:param version: The version of the pipeline definition to retrieve.
|
225
|
-
|
226
|
-
"""
|
227
|
-
params = {'pipelineId': pipeline_id, }
|
228
|
-
if version is not None:
|
229
|
-
params['version'] = version
|
230
|
-
return self.make_request(action='GetPipelineDefinition',
|
231
|
-
body=json.dumps(params))
|
232
|
-
|
233
|
-
def list_pipelines(self, marker=None):
|
234
|
-
"""
|
235
|
-
Returns a list of pipeline identifiers for all active pipelines.
|
236
|
-
Identifiers are returned only for pipelines you have permission
|
237
|
-
to access.
|
238
|
-
|
239
|
-
:type marker: string
|
240
|
-
:param marker: The starting point for the results to be returned. The
|
241
|
-
first time you call ListPipelines, this value should be empty. As
|
242
|
-
long as the action returns HasMoreResults as True, you can call
|
243
|
-
ListPipelines again and pass the marker value from the response to
|
244
|
-
retrieve the next set of results.
|
245
|
-
|
246
|
-
"""
|
247
|
-
params = {}
|
248
|
-
if marker is not None:
|
249
|
-
params['marker'] = marker
|
250
|
-
return self.make_request(action='ListPipelines',
|
251
|
-
body=json.dumps(params))
|
252
|
-
|
253
|
-
def poll_for_task(self, worker_group, hostname=None,
|
254
|
-
instance_identity=None):
|
255
|
-
"""
|
256
|
-
Task runners call this action to receive a task to perform from
|
257
|
-
AWS Data Pipeline. The task runner specifies which tasks it can
|
258
|
-
perform by setting a value for the workerGroup parameter of the
|
259
|
-
PollForTask call. The task returned by PollForTask may come from
|
260
|
-
any of the pipelines that match the workerGroup value passed in
|
261
|
-
by the task runner and that was launched using the IAM user
|
262
|
-
credentials specified by the task runner.
|
263
|
-
|
264
|
-
:type worker_group: string
|
265
|
-
:param worker_group: Indicates the type of task the task runner is
|
266
|
-
configured to accept and process. The worker group is set as a
|
267
|
-
field on objects in the pipeline when they are created. You can
|
268
|
-
only specify a single value for workerGroup in the call to
|
269
|
-
PollForTask. There are no wildcard values permitted in workerGroup,
|
270
|
-
the string must be an exact, case-sensitive, match.
|
271
|
-
|
272
|
-
:type hostname: string
|
273
|
-
:param hostname: The public DNS name of the calling task runner.
|
274
|
-
|
275
|
-
:type instance_identity: structure
|
276
|
-
:param instance_identity: Identity information for the Amazon EC2
|
277
|
-
instance that is hosting the task runner. You can get this value by
|
278
|
-
calling the URI, http://169.254.169.254/latest/meta-data/instance-
|
279
|
-
id, from the EC2 instance. For more information, go to Instance
|
280
|
-
Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in
|
281
|
-
this value proves that your task runner is running on an EC2
|
282
|
-
instance, and ensures the proper AWS Data Pipeline service charges
|
283
|
-
are applied to your pipeline.
|
284
|
-
|
285
|
-
"""
|
286
|
-
params = {'workerGroup': worker_group, }
|
287
|
-
if hostname is not None:
|
288
|
-
params['hostname'] = hostname
|
289
|
-
if instance_identity is not None:
|
290
|
-
params['instanceIdentity'] = instance_identity
|
291
|
-
return self.make_request(action='PollForTask',
|
292
|
-
body=json.dumps(params))
|
293
|
-
|
294
|
-
def put_pipeline_definition(self, pipeline_objects, pipeline_id):
|
295
|
-
"""
|
296
|
-
Adds tasks, schedules, and preconditions that control the
|
297
|
-
behavior of the pipeline. You can use PutPipelineDefinition to
|
298
|
-
populate a new pipeline or to update an existing pipeline that
|
299
|
-
has not yet been activated.
|
300
|
-
|
301
|
-
:type pipeline_objects: list
|
302
|
-
:param pipeline_objects: The objects that define the pipeline. These
|
303
|
-
will overwrite the existing pipeline definition.
|
304
|
-
|
305
|
-
:type pipeline_id: string
|
306
|
-
:param pipeline_id: The identifier of the pipeline to be configured.
|
307
|
-
|
308
|
-
"""
|
309
|
-
params = {
|
310
|
-
'pipelineObjects': pipeline_objects,
|
311
|
-
'pipelineId': pipeline_id,
|
312
|
-
}
|
313
|
-
return self.make_request(action='PutPipelineDefinition',
|
314
|
-
body=json.dumps(params))
|
315
|
-
|
316
|
-
def query_objects(self, pipeline_id, sphere, marker=None, query=None,
|
317
|
-
limit=None):
|
318
|
-
"""
|
319
|
-
Queries a pipeline for the names of objects that match a
|
320
|
-
specified set of conditions.
|
321
|
-
|
322
|
-
:type marker: string
|
323
|
-
:param marker: The starting point for the results to be returned. The
|
324
|
-
first time you call QueryObjects, this value should be empty. As
|
325
|
-
long as the action returns HasMoreResults as True, you can call
|
326
|
-
QueryObjects again and pass the marker value from the response to
|
327
|
-
retrieve the next set of results.
|
328
|
-
|
329
|
-
:type query: structure
|
330
|
-
:param query: Query that defines the objects to be returned. The Query
|
331
|
-
object can contain a maximum of ten selectors. The conditions in
|
332
|
-
the query are limited to top-level String fields in the object.
|
333
|
-
These filters can be applied to components, instances, and
|
334
|
-
attempts.
|
335
|
-
|
336
|
-
:type pipeline_id: string
|
337
|
-
:param pipeline_id: Identifier of the pipeline to be queried for object
|
338
|
-
names.
|
339
|
-
|
340
|
-
:type limit: integer
|
341
|
-
:param limit: Specifies the maximum number of object names that
|
342
|
-
QueryObjects will return in a single call. The default value is
|
343
|
-
100.
|
344
|
-
|
345
|
-
:type sphere: string
|
346
|
-
:param sphere: Specifies whether the query applies to components or
|
347
|
-
instances. Allowable values: COMPONENT, INSTANCE, ATTEMPT.
|
348
|
-
|
349
|
-
"""
|
350
|
-
params = {'pipelineId': pipeline_id, 'sphere': sphere, }
|
351
|
-
if marker is not None:
|
352
|
-
params['marker'] = marker
|
353
|
-
if query is not None:
|
354
|
-
params['query'] = query
|
355
|
-
if limit is not None:
|
356
|
-
params['limit'] = limit
|
357
|
-
return self.make_request(action='QueryObjects',
|
358
|
-
body=json.dumps(params))
|
359
|
-
|
360
|
-
def report_task_progress(self, task_id):
|
361
|
-
"""
|
362
|
-
Updates the AWS Data Pipeline service on the progress of the
|
363
|
-
calling task runner. When the task runner is assigned a task, it
|
364
|
-
should call ReportTaskProgress to acknowledge that it has the
|
365
|
-
task within 2 minutes. If the web service does not recieve this
|
366
|
-
acknowledgement within the 2 minute window, it will assign the
|
367
|
-
task in a subsequent PollForTask call. After this initial
|
368
|
-
acknowledgement, the task runner only needs to report progress
|
369
|
-
every 15 minutes to maintain its ownership of the task. You can
|
370
|
-
change this reporting time from 15 minutes by specifying a
|
371
|
-
reportProgressTimeout field in your pipeline. If a task runner
|
372
|
-
does not report its status after 5 minutes, AWS Data Pipeline
|
373
|
-
will assume that the task runner is unable to process the task
|
374
|
-
and will reassign the task in a subsequent response to
|
375
|
-
PollForTask. task runners should call ReportTaskProgress every
|
376
|
-
60 seconds.
|
377
|
-
|
378
|
-
:type task_id: string
|
379
|
-
:param task_id: Identifier of the task assigned to the task runner.
|
380
|
-
This value is provided in the TaskObject that the service returns
|
381
|
-
with the response for the PollForTask action.
|
382
|
-
|
383
|
-
"""
|
384
|
-
params = {'taskId': task_id, }
|
385
|
-
return self.make_request(action='ReportTaskProgress',
|
386
|
-
body=json.dumps(params))
|
387
|
-
|
388
|
-
def report_task_runner_heartbeat(self, taskrunner_id, worker_group=None,
|
389
|
-
hostname=None):
|
390
|
-
"""
|
391
|
-
Task runners call ReportTaskRunnerHeartbeat to indicate that
|
392
|
-
they are operational. In the case of AWS Data Pipeline Task
|
393
|
-
Runner launched on a resource managed by AWS Data Pipeline, the
|
394
|
-
web service can use this call to detect when the task runner
|
395
|
-
application has failed and restart a new instance.
|
396
|
-
|
397
|
-
:type worker_group: string
|
398
|
-
:param worker_group: Indicates the type of task the task runner is
|
399
|
-
configured to accept and process. The worker group is set as a
|
400
|
-
field on objects in the pipeline when they are created. You can
|
401
|
-
only specify a single value for workerGroup in the call to
|
402
|
-
ReportTaskRunnerHeartbeat. There are no wildcard values permitted
|
403
|
-
in workerGroup, the string must be an exact, case-sensitive, match.
|
404
|
-
|
405
|
-
:type hostname: string
|
406
|
-
:param hostname: The public DNS name of the calling task runner.
|
407
|
-
|
408
|
-
:type taskrunner_id: string
|
409
|
-
:param taskrunner_id: The identifier of the task runner. This value
|
410
|
-
should be unique across your AWS account. In the case of AWS Data
|
411
|
-
Pipeline Task Runner launched on a resource managed by AWS Data
|
412
|
-
Pipeline, the web service provides a unique identifier when it
|
413
|
-
launches the application. If you have written a custom task runner,
|
414
|
-
you should assign a unique identifier for the task runner.
|
415
|
-
|
416
|
-
"""
|
417
|
-
params = {'taskrunnerId': taskrunner_id, }
|
418
|
-
if worker_group is not None:
|
419
|
-
params['workerGroup'] = worker_group
|
420
|
-
if hostname is not None:
|
421
|
-
params['hostname'] = hostname
|
422
|
-
return self.make_request(action='ReportTaskRunnerHeartbeat',
|
423
|
-
body=json.dumps(params))
|
424
|
-
|
425
|
-
def set_status(self, object_ids, status, pipeline_id):
|
426
|
-
"""
|
427
|
-
Requests that the status of an array of physical or logical
|
428
|
-
pipeline objects be updated in the pipeline. This update may not
|
429
|
-
occur immediately, but is eventually consistent. The status that
|
430
|
-
can be set depends on the type of object.
|
431
|
-
|
432
|
-
:type object_ids: list
|
433
|
-
:param object_ids: Identifies an array of objects. The corresponding
|
434
|
-
objects can be either physical or components, but not a mix of both
|
435
|
-
types.
|
436
|
-
|
437
|
-
:type status: string
|
438
|
-
:param status: Specifies the status to be set on all the objects in
|
439
|
-
objectIds. For components, this can be either PAUSE or RESUME. For
|
440
|
-
instances, this can be either CANCEL, RERUN, or MARK\_FINISHED.
|
441
|
-
|
442
|
-
:type pipeline_id: string
|
443
|
-
:param pipeline_id: Identifies the pipeline that contains the objects.
|
444
|
-
|
445
|
-
"""
|
446
|
-
params = {
|
447
|
-
'objectIds': object_ids,
|
448
|
-
'status': status,
|
449
|
-
'pipelineId': pipeline_id,
|
450
|
-
}
|
451
|
-
return self.make_request(action='SetStatus',
|
452
|
-
body=json.dumps(params))
|
453
|
-
|
454
|
-
def set_task_status(self, task_id, task_status, error_code=None,
|
455
|
-
error_message=None, error_stack_trace=None):
|
456
|
-
"""
|
457
|
-
Notifies AWS Data Pipeline that a task is completed and provides
|
458
|
-
information about the final status. The task runner calls this
|
459
|
-
action regardless of whether the task was sucessful. The task
|
460
|
-
runner does not need to call SetTaskStatus for tasks that are
|
461
|
-
canceled by the web service during a call to ReportTaskProgress.
|
462
|
-
|
463
|
-
:type error_code: integer
|
464
|
-
:param error_code: If an error occurred during the task, specifies a
|
465
|
-
numerical value that represents the error. This value is set on the
|
466
|
-
physical attempt object. It is used to display error information to
|
467
|
-
the user. The web service does not parse this value.
|
468
|
-
|
469
|
-
:type error_message: string
|
470
|
-
:param error_message: If an error occurred during the task, specifies a
|
471
|
-
text description of the error. This value is set on the physical
|
472
|
-
attempt object. It is used to display error information to the
|
473
|
-
user. The web service does not parse this value.
|
474
|
-
|
475
|
-
:type error_stack_trace: string
|
476
|
-
:param error_stack_trace: If an error occurred during the task,
|
477
|
-
specifies the stack trace associated with the error. This value is
|
478
|
-
set on the physical attempt object. It is used to display error
|
479
|
-
information to the user. The web service does not parse this value.
|
480
|
-
|
481
|
-
:type task_id: string
|
482
|
-
:param task_id: Identifies the task assigned to the task runner. This
|
483
|
-
value is set in the TaskObject that is returned by the PollForTask
|
484
|
-
action.
|
485
|
-
|
486
|
-
:type task_status: string
|
487
|
-
:param task_status: If FINISHED, the task successfully completed. If
|
488
|
-
FAILED the task ended unsuccessfully. The FALSE value is used by
|
489
|
-
preconditions.
|
490
|
-
|
491
|
-
"""
|
492
|
-
params = {'taskId': task_id, 'taskStatus': task_status, }
|
493
|
-
if error_code is not None:
|
494
|
-
params['errorCode'] = error_code
|
495
|
-
if error_message is not None:
|
496
|
-
params['errorMessage'] = error_message
|
497
|
-
if error_stack_trace is not None:
|
498
|
-
params['errorStackTrace'] = error_stack_trace
|
499
|
-
return self.make_request(action='SetTaskStatus',
|
500
|
-
body=json.dumps(params))
|
501
|
-
|
502
|
-
def validate_pipeline_definition(self, pipeline_objects, pipeline_id):
|
503
|
-
"""
|
504
|
-
Tests the pipeline definition with a set of validation checks to
|
505
|
-
ensure that it is well formed and can run without error.
|
506
|
-
|
507
|
-
:type pipeline_objects: list
|
508
|
-
:param pipeline_objects: A list of objects that define the pipeline
|
509
|
-
changes to validate against the pipeline.
|
510
|
-
|
511
|
-
:type pipeline_id: string
|
512
|
-
:param pipeline_id: Identifies the pipeline whose definition is to be
|
513
|
-
validated.
|
514
|
-
|
515
|
-
"""
|
516
|
-
params = {
|
517
|
-
'pipelineObjects': pipeline_objects,
|
518
|
-
'pipelineId': pipeline_id,
|
519
|
-
}
|
520
|
-
return self.make_request(action='ValidatePipelineDefinition',
|
521
|
-
body=json.dumps(params))
|
522
|
-
|
523
|
-
def make_request(self, action, body):
|
524
|
-
headers = {
|
525
|
-
'X-Amz-Target': '%s.%s' % (self.ServiceName, action),
|
526
|
-
'Host': self.region.endpoint,
|
527
|
-
'Content-Type': 'application/x-amz-json-1.1',
|
528
|
-
'Content-Length': str(len(body)),
|
529
|
-
}
|
530
|
-
http_request = self.build_base_http_request(
|
531
|
-
method='POST', path='/', auth_path='/', params={},
|
532
|
-
headers=headers, data=body)
|
533
|
-
response = self._mexe(http_request, sender=None,
|
534
|
-
override_num_retries=10)
|
535
|
-
response_body = response.read()
|
536
|
-
boto.log.debug(response_body)
|
537
|
-
if response.status == 200:
|
538
|
-
if response_body:
|
539
|
-
return json.loads(response_body)
|
540
|
-
else:
|
541
|
-
json_body = json.loads(response_body)
|
542
|
-
fault_name = json_body.get('__type', None)
|
543
|
-
exception_class = self._faults.get(fault_name, self.ResponseError)
|
544
|
-
raise exception_class(response.status, response.reason,
|
545
|
-
body=json_body)
|
546
|
-
|