libv8 6.3.292.48.1 → 6.7.288.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +10 -34
- data/CHANGELOG.md +16 -0
- data/README.md +9 -63
- data/Rakefile +2 -2
- data/ext/libv8/builder.rb +22 -87
- data/ext/libv8/extconf.rb +1 -1
- data/ext/libv8/paths.rb +5 -18
- data/lib/libv8/version.rb +1 -1
- data/spec/location_spec.rb +1 -2
- data/spec/spec_helper.rb +0 -1
- data/vendor/depot_tools/.gitattributes +1 -2
- data/vendor/depot_tools/OWNERS +0 -1
- data/vendor/depot_tools/PRESUBMIT.py +11 -6
- data/vendor/depot_tools/README.md +0 -1
- data/vendor/depot_tools/WATCHLISTS +0 -6
- data/vendor/depot_tools/auth.py +129 -87
- data/vendor/depot_tools/autoninja +11 -1
- data/vendor/depot_tools/autoninja.bat +7 -1
- data/vendor/depot_tools/autoninja.py +14 -6
- data/vendor/depot_tools/bootstrap/win/manifest.txt +1 -1
- data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +1 -1
- data/vendor/depot_tools/cipd +23 -2
- data/vendor/depot_tools/cipd.bat +2 -2
- data/vendor/depot_tools/cipd_client_version +1 -1
- data/vendor/depot_tools/cipd_manifest.txt +17 -7
- data/vendor/depot_tools/cit.py +7 -6
- data/vendor/depot_tools/cpplint.py +195 -35
- data/vendor/depot_tools/detect_host_arch.py +51 -0
- data/vendor/depot_tools/download_from_google_storage.py +85 -26
- data/vendor/depot_tools/fetch.py +11 -6
- data/vendor/depot_tools/fetch_configs/chromium.py +0 -1
- data/vendor/depot_tools/fetch_configs/goma_client.py +41 -0
- data/vendor/depot_tools/fetch_configs/infra.py +0 -1
- data/vendor/depot_tools/fetch_configs/infra_internal.py +0 -1
- data/vendor/depot_tools/gclient-new-workdir.py +4 -0
- data/vendor/depot_tools/gclient.py +732 -476
- data/vendor/depot_tools/gclient_eval.py +569 -58
- data/vendor/depot_tools/gclient_scm.py +258 -46
- data/vendor/depot_tools/gclient_utils.py +17 -1
- data/vendor/depot_tools/gerrit_util.py +46 -13
- data/vendor/depot_tools/git_cache.py +0 -2
- data/vendor/depot_tools/git_cl.py +176 -335
- data/vendor/depot_tools/git_common.py +19 -16
- data/vendor/depot_tools/git_footers.py +19 -5
- data/vendor/depot_tools/git_hyper_blame.py +9 -3
- data/vendor/depot_tools/git_new_branch.py +15 -3
- data/vendor/depot_tools/git_upstream_diff.py +7 -2
- data/vendor/depot_tools/gsutil.py +1 -1
- data/vendor/depot_tools/infra/config/cq.cfg +1 -2
- data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
- data/vendor/depot_tools/luci-auth +13 -0
- data/vendor/depot_tools/luci-auth.bat +8 -0
- data/vendor/depot_tools/man/html/depot_tools.html +0 -8
- data/vendor/depot_tools/man/html/git-upstream-diff.html +20 -3
- data/vendor/depot_tools/man/man1/git-upstream-diff.1 +27 -6
- data/vendor/depot_tools/man/man7/depot_tools.7 +0 -5
- data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +2 -2
- data/vendor/depot_tools/man/src/git-upstream-diff.txt +21 -3
- data/vendor/depot_tools/man/src/make_docs.sh +6 -0
- data/vendor/depot_tools/my_activity.py +283 -93
- data/vendor/depot_tools/owners.py +9 -4
- data/vendor/depot_tools/owners_finder.py +7 -3
- data/vendor/depot_tools/post_build_ninja_summary.py +322 -0
- data/vendor/depot_tools/presubmit_canned_checks.py +91 -106
- data/vendor/depot_tools/presubmit_support.py +219 -157
- data/vendor/depot_tools/prpc +13 -0
- data/vendor/depot_tools/prpc.bat +8 -0
- data/vendor/depot_tools/recipes/OWNERS +3 -1
- data/vendor/depot_tools/recipes/README.recipes.md +70 -111
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +12 -5
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +36 -68
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +0 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_json.json → no_apply_patch_on_gclient.json} +64 -10
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{no_shallow.json → shallow.json} +1 -1
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +0 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_empty_revision.json +0 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +0 -6
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +0 -7
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +0 -6
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +44 -0
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_buildbot.json → tryjob_gerrit_branch_heads.json} +51 -5
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +0 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +48 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py +19 -26
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +193 -155
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +9 -0
- data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +2 -7
- data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +31 -5
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/basic.json +37 -19
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/buildbot.json +37 -19
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/revision.json +37 -19
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/tryserver.json +37 -23
- data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.py +4 -0
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +40 -8
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +3 -3
- data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.py +6 -3
- data/vendor/depot_tools/recipes/recipe_modules/gitiles/OWNERS +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/__init__.py +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +7 -56
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch.json +0 -1
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.py +15 -16
- data/vendor/depot_tools/recipes/recipes.py +4 -2
- data/vendor/depot_tools/recipes/trigger_recipe_roller.txt +12 -0
- data/vendor/depot_tools/roll_dep.py +35 -37
- data/vendor/depot_tools/support/chromite_wrapper +1 -1
- data/vendor/depot_tools/third_party/logilab/astroid/README.chromium +3 -3
- data/vendor/depot_tools/third_party/logilab/astroid/__pkginfo__.py +2 -2
- data/vendor/depot_tools/third_party/logilab/astroid/astpeephole.py +86 -0
- data/vendor/depot_tools/third_party/logilab/astroid/bases.py +53 -66
- data/vendor/depot_tools/third_party/logilab/astroid/brain/py2pytest.py +31 -31
- data/vendor/depot_tools/third_party/logilab/astroid/brain/pynose.py +39 -16
- data/vendor/depot_tools/third_party/logilab/astroid/brain/pysix_moves.py +225 -189
- data/vendor/depot_tools/third_party/logilab/astroid/inference.py +45 -41
- data/vendor/depot_tools/third_party/logilab/astroid/manager.py +1 -0
- data/vendor/depot_tools/third_party/logilab/astroid/modutils.py +2 -2
- data/vendor/depot_tools/third_party/logilab/astroid/node_classes.py +3 -2
- data/vendor/depot_tools/third_party/logilab/astroid/nodes.py +1 -0
- data/vendor/depot_tools/third_party/logilab/astroid/protocols.py +57 -3
- data/vendor/depot_tools/third_party/logilab/astroid/raw_building.py +1 -1
- data/vendor/depot_tools/third_party/logilab/astroid/rebuilder.py +21 -1
- data/vendor/depot_tools/third_party/logilab/astroid/scoped_nodes.py +58 -33
- data/vendor/depot_tools/third_party/pylint/README.chromium +2 -2
- data/vendor/depot_tools/third_party/pylint/__pkginfo__.py +3 -3
- data/vendor/depot_tools/third_party/pylint/checkers/base.py +6 -18
- data/vendor/depot_tools/third_party/pylint/checkers/classes.py +64 -63
- data/vendor/depot_tools/third_party/pylint/checkers/design_analysis.py +25 -57
- data/vendor/depot_tools/third_party/pylint/checkers/format.py +14 -10
- data/vendor/depot_tools/third_party/pylint/checkers/python3.py +142 -37
- data/vendor/depot_tools/third_party/pylint/checkers/spelling.py +10 -1
- data/vendor/depot_tools/third_party/pylint/checkers/stdlib.py +50 -7
- data/vendor/depot_tools/third_party/pylint/checkers/strings.py +1 -1
- data/vendor/depot_tools/third_party/pylint/epylint.py +2 -1
- data/vendor/depot_tools/third_party/pylint/gui.py +1 -1
- data/vendor/depot_tools/third_party/pylint/lint.py +88 -23
- data/vendor/depot_tools/third_party/pylint/reporters/html.py +37 -5
- data/vendor/depot_tools/third_party/pylint/testutils.py +1 -1
- data/vendor/depot_tools/third_party/pylint/utils.py +5 -0
- data/vendor/depot_tools/vpython +31 -1
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +35 -2
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +0 -15
- data/vendor/depot_tools/yapf +17 -0
- data/vendor/depot_tools/{apply_issue.bat → yapf.bat} +2 -2
- metadata +16 -58
- data/ext/libv8/compiler.rb +0 -39
- data/ext/libv8/compiler/apple_llvm.rb +0 -22
- data/ext/libv8/compiler/clang.rb +0 -22
- data/ext/libv8/compiler/gcc.rb +0 -22
- data/ext/libv8/compiler/generic_compiler.rb +0 -66
- data/ext/libv8/make.rb +0 -13
- data/ext/libv8/patcher.rb +0 -21
- data/patches/0001-Build-a-standalone-static-library.patch +0 -26
- data/patches/0002-Don-t-compile-unnecessary-stuff.patch +0 -85
- data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +0 -25
- data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +0 -25
- data/patches/0005-Remove-TryInstallOptimizedCode.patch +0 -321
- data/patches/mingw-generate-makefiles.sh +0 -97
- data/spec/compiler/apple_llvm_spec.rb +0 -37
- data/spec/compiler/clang_spec.rb +0 -37
- data/spec/compiler/gcc_spec.rb +0 -37
- data/spec/compiler/generic_compiler_spec.rb +0 -50
- data/spec/compiler_spec.rb +0 -45
- data/spec/support/compiler_helpers.rb +0 -47
- data/vendor/depot_tools/apply_issue +0 -8
- data/vendor/depot_tools/apply_issue.py +0 -315
- data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +0 -815
- data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +0 -80
- data/vendor/depot_tools/man/src/_git-cherry-pick-upload_desc.helper.txt +0 -1
- data/vendor/depot_tools/man/src/git-cherry-pick-upload.demo.1.sh +0 -17
- data/vendor/depot_tools/man/src/git-cherry-pick-upload.txt +0 -35
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2.json +0 -8
- data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +0 -196
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/__init__.py +0 -6
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/api.py +0 -97
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/basic.json +0 -8
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/buildbot.json +0 -30
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/no_auth.json +0 -27
- data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.py +0 -38
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch.json +0 -69
- data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch_new.json +0 -69
- data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -2
- data/vendor/depot_tools/third_party/cq_client/README.depot_tools.md +0 -2
- data/vendor/depot_tools/third_party/cq_client/README.md +0 -59
- data/vendor/depot_tools/third_party/cq_client/__init__.py +0 -3
- data/vendor/depot_tools/third_party/cq_client/v1/__init__.py +0 -3
- data/vendor/depot_tools/third_party/cq_client/v1/cq.pb.go +0 -810
- data/vendor/depot_tools/third_party/cq_client/v1/cq.proto +0 -281
- data/vendor/depot_tools/third_party/cq_client/v1/cq_pb2.py +0 -794
- data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_both.cfg +0 -71
- data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_gerrit.cfg +0 -58
- data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_rietveld.cfg +0 -60
- data/vendor/depot_tools/third_party/cq_client/v2/__init__.py +0 -3
- data/vendor/depot_tools/third_party/cq_client/v2/cq.pb.go +0 -792
- data/vendor/depot_tools/third_party/cq_client/v2/cq.proto +0 -270
- data/vendor/depot_tools/third_party/cq_client/v2/cq_pb2.py +0 -841
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# Copyright 2018 The Chromium Authors. All rights reserved.
|
4
|
+
# Use of this source code is governed by a BSD-style license that can be
|
5
|
+
# found in the LICENSE file.
|
6
|
+
|
7
|
+
MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
8
|
+
|
9
|
+
source "$MYPATH/cipd_bin_setup.sh"
|
10
|
+
cipd_bin_setup &> /dev/null
|
11
|
+
|
12
|
+
exec "$MYPATH/.cipd_bin/prpc" "$@"
|
13
|
+
|
@@ -14,7 +14,6 @@
|
|
14
14
|
* [gsutil](#recipe_modules-gsutil)
|
15
15
|
* [infra_paths](#recipe_modules-infra_paths)
|
16
16
|
* [presubmit](#recipe_modules-presubmit)
|
17
|
-
* [rietveld](#recipe_modules-rietveld)
|
18
17
|
* [tryserver](#recipe_modules-tryserver)
|
19
18
|
|
20
19
|
**[Recipes](#Recipes)**
|
@@ -32,17 +31,16 @@
|
|
32
31
|
* [gsutil:examples/full](#recipes-gsutil_examples_full)
|
33
32
|
* [infra_paths:examples/full](#recipes-infra_paths_examples_full)
|
34
33
|
* [presubmit:examples/full](#recipes-presubmit_examples_full)
|
35
|
-
* [rietveld:examples/full](#recipes-rietveld_examples_full)
|
36
34
|
* [tryserver:examples/full](#recipes-tryserver_examples_full)
|
37
35
|
## Recipe Modules
|
38
36
|
|
39
37
|
### *recipe_modules* / [bot\_update](/recipes/recipe_modules/bot_update)
|
40
38
|
|
41
|
-
[DEPS](/recipes/recipe_modules/bot_update/__init__.py#1): [depot\_tools](#recipe_modules-depot_tools), [gclient](#recipe_modules-gclient), [gerrit](#recipe_modules-gerrit), [
|
39
|
+
[DEPS](/recipes/recipe_modules/bot_update/__init__.py#1): [depot\_tools](#recipe_modules-depot_tools), [gclient](#recipe_modules-gclient), [gerrit](#recipe_modules-gerrit), [tryserver](#recipe_modules-tryserver), [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/runtime][recipe_engine/recipe_modules/runtime], [recipe\_engine/source\_manifest][recipe_engine/recipe_modules/source_manifest], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
42
40
|
|
43
41
|
Recipe module to ensure a checkout is consistent on a bot.
|
44
42
|
|
45
|
-
#### **class [BotUpdateApi](/recipes/recipe_modules/bot_update/api.py#
|
43
|
+
#### **class [BotUpdateApi](/recipes/recipe_modules/bot_update/api.py#10)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
46
44
|
|
47
45
|
— **def [\_\_call\_\_](/recipes/recipe_modules/bot_update/api.py#31)(self, name, cmd, \*\*kwargs):**
|
48
46
|
|
@@ -50,31 +48,23 @@ Wrapper for easy calling of bot_update.
|
|
50
48
|
|
51
49
|
— **def [apply\_gerrit\_ref](/recipes/recipe_modules/bot_update/api.py#46)(self, root, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, gerrit_repo=None, gerrit_ref=None, step_name='apply_gerrit', \*\*kwargs):**
|
52
50
|
|
53
|
-
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#
|
51
|
+
— **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#410)(self, bot_update_step):**
|
54
52
|
|
55
53
|
Deapplies a patch, taking care of DEPS and solution revisions properly.
|
56
54
|
|
57
55
|
|
58
|
-
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#68)(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, no_shallow=
|
56
|
+
— **def [ensure\_checkout](/recipes/recipe_modules/bot_update/api.py#68)(self, gclient_config=None, suffix=None, patch=True, update_presentation=True, patch_root=None, no_shallow=True, with_branch_heads=False, with_tags=False, refs=None, patch_oauth2=None, oauth2_json=None, use_site_config_creds=None, clobber=False, root_solution_revision=None, rietveld=None, issue=None, patchset=None, gerrit_no_reset=False, gerrit_no_rebase_patch_ref=False, disable_syntax_validation=False, manifest_name=None, \*\*kwargs):**
|
59
57
|
|
60
58
|
Args:
|
61
|
-
use_site_config_creds: If the oauth2 credentials are in the buildbot
|
62
|
-
site_config. See crbug.com/624212 for more information.
|
63
59
|
gclient_config: The gclient configuration to use when running bot_update.
|
64
60
|
If omitted, the current gclient configuration is used.
|
65
|
-
rietveld: The rietveld server to use. If omitted, will infer from
|
66
|
-
the 'rietveld' property.
|
67
|
-
issue: The rietveld issue number to use. If omitted, will infer from
|
68
|
-
the 'issue' property.
|
69
|
-
patchset: The rietveld issue patchset to use. If omitted, will infer from
|
70
|
-
the 'patchset' property.
|
71
61
|
disable_syntax_validation: (legacy) Disables syntax validation for DEPS.
|
72
62
|
Needed as migration paths for recipes dealing with older revisions,
|
73
63
|
such as bisect.
|
74
64
|
manifest_name: The name of the manifest to upload to LogDog. This must
|
75
65
|
be unique for the whole build.
|
76
66
|
|
77
|
-
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#
|
67
|
+
— **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#387)(self, project_name, gclient_config=None):**
|
78
68
|
|
79
69
|
Returns all property names used for storing the checked-out revision of
|
80
70
|
a given project.
|
@@ -236,12 +226,12 @@ Returns (Path): The "depot_tools" root directory.
|
|
236
226
|
|
237
227
|
Wrapper for easy calling of gclient steps.
|
238
228
|
|
239
|
-
— **def [break\_locks](/recipes/recipe_modules/gclient/api.py#
|
229
|
+
— **def [break\_locks](/recipes/recipe_modules/gclient/api.py#283)(self):**
|
240
230
|
|
241
231
|
Remove all index.lock files. If a previous run of git crashed, bot was
|
242
232
|
reset, etc... we might end up with leftover index.lock files.
|
243
233
|
|
244
|
-
— **def [calculate\_patch\_root](/recipes/recipe_modules/gclient/api.py#
|
234
|
+
— **def [calculate\_patch\_root](/recipes/recipe_modules/gclient/api.py#305)(self, patch_project, gclient_config=None, patch_repo=None):**
|
245
235
|
|
246
236
|
Returns path where a patch should be applied to based patch_project.
|
247
237
|
|
@@ -260,15 +250,15 @@ Returns:
|
|
260
250
|
If patch_project is not given or not recognized, it'll be just first
|
261
251
|
solution root.
|
262
252
|
|
263
|
-
— **def [checkout](/recipes/recipe_modules/gclient/api.py#
|
253
|
+
— **def [checkout](/recipes/recipe_modules/gclient/api.py#230)(self, gclient_config=None, revert=RevertOnTryserver, inject_parent_got_revision=True, extra_sync_flags=None, \*\*kwargs):**
|
264
254
|
|
265
255
|
Return a step generator function for gclient checkouts.
|
266
256
|
|
267
|
-
  **@staticmethod**<br>— **def [config\_to\_pythonish](/recipes/recipe_modules/gclient/api.py#
|
257
|
+
  **@staticmethod**<br>— **def [config\_to\_pythonish](/recipes/recipe_modules/gclient/api.py#120)(cfg):**
|
268
258
|
|
269
|
-
— **def [get\_config\_defaults](/recipes/recipe_modules/gclient/api.py#
|
259
|
+
— **def [get\_config\_defaults](/recipes/recipe_modules/gclient/api.py#114)(self):**
|
270
260
|
|
271
|
-
  **@staticmethod**<br>— **def [got\_revision\_reverse\_mapping](/recipes/recipe_modules/gclient/api.py#
|
261
|
+
  **@staticmethod**<br>— **def [got\_revision\_reverse\_mapping](/recipes/recipe_modules/gclient/api.py#125)(cfg):**
|
272
262
|
|
273
263
|
Returns the merged got_revision_reverse_mapping.
|
274
264
|
|
@@ -276,7 +266,7 @@ Returns (dict): A mapping from property name -> project name. It merges the
|
|
276
266
|
values of the deprecated got_revision_mapping and the new
|
277
267
|
got_revision_reverse_mapping.
|
278
268
|
|
279
|
-
— **def [inject\_parent\_got\_revision](/recipes/recipe_modules/gclient/api.py#
|
269
|
+
— **def [inject\_parent\_got\_revision](/recipes/recipe_modules/gclient/api.py#205)(self, gclient_config=None, override=False):**
|
280
270
|
|
281
271
|
Match gclient config to build revisions obtained from build_properties.
|
282
272
|
|
@@ -286,7 +276,7 @@ Args:
|
|
286
276
|
override (bool) - If True, will forcibly set revision and custom_vars
|
287
277
|
even if the config already contains values for them.
|
288
278
|
|
289
|
-
  **@property**<br>— **def [is\_blink\_mode](/recipes/recipe_modules/gclient/api.py#
|
279
|
+
  **@property**<br>— **def [is\_blink\_mode](/recipes/recipe_modules/gclient/api.py#270)(self):**
|
290
280
|
|
291
281
|
Indicates wether the caller is to use the Blink config rather than the
|
292
282
|
Chromium config. This may happen for one of two reasons:
|
@@ -295,22 +285,22 @@ Chromium config. This may happen for one of two reasons:
|
|
295
285
|
2. A try job comes in that applies to the Blink tree. (patch_project is
|
296
286
|
blink)
|
297
287
|
|
298
|
-
— **def [resolve\_revision](/recipes/recipe_modules/gclient/api.py#
|
288
|
+
— **def [resolve\_revision](/recipes/recipe_modules/gclient/api.py#142)(self, revision):**
|
299
289
|
|
300
|
-
— **def [runhooks](/recipes/recipe_modules/gclient/api.py#
|
290
|
+
— **def [runhooks](/recipes/recipe_modules/gclient/api.py#264)(self, args=None, name='runhooks', \*\*kwargs):**
|
301
291
|
|
302
|
-
— **def [set\_patch\_project\_revision](/recipes/recipe_modules/gclient/api.py#
|
292
|
+
— **def [set\_patch\_project\_revision](/recipes/recipe_modules/gclient/api.py#337)(self, patch_project, gclient_config=None):**
|
303
293
|
|
304
294
|
Updates config revision corresponding to patch_project.
|
305
295
|
|
306
296
|
Useful for bot_update only, as this is the only consumer of gclient's config
|
307
297
|
revision map. This doesn't overwrite the revision if it was already set.
|
308
298
|
|
309
|
-
  **@spec_alias.deleter**<br>— **def [spec\_alias](/recipes/recipe_modules/gclient/api.py#
|
299
|
+
  **@spec_alias.deleter**<br>— **def [spec\_alias](/recipes/recipe_modules/gclient/api.py#110)(self):**
|
310
300
|
|
311
|
-
— **def [sync](/recipes/recipe_modules/gclient/api.py#
|
301
|
+
— **def [sync](/recipes/recipe_modules/gclient/api.py#147)(self, cfg, extra_sync_flags=None, \*\*kwargs):**
|
312
302
|
|
313
|
-
  **@use_mirror.setter**<br>— **def [use\_mirror](/recipes/recipe_modules/gclient/api.py#
|
303
|
+
  **@use_mirror.setter**<br>— **def [use\_mirror](/recipes/recipe_modules/gclient/api.py#97)(self, val):**
|
314
304
|
### *recipe_modules* / [gerrit](/recipes/recipe_modules/gerrit)
|
315
305
|
|
316
306
|
[DEPS](/recipes/recipe_modules/gerrit/__init__.py#1): [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
@@ -319,18 +309,18 @@ revision map. This doesn't overwrite the revision if it was already set.
|
|
319
309
|
|
320
310
|
Module for interact with gerrit endpoints
|
321
311
|
|
322
|
-
— **def [\_\_call\_\_](/recipes/recipe_modules/gerrit/api.py#
|
312
|
+
— **def [\_\_call\_\_](/recipes/recipe_modules/gerrit/api.py#14)(self, name, cmd, infra_step=True, \*\*kwargs):**
|
323
313
|
|
324
314
|
Wrapper for easy calling of gerrit_utils steps.
|
325
315
|
|
326
|
-
— **def [create\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#
|
316
|
+
— **def [create\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#31)(self, host, project, branch, commit, \*\*kwargs):**
|
327
317
|
|
328
318
|
Create a new branch from given project and commit
|
329
319
|
|
330
320
|
Returns:
|
331
321
|
the ref of the branch created
|
332
322
|
|
333
|
-
— **def [get\_change\_description](/recipes/recipe_modules/gerrit/api.py#
|
323
|
+
— **def [get\_change\_description](/recipes/recipe_modules/gerrit/api.py#106)(self, host, change, patchset):**
|
334
324
|
|
335
325
|
Get the description for a given CL and patchset.
|
336
326
|
|
@@ -342,10 +332,12 @@ Args:
|
|
342
332
|
Returns:
|
343
333
|
The description corresponding to given CL and patchset.
|
344
334
|
|
345
|
-
— **def [get\_change\_destination\_branch](/recipes/recipe_modules/gerrit/api.py#
|
335
|
+
— **def [get\_change\_destination\_branch](/recipes/recipe_modules/gerrit/api.py#72)(self, host, change, name=None, step_test_data=None):**
|
346
336
|
|
347
337
|
Get the upstream branch for a given CL.
|
348
338
|
|
339
|
+
Result is cached.
|
340
|
+
|
349
341
|
Args:
|
350
342
|
host: Gerrit host to query.
|
351
343
|
change: The change number.
|
@@ -353,7 +345,7 @@ Args:
|
|
353
345
|
Returns:
|
354
346
|
the name of the branch
|
355
347
|
|
356
|
-
— **def [get\_changes](/recipes/recipe_modules/gerrit/api.py#
|
348
|
+
— **def [get\_changes](/recipes/recipe_modules/gerrit/api.py#151)(self, host, query_params, start=None, limit=None, o_params=None, step_test_data=None, \*\*kwargs):**
|
357
349
|
|
358
350
|
Query changes for the given host.
|
359
351
|
|
@@ -366,16 +358,30 @@ Args:
|
|
366
358
|
limit: Maximum number of results to return.
|
367
359
|
o_params: A list of additional output specifiers, as documented here:
|
368
360
|
https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes
|
361
|
+
step_test_data: Optional mock test data for the underlying gerrit client.
|
369
362
|
Returns:
|
370
363
|
A list of change dicts as documented here:
|
371
364
|
https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes
|
372
365
|
|
373
|
-
— **def [get\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#
|
366
|
+
— **def [get\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#53)(self, host, project, branch, \*\*kwargs):**
|
374
367
|
|
375
368
|
Get a branch from given project and commit
|
376
369
|
|
377
370
|
Returns:
|
378
371
|
the revision of the branch
|
372
|
+
|
373
|
+
— **def [get\_revision\_info](/recipes/recipe_modules/gerrit/api.py#121)(self, host, change, patchset):**
|
374
|
+
|
375
|
+
Returns the info for a given patchset of a given change.
|
376
|
+
|
377
|
+
Args:
|
378
|
+
host: Gerrit host to query.
|
379
|
+
change: The change number.
|
380
|
+
patchset: The patchset number.
|
381
|
+
|
382
|
+
Returns:
|
383
|
+
A dict for the target revision as documented here:
|
384
|
+
https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes
|
379
385
|
### *recipe_modules* / [git](/recipes/recipe_modules/git)
|
380
386
|
|
381
387
|
[DEPS](/recipes/recipe_modules/git/__init__.py#1): [infra\_paths](#recipe_modules-infra_paths), [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
@@ -635,57 +641,19 @@ uses the more generic [CACHE]/git path (LUCI world).
|
|
635
641
|
Return a presubmit step.
|
636
642
|
|
637
643
|
  **@property**<br>— **def [presubmit\_support\_path](/recipes/recipe_modules/presubmit/api.py#8)(self):**
|
638
|
-
### *recipe_modules* / [rietveld](/recipes/recipe_modules/rietveld)
|
639
|
-
|
640
|
-
[DEPS](/recipes/recipe_modules/rietveld/__init__.py#1): [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
641
|
-
|
642
|
-
#### **class [RietveldApi](/recipes/recipe_modules/rietveld/api.py#10)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
643
|
-
|
644
|
-
— **def [apply\_issue](/recipes/recipe_modules/rietveld/api.py#53)(self, \*root_pieces, \*\*kwargs):**
|
645
|
-
|
646
|
-
Call apply_issue from depot_tools.
|
647
|
-
|
648
|
-
Args:
|
649
|
-
root_pieces (strings): location where to run apply_issue, relative to the
|
650
|
-
checkout root.
|
651
|
-
authentication (string or None): authentication scheme to use. Can be None
|
652
|
-
or 'oauth2'. See also apply_issue.py --help (-E and --no-auth options.)
|
653
|
-
|
654
|
-
— **def [calculate\_issue\_root](/recipes/recipe_modules/rietveld/api.py#11)(self, extra_patch_project_roots=None):**
|
655
|
-
|
656
|
-
Returns path where a patch should be applied to based on "patch_project".
|
657
|
-
|
658
|
-
YOU SHOULD NOT USE THIS METHOD. Put this into gclient's config as
|
659
|
-
patch_projects instead, and with luck you won't need to use
|
660
|
-
calculate_patch_root from gclient api.
|
661
|
-
TODO(tandrii): remove this method completely. See http://crbug.com/605563.
|
662
|
-
|
663
|
-
Maps Rietveld's "patch_project" to a path of directories relative to
|
664
|
-
api.gclient.c.solutions[0].name which describe where to place the patch.
|
665
|
-
|
666
|
-
Args:
|
667
|
-
extra_patch_project_roots: Dict mapping project names to relative roots.
|
668
|
-
|
669
|
-
Returns:
|
670
|
-
Relative path or empty string if patch_project is not set or path for a
|
671
|
-
given is unknown.
|
672
644
|
### *recipe_modules* / [tryserver](/recipes/recipe_modules/tryserver)
|
673
645
|
|
674
|
-
[DEPS](/recipes/recipe_modules/tryserver/__init__.py#5): [gerrit](#recipe_modules-gerrit), [git](#recipe_modules-git), [git\_cl](#recipe_modules-git_cl), [
|
646
|
+
[DEPS](/recipes/recipe_modules/tryserver/__init__.py#5): [gerrit](#recipe_modules-gerrit), [git](#recipe_modules-git), [git\_cl](#recipe_modules-git_cl), [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
675
647
|
|
676
648
|
#### **class [TryserverApi](/recipes/recipe_modules/tryserver/api.py#12)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
677
649
|
|
678
|
-
— **def [add\_failure\_reason](/recipes/recipe_modules/tryserver/api.py#
|
650
|
+
— **def [add\_failure\_reason](/recipes/recipe_modules/tryserver/api.py#108)(self, reason):**
|
679
651
|
|
680
652
|
Records a more detailed reason why build is failing.
|
681
653
|
|
682
654
|
The reason can be any JSON-serializable object.
|
683
655
|
|
684
|
-
&
|
685
|
-
|
686
|
-
Returns true iff the properties exist to apply_issue from rietveld.
|
687
|
-
|
688
|
-
— **def [get\_files\_affected\_by\_patch](/recipes/recipe_modules/tryserver/api.py#46)(self, patch_root=None, \*\*kwargs):**
|
656
|
+
— **def [get\_files\_affected\_by\_patch](/recipes/recipe_modules/tryserver/api.py#38)(self, patch_root, \*\*kwargs):**
|
689
657
|
|
690
658
|
Returns list of paths to files affected by the patch.
|
691
659
|
|
@@ -695,38 +663,34 @@ Argument:
|
|
695
663
|
|
696
664
|
Returned paths will be relative to to patch_root.
|
697
665
|
|
698
|
-
|
699
|
-
Unless you use patch_root=None, in which case old behavior is used
|
700
|
-
which returns paths relative to checkout aka solution[0].name.
|
701
|
-
|
702
|
-
— **def [get\_footer](/recipes/recipe_modules/tryserver/api.py#211)(self, tag, patch_text=None):**
|
666
|
+
— **def [get\_footer](/recipes/recipe_modules/tryserver/api.py#162)(self, tag, patch_text=None):**
|
703
667
|
|
704
668
|
Gets a specific tag from a CL description
|
705
669
|
|
706
|
-
— **def [get\_footers](/recipes/recipe_modules/tryserver/api.py#
|
670
|
+
— **def [get\_footers](/recipes/recipe_modules/tryserver/api.py#144)(self, patch_text=None):**
|
707
671
|
|
708
672
|
Retrieves footers from the patch description.
|
709
673
|
|
710
674
|
footers are machine readable tags embedded in commit messages. See
|
711
675
|
git-footers documentation for more information.
|
712
676
|
|
713
|
-
  **@property**<br>— **def [is\_gerrit\_issue](/recipes/recipe_modules/tryserver/api.py#
|
677
|
+
  **@property**<br>— **def [is\_gerrit\_issue](/recipes/recipe_modules/tryserver/api.py#22)(self):**
|
714
678
|
|
715
679
|
Returns true iff the properties exist to match a Gerrit issue.
|
716
680
|
|
717
|
-
  **@property**<br>— **def [is\_patch\_in\_git](/recipes/recipe_modules/tryserver/api.py#
|
681
|
+
  **@property**<br>— **def [is\_patch\_in\_git](/recipes/recipe_modules/tryserver/api.py#32)(self):**
|
718
682
|
|
719
683
|
  **@property**<br>— **def [is\_tryserver](/recipes/recipe_modules/tryserver/api.py#17)(self):**
|
720
684
|
|
721
|
-
Returns true iff we
|
685
|
+
Returns true iff we have a change to check out.
|
722
686
|
|
723
|
-
— **def [normalize\_footer\_name](/recipes/recipe_modules/tryserver/api.py#
|
687
|
+
— **def [normalize\_footer\_name](/recipes/recipe_modules/tryserver/api.py#166)(self, footer):**
|
724
688
|
|
725
|
-
— **def [set\_compile\_failure\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#
|
689
|
+
— **def [set\_compile\_failure\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#87)(self):**
|
726
690
|
|
727
691
|
Mark the tryjob result as a compile failure.
|
728
692
|
|
729
|
-
  **@contextlib.contextmanager**<br>— **def [set\_failure\_hash](/recipes/recipe_modules/tryserver/api.py#
|
693
|
+
  **@contextlib.contextmanager**<br>— **def [set\_failure\_hash](/recipes/recipe_modules/tryserver/api.py#117)(self):**
|
730
694
|
|
731
695
|
Context manager that sets a failure_hash build property on StepFailure.
|
732
696
|
|
@@ -735,7 +699,7 @@ for the same reason. For example, if a patch is bad (breaks something),
|
|
735
699
|
we'd expect it to always break in the same way. Different failures
|
736
700
|
for the same patch are usually a sign of flakiness.
|
737
701
|
|
738
|
-
— **def [set\_invalid\_test\_results\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#
|
702
|
+
— **def [set\_invalid\_test\_results\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#99)(self):**
|
739
703
|
|
740
704
|
Mark the tryjob result as having invalid test results.
|
741
705
|
|
@@ -743,18 +707,18 @@ This means we run some tests, but the results were not valid
|
|
743
707
|
(e.g. no list of specific test cases that failed, or too many
|
744
708
|
tests failing, etc).
|
745
709
|
|
746
|
-
— **def [set\_patch\_failure\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#
|
710
|
+
— **def [set\_patch\_failure\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#83)(self):**
|
747
711
|
|
748
712
|
Mark the tryjob result as failure to apply the patch.
|
749
713
|
|
750
|
-
— **def [set\_subproject\_tag](/recipes/recipe_modules/tryserver/api.py#
|
714
|
+
— **def [set\_subproject\_tag](/recipes/recipe_modules/tryserver/api.py#65)(self, subproject_tag):**
|
751
715
|
|
752
716
|
Adds a subproject tag to the build.
|
753
717
|
|
754
718
|
This can be used to distinguish between builds that execute different steps
|
755
719
|
depending on what was patched, e.g. blink vs. pure chromium patches.
|
756
720
|
|
757
|
-
— **def [set\_test\_failure\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#
|
721
|
+
— **def [set\_test\_failure\_tryjob\_result](/recipes/recipe_modules/tryserver/api.py#91)(self):**
|
758
722
|
|
759
723
|
Mark the tryjob result as a test failure.
|
760
724
|
|
@@ -791,7 +755,7 @@ like checkout or compile), and some of these tests have failed.
|
|
791
755
|
|
792
756
|
[DEPS](/recipes/recipe_modules/gclient/examples/full.py#5): [gclient](#recipe_modules-gclient), [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
793
757
|
|
794
|
-
— **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#
|
758
|
+
— **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#48)(api):**
|
795
759
|
### *recipes* / [gclient:tests/patch\_project](/recipes/recipe_modules/gclient/tests/patch_project.py)
|
796
760
|
|
797
761
|
[DEPS](/recipes/recipe_modules/gclient/tests/patch_project.py#9): [gclient](#recipe_modules-gclient), [recipe\_engine/properties][recipe_engine/recipe_modules/properties]
|
@@ -834,27 +798,22 @@ Move things around in a loop!
|
|
834
798
|
[DEPS](/recipes/recipe_modules/presubmit/examples/full.py#5): [presubmit](#recipe_modules-presubmit)
|
835
799
|
|
836
800
|
— **def [RunSteps](/recipes/recipe_modules/presubmit/examples/full.py#10)(api):**
|
837
|
-
### *recipes* / [rietveld:examples/full](/recipes/recipe_modules/rietveld/examples/full.py)
|
838
|
-
|
839
|
-
[DEPS](/recipes/recipe_modules/rietveld/examples/full.py#5): [infra\_paths](#recipe_modules-infra_paths), [rietveld](#recipe_modules-rietveld), [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
840
|
-
|
841
|
-
— **def [RunSteps](/recipes/recipe_modules/rietveld/examples/full.py#13)(api):**
|
842
801
|
### *recipes* / [tryserver:examples/full](/recipes/recipe_modules/tryserver/examples/full.py)
|
843
802
|
|
844
803
|
[DEPS](/recipes/recipe_modules/tryserver/examples/full.py#5): [tryserver](#recipe_modules-tryserver), [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
845
804
|
|
846
805
|
— **def [RunSteps](/recipes/recipe_modules/tryserver/examples/full.py#17)(api):**
|
847
806
|
|
848
|
-
[recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
849
|
-
[recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
850
|
-
[recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
851
|
-
[recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
852
|
-
[recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
853
|
-
[recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
854
|
-
[recipe_engine/recipe_modules/python]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
855
|
-
[recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
856
|
-
[recipe_engine/recipe_modules/runtime]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
857
|
-
[recipe_engine/recipe_modules/source_manifest]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
858
|
-
[recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
859
|
-
[recipe_engine/recipe_modules/url]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
860
|
-
[recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/
|
807
|
+
[recipe_engine/recipe_modules/context]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-context
|
808
|
+
[recipe_engine/recipe_modules/file]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-file
|
809
|
+
[recipe_engine/recipe_modules/json]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-json
|
810
|
+
[recipe_engine/recipe_modules/path]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-path
|
811
|
+
[recipe_engine/recipe_modules/platform]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-platform
|
812
|
+
[recipe_engine/recipe_modules/properties]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-properties
|
813
|
+
[recipe_engine/recipe_modules/python]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-python
|
814
|
+
[recipe_engine/recipe_modules/raw_io]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-raw_io
|
815
|
+
[recipe_engine/recipe_modules/runtime]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-runtime
|
816
|
+
[recipe_engine/recipe_modules/source_manifest]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-source_manifest
|
817
|
+
[recipe_engine/recipe_modules/step]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-step
|
818
|
+
[recipe_engine/recipe_modules/url]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/README.recipes.md#recipe_modules-url
|
819
|
+
[recipe_engine/wkt/RecipeApi]: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/94bb0a758456a5df6891677a8cf2876c07ea5f0c/recipe_engine/recipe_api.py#1006
|
@@ -12,11 +12,11 @@ DEPS = [
|
|
12
12
|
'recipe_engine/runtime',
|
13
13
|
'recipe_engine/source_manifest',
|
14
14
|
'recipe_engine/step',
|
15
|
-
'rietveld',
|
16
15
|
'tryserver',
|
17
16
|
]
|
18
17
|
|
19
18
|
from recipe_engine.recipe_api import Property
|
19
|
+
from recipe_engine.config import ConfigGroup, Single
|
20
20
|
|
21
21
|
PROPERTIES = {
|
22
22
|
# Gerrit patches will have all properties about them prefixed with patch_.
|
@@ -30,10 +30,7 @@ PROPERTIES = {
|
|
30
30
|
# Legacy Gerrit fields.
|
31
31
|
'event.patchSet.ref': Property(default=None, param_name='gerrit_ref'),
|
32
32
|
|
33
|
-
# Rietveld-only fields.
|
34
|
-
'rietveld': Property(default=None), # Stores Url of Rietveld server.
|
35
|
-
'issue': Property(default=None),
|
36
|
-
'patchset': Property(default=None),
|
33
|
+
# Rietveld-only (?) fields.
|
37
34
|
'repository': Property(default=None),
|
38
35
|
|
39
36
|
# Common fields for both systems.
|
@@ -41,4 +38,14 @@ PROPERTIES = {
|
|
41
38
|
'fail_patch': Property(default=None, kind=str),
|
42
39
|
'parent_got_revision': Property(default=None),
|
43
40
|
'revision': Property(default=None),
|
41
|
+
|
42
|
+
'$depot_tools/bot_update': Property(
|
43
|
+
help='Properties specific to bot_update module.',
|
44
|
+
param_name='properties',
|
45
|
+
kind=ConfigGroup(
|
46
|
+
# Whether we should do the patching in gclient instead of bot_update
|
47
|
+
apply_patch_on_gclient=Single(bool),
|
48
|
+
),
|
49
|
+
default={},
|
50
|
+
),
|
44
51
|
}
|