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.
Files changed (195) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +10 -34
  3. data/CHANGELOG.md +16 -0
  4. data/README.md +9 -63
  5. data/Rakefile +2 -2
  6. data/ext/libv8/builder.rb +22 -87
  7. data/ext/libv8/extconf.rb +1 -1
  8. data/ext/libv8/paths.rb +5 -18
  9. data/lib/libv8/version.rb +1 -1
  10. data/spec/location_spec.rb +1 -2
  11. data/spec/spec_helper.rb +0 -1
  12. data/vendor/depot_tools/.gitattributes +1 -2
  13. data/vendor/depot_tools/OWNERS +0 -1
  14. data/vendor/depot_tools/PRESUBMIT.py +11 -6
  15. data/vendor/depot_tools/README.md +0 -1
  16. data/vendor/depot_tools/WATCHLISTS +0 -6
  17. data/vendor/depot_tools/auth.py +129 -87
  18. data/vendor/depot_tools/autoninja +11 -1
  19. data/vendor/depot_tools/autoninja.bat +7 -1
  20. data/vendor/depot_tools/autoninja.py +14 -6
  21. data/vendor/depot_tools/bootstrap/win/manifest.txt +1 -1
  22. data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +1 -1
  23. data/vendor/depot_tools/cipd +23 -2
  24. data/vendor/depot_tools/cipd.bat +2 -2
  25. data/vendor/depot_tools/cipd_client_version +1 -1
  26. data/vendor/depot_tools/cipd_manifest.txt +17 -7
  27. data/vendor/depot_tools/cit.py +7 -6
  28. data/vendor/depot_tools/cpplint.py +195 -35
  29. data/vendor/depot_tools/detect_host_arch.py +51 -0
  30. data/vendor/depot_tools/download_from_google_storage.py +85 -26
  31. data/vendor/depot_tools/fetch.py +11 -6
  32. data/vendor/depot_tools/fetch_configs/chromium.py +0 -1
  33. data/vendor/depot_tools/fetch_configs/goma_client.py +41 -0
  34. data/vendor/depot_tools/fetch_configs/infra.py +0 -1
  35. data/vendor/depot_tools/fetch_configs/infra_internal.py +0 -1
  36. data/vendor/depot_tools/gclient-new-workdir.py +4 -0
  37. data/vendor/depot_tools/gclient.py +732 -476
  38. data/vendor/depot_tools/gclient_eval.py +569 -58
  39. data/vendor/depot_tools/gclient_scm.py +258 -46
  40. data/vendor/depot_tools/gclient_utils.py +17 -1
  41. data/vendor/depot_tools/gerrit_util.py +46 -13
  42. data/vendor/depot_tools/git_cache.py +0 -2
  43. data/vendor/depot_tools/git_cl.py +176 -335
  44. data/vendor/depot_tools/git_common.py +19 -16
  45. data/vendor/depot_tools/git_footers.py +19 -5
  46. data/vendor/depot_tools/git_hyper_blame.py +9 -3
  47. data/vendor/depot_tools/git_new_branch.py +15 -3
  48. data/vendor/depot_tools/git_upstream_diff.py +7 -2
  49. data/vendor/depot_tools/gsutil.py +1 -1
  50. data/vendor/depot_tools/infra/config/cq.cfg +1 -2
  51. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  52. data/vendor/depot_tools/luci-auth +13 -0
  53. data/vendor/depot_tools/luci-auth.bat +8 -0
  54. data/vendor/depot_tools/man/html/depot_tools.html +0 -8
  55. data/vendor/depot_tools/man/html/git-upstream-diff.html +20 -3
  56. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +27 -6
  57. data/vendor/depot_tools/man/man7/depot_tools.7 +0 -5
  58. data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +2 -2
  59. data/vendor/depot_tools/man/src/git-upstream-diff.txt +21 -3
  60. data/vendor/depot_tools/man/src/make_docs.sh +6 -0
  61. data/vendor/depot_tools/my_activity.py +283 -93
  62. data/vendor/depot_tools/owners.py +9 -4
  63. data/vendor/depot_tools/owners_finder.py +7 -3
  64. data/vendor/depot_tools/post_build_ninja_summary.py +322 -0
  65. data/vendor/depot_tools/presubmit_canned_checks.py +91 -106
  66. data/vendor/depot_tools/presubmit_support.py +219 -157
  67. data/vendor/depot_tools/prpc +13 -0
  68. data/vendor/depot_tools/prpc.bat +8 -0
  69. data/vendor/depot_tools/recipes/OWNERS +3 -1
  70. data/vendor/depot_tools/recipes/README.recipes.md +70 -111
  71. data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +12 -5
  72. data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +36 -68
  73. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +0 -8
  74. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_json.json → no_apply_patch_on_gclient.json} +64 -10
  75. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{no_shallow.json → shallow.json} +1 -1
  76. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +0 -8
  77. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_empty_revision.json +0 -8
  78. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +0 -6
  79. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +0 -7
  80. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +0 -6
  81. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +44 -0
  82. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_buildbot.json → tryjob_gerrit_branch_heads.json} +51 -5
  83. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +0 -8
  84. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +48 -8
  85. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py +19 -26
  86. data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +193 -155
  87. data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +9 -0
  88. data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +2 -7
  89. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +31 -5
  90. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/basic.json +37 -19
  91. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/buildbot.json +37 -19
  92. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/revision.json +37 -19
  93. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/tryserver.json +37 -23
  94. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.py +4 -0
  95. data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +40 -8
  96. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +3 -3
  97. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.py +6 -3
  98. data/vendor/depot_tools/recipes/recipe_modules/gitiles/OWNERS +0 -1
  99. data/vendor/depot_tools/recipes/recipe_modules/tryserver/__init__.py +0 -1
  100. data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +7 -56
  101. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch.json +0 -1
  102. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.py +15 -16
  103. data/vendor/depot_tools/recipes/recipes.py +4 -2
  104. data/vendor/depot_tools/recipes/trigger_recipe_roller.txt +12 -0
  105. data/vendor/depot_tools/roll_dep.py +35 -37
  106. data/vendor/depot_tools/support/chromite_wrapper +1 -1
  107. data/vendor/depot_tools/third_party/logilab/astroid/README.chromium +3 -3
  108. data/vendor/depot_tools/third_party/logilab/astroid/__pkginfo__.py +2 -2
  109. data/vendor/depot_tools/third_party/logilab/astroid/astpeephole.py +86 -0
  110. data/vendor/depot_tools/third_party/logilab/astroid/bases.py +53 -66
  111. data/vendor/depot_tools/third_party/logilab/astroid/brain/py2pytest.py +31 -31
  112. data/vendor/depot_tools/third_party/logilab/astroid/brain/pynose.py +39 -16
  113. data/vendor/depot_tools/third_party/logilab/astroid/brain/pysix_moves.py +225 -189
  114. data/vendor/depot_tools/third_party/logilab/astroid/inference.py +45 -41
  115. data/vendor/depot_tools/third_party/logilab/astroid/manager.py +1 -0
  116. data/vendor/depot_tools/third_party/logilab/astroid/modutils.py +2 -2
  117. data/vendor/depot_tools/third_party/logilab/astroid/node_classes.py +3 -2
  118. data/vendor/depot_tools/third_party/logilab/astroid/nodes.py +1 -0
  119. data/vendor/depot_tools/third_party/logilab/astroid/protocols.py +57 -3
  120. data/vendor/depot_tools/third_party/logilab/astroid/raw_building.py +1 -1
  121. data/vendor/depot_tools/third_party/logilab/astroid/rebuilder.py +21 -1
  122. data/vendor/depot_tools/third_party/logilab/astroid/scoped_nodes.py +58 -33
  123. data/vendor/depot_tools/third_party/pylint/README.chromium +2 -2
  124. data/vendor/depot_tools/third_party/pylint/__pkginfo__.py +3 -3
  125. data/vendor/depot_tools/third_party/pylint/checkers/base.py +6 -18
  126. data/vendor/depot_tools/third_party/pylint/checkers/classes.py +64 -63
  127. data/vendor/depot_tools/third_party/pylint/checkers/design_analysis.py +25 -57
  128. data/vendor/depot_tools/third_party/pylint/checkers/format.py +14 -10
  129. data/vendor/depot_tools/third_party/pylint/checkers/python3.py +142 -37
  130. data/vendor/depot_tools/third_party/pylint/checkers/spelling.py +10 -1
  131. data/vendor/depot_tools/third_party/pylint/checkers/stdlib.py +50 -7
  132. data/vendor/depot_tools/third_party/pylint/checkers/strings.py +1 -1
  133. data/vendor/depot_tools/third_party/pylint/epylint.py +2 -1
  134. data/vendor/depot_tools/third_party/pylint/gui.py +1 -1
  135. data/vendor/depot_tools/third_party/pylint/lint.py +88 -23
  136. data/vendor/depot_tools/third_party/pylint/reporters/html.py +37 -5
  137. data/vendor/depot_tools/third_party/pylint/testutils.py +1 -1
  138. data/vendor/depot_tools/third_party/pylint/utils.py +5 -0
  139. data/vendor/depot_tools/vpython +31 -1
  140. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +35 -2
  141. data/vendor/depot_tools/win_toolchain/package_from_installed.py +0 -15
  142. data/vendor/depot_tools/yapf +17 -0
  143. data/vendor/depot_tools/{apply_issue.bat → yapf.bat} +2 -2
  144. metadata +16 -58
  145. data/ext/libv8/compiler.rb +0 -39
  146. data/ext/libv8/compiler/apple_llvm.rb +0 -22
  147. data/ext/libv8/compiler/clang.rb +0 -22
  148. data/ext/libv8/compiler/gcc.rb +0 -22
  149. data/ext/libv8/compiler/generic_compiler.rb +0 -66
  150. data/ext/libv8/make.rb +0 -13
  151. data/ext/libv8/patcher.rb +0 -21
  152. data/patches/0001-Build-a-standalone-static-library.patch +0 -26
  153. data/patches/0002-Don-t-compile-unnecessary-stuff.patch +0 -85
  154. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +0 -25
  155. data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +0 -25
  156. data/patches/0005-Remove-TryInstallOptimizedCode.patch +0 -321
  157. data/patches/mingw-generate-makefiles.sh +0 -97
  158. data/spec/compiler/apple_llvm_spec.rb +0 -37
  159. data/spec/compiler/clang_spec.rb +0 -37
  160. data/spec/compiler/gcc_spec.rb +0 -37
  161. data/spec/compiler/generic_compiler_spec.rb +0 -50
  162. data/spec/compiler_spec.rb +0 -45
  163. data/spec/support/compiler_helpers.rb +0 -47
  164. data/vendor/depot_tools/apply_issue +0 -8
  165. data/vendor/depot_tools/apply_issue.py +0 -315
  166. data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +0 -815
  167. data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +0 -80
  168. data/vendor/depot_tools/man/src/_git-cherry-pick-upload_desc.helper.txt +0 -1
  169. data/vendor/depot_tools/man/src/git-cherry-pick-upload.demo.1.sh +0 -17
  170. data/vendor/depot_tools/man/src/git-cherry-pick-upload.txt +0 -35
  171. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2.json +0 -8
  172. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +0 -196
  173. data/vendor/depot_tools/recipes/recipe_modules/rietveld/__init__.py +0 -6
  174. data/vendor/depot_tools/recipes/recipe_modules/rietveld/api.py +0 -97
  175. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/basic.json +0 -8
  176. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/buildbot.json +0 -30
  177. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/no_auth.json +0 -27
  178. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.py +0 -38
  179. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch.json +0 -69
  180. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch_new.json +0 -69
  181. data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -2
  182. data/vendor/depot_tools/third_party/cq_client/README.depot_tools.md +0 -2
  183. data/vendor/depot_tools/third_party/cq_client/README.md +0 -59
  184. data/vendor/depot_tools/third_party/cq_client/__init__.py +0 -3
  185. data/vendor/depot_tools/third_party/cq_client/v1/__init__.py +0 -3
  186. data/vendor/depot_tools/third_party/cq_client/v1/cq.pb.go +0 -810
  187. data/vendor/depot_tools/third_party/cq_client/v1/cq.proto +0 -281
  188. data/vendor/depot_tools/third_party/cq_client/v1/cq_pb2.py +0 -794
  189. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_both.cfg +0 -71
  190. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_gerrit.cfg +0 -58
  191. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_rietveld.cfg +0 -60
  192. data/vendor/depot_tools/third_party/cq_client/v2/__init__.py +0 -3
  193. data/vendor/depot_tools/third_party/cq_client/v2/cq.pb.go +0 -792
  194. data/vendor/depot_tools/third_party/cq_client/v2/cq.proto +0 -270
  195. data/vendor/depot_tools/third_party/cq_client/v2/cq_pb2.py +0 -841
@@ -1,281 +0,0 @@
1
- syntax = "proto2";
2
-
3
- // This message describes a Commit Queue configuration. The config file cq.cfg
4
- // should be stored in the config directory located on the branch that this CQ
5
- // should commit to.
6
- message Config {
7
- // Required. Version of the config format.
8
- optional int32 version = 1;
9
-
10
- // Required. Name of the CQ. May only contain characters [a-zA-Z0-9_]. It is
11
- // used for various purposes, including, but not limited to match the project
12
- // name for CLs on Rietveld, name of the project in the status app, internal
13
- // name for logging etc. CQ name should not be confused with the project name
14
- // in LUCI as there may be multiple CQs per project.
15
- optional string cq_name = 2;
16
-
17
- // List of verifiers that verify if the CL is ready to be committed.
18
- optional Verifiers verifiers = 3;
19
-
20
- // URL of the CQ status app to push updates to.
21
- optional string cq_status_url = 4;
22
-
23
- // DO NOT USE. Kept here for validator error messages.
24
- optional bool hide_ref_in_committed_msg = 5 [deprecated = true];
25
-
26
- // Delay between commit bursts in seconds. Default value is 480.
27
- optional int32 commit_burst_delay = 6;
28
-
29
- // Maximum number of commits done sequentially, before waiting for
30
- // commit_burst_delay. Default value is 4.
31
- optional int32 max_commit_burst = 7;
32
-
33
- // Defines whether a CQ is used in production. Allows to disable CQ for a
34
- // given branch. Default is true.
35
- optional bool in_production = 8;
36
-
37
- // Configuration options for Rietveld code review.
38
- optional Rietveld rietveld = 9;
39
-
40
- // Configuration options for Gerrit code review.
41
- optional Gerrit gerrit = 15;
42
-
43
- // This can be used to override the Git repository URL used to checkout and
44
- // commit changes on CQ host. This should only be used in case, when the
45
- // source repository is not supported by luci-config (e.g. GitHub).
46
- optional string git_repo_url = 10;
47
-
48
- // DO NOT USE. Kept here for validator error messages
49
- // and internal CQ usage (and insanity).
50
- // TODO(tandrii): clean insanity internally and update this message.
51
- optional string target_ref = 11 [deprecated = true];
52
-
53
- // DO NOT USE. Kept here for validator error messages.
54
- optional string svn_repo_url = 12 [deprecated = true];
55
-
56
- // If present, the CQ will refrain from processing any commits whose start
57
- // time is >= this time.
58
- //
59
- // This is an UTC RFC3339 (stiptime(tm)) string representing the time.
60
- // For example, "2017-12-23T15:47:58Z" and Z is required.
61
- optional string draining_start_time = 13;
62
- }
63
-
64
- message Rietveld {
65
- // Required. URL of the codereview site.
66
- optional string url = 1;
67
-
68
- // DO NOT USE. Kept here for validator error messages.
69
- repeated string project_bases = 2;
70
- }
71
-
72
- // Unlike Rietveld, Gerrit doesn't need a separate url.
73
- // Instead, the git_repo_url must be specified on the Gerrit instance,
74
- // and CQ will deduce Gerrit url from it.
75
- // Also, gerrit_cq_ability verifier must be defined in case of Gerrit.
76
- //
77
- // For example, if https://chromium.googlesource.com/infra/infra.git is your
78
- // repo url provided in `git_repo_url` above, then
79
- // https://chromium-review.googlesource.com/#/admin/projects/infra/infra should
80
- // show general properties of your project.
81
- //
82
- // Also,
83
- // https://chromium-review.googlesource.com/#/admin/projects/infra/infra,access
84
- // should show ACLs for refs in your project, but you may need to be admin to
85
- // see it. This will come handy to enable and customize the CQ-related workflows
86
- // for your project.
87
- message Gerrit {
88
- // Optional. If set, tells CQ to vote on a given label to mark result of CQ
89
- // run. The vote is either -1 if failed or 1 on success, and will be given on
90
- // non-dry runs only.
91
- // This vote can then be used in Gerrit's rule for submitting issues, so as to
92
- // require CQ run. CQ will attempt to submit issue only after setting this
93
- // label.
94
- optional string cq_verified_label = 1;
95
-
96
- // Optional and only allowed if cq_verified_label is set. Default: False.
97
- // If set, tells CQ to vote on the Verified label even on dry run.
98
- // This is useful if CQ has no presubmit builders, as dry run would be
99
- // totally equivalent to full run, except that CQ won't try to actually submit
100
- // the code.
101
- optional bool dry_run_sets_cq_verified_label = 2;
102
- }
103
-
104
- // Verifiers are various types of checks that a Commit Queue performs on a CL.
105
- // All verifiers must pass in order for a CL to be landed. Configuration file
106
- // describes types of verifiers that should be applied to each CL and their
107
- // parameters.
108
- message Verifiers {
109
- // [Rietveld only] This verifier is used to ensure that an LGTM was posted to
110
- // the code review site from a valid project committer. It also validates
111
- // ability of non-committers to trigger CQ, which for Gerrit is done by
112
- // GerritCQAbilityVerifier.
113
- optional ReviewerLgtmVerifier reviewer_lgtm = 1;
114
-
115
- // [Gerrit only] GerritCQAbilityVerifier ensures that a user who triggered
116
- // this CQ attempt has actually rights to do so based on 3 factors:
117
- // * membership of the user in committers & dryrunners group,
118
- // * the state of CL/patchset on which CQ is triggered,
119
- // * relationship of the user to the CL.
120
- // This verifier must be specified for Gerrit.
121
- optional GerritCQAbilityVerifier gerrit_cq_ability = 5;
122
-
123
- // This verifier is used to check tree status before committing a CL. If the
124
- // tree is closed, then the verifier will wait until it is reopened.
125
- optional TreeStatusLgtmVerifier tree_status = 2;
126
-
127
- // This verifier triggers a set of tryjobs that are to be run on builders on
128
- // Buildbot. It automatically retries failed try-jobs and only allows CL to
129
- // land if each builder has succeeded in the latest retry. If a given tryjob
130
- // result is too old (>1 day) it is ignored.
131
- optional TryJobVerifier try_job = 3;
132
-
133
- // This verifier is used to ensure that the author has signed Google's
134
- // Contributor License Agreement.
135
- optional SignCLAVerifier sign_cla = 4;
136
-
137
- message ReviewerLgtmVerifier {
138
- // Required. Name of the chrome-infra-auth group, which contains the list of
139
- // identities authorized to approve (lgtm) a CL and trigger CQ run or dry
140
- // run.
141
- optional string committer_list = 1;
142
-
143
- // Number of seconds to wait for LGTM on CQ. Default value is 0.
144
- optional int32 max_wait_secs = 2;
145
-
146
- // Message to be posted to code review site when no LGTM is found. Default
147
- // value is "No LGTM from a valid reviewer yet. Only full committers are "
148
- // "accepted.\nEven if an LGTM may have been provided, it was from a "
149
- // "non-committer,\n_not_ a full super star committer.\nSee "
150
- // "http://www.chromium.org/getting-involved/become-a-committer\nNote that "
151
- // "this has nothing to do with OWNERS files."
152
- optional string no_lgtm_msg = 3;
153
-
154
- // Optional, but recommended. Name of the chrome-infra-auth group,
155
- // which contains the list of identities authorized to trigger CQ dry run.
156
- // This is usually the same group as tryjob-access.
157
- optional string dry_run_access_list = 4;
158
- }
159
-
160
- message GerritCQAbilityVerifier {
161
- // Required. Name of the chrome-infra-auth group, which contains the list of
162
- // identities authorized to trigger CQ runs on any CLs in this project.
163
- optional string committer_list = 1;
164
-
165
- // Optional, but strongly recommended. Name of the chrome-infra-auth group,
166
- // which contains the list of identities authorized to trigger CQ dry run
167
- // on Gerrit CLs they own (not to be confused with OWNER files) even if CL
168
- // hasn't been approved.
169
- // This is usually the same group as tryjob-access.
170
- optional string dry_run_access_list = 4;
171
-
172
- // Optional. allow_submit_with_open_deps controls how CQ full run behaves
173
- // when current Gerrit CL has open dependencies (not yet submitted CLs on
174
- // which *this* CL depends).
175
- //
176
- // If set to false (default), CQ will abort full run attempt immediately if
177
- // open dependencies are detected.
178
- //
179
- // If set to true, then CQ will not abort full run and upon passing all
180
- // other verifiers, CQ will attempt to submit the CL regardless of open
181
- // dependencies. In turn, if Gerrit project config allows this, Gerrit will
182
- // execute submit all dependent CLs first and then this CL.
183
- optional bool allow_submit_with_open_deps = 5;
184
- }
185
-
186
- message TreeStatusLgtmVerifier {
187
- // Required. URL of the project tree status app.
188
- optional string tree_status_url = 1;
189
- }
190
-
191
- message TryJobVerifier {
192
- message EquivalentBuilder {
193
- // Required. Bucket name of this builder.
194
- optional string bucket = 1;
195
- // Required. Name of this builder.
196
- optional string builder = 2;
197
- // Percentage expressing probability of CQ requiring this builder
198
- // instead of the builder to which this builder is equilvanet to.
199
- //
200
- // If not specified, defaults to 50.
201
- //
202
- // A choice itself is made deterministicly based on CL alone, hereby
203
- // all CQ attempts on all patchsets of a given CL will require the same
204
- // builder, assuming CQ config doesn't change in the mean time.
205
- //
206
- // Note that if `owner_whitelist_group` is also specified, the choice over
207
- // two builders will be made only for CLs owned by whitelisted group.
208
- //
209
- // To illustrate, suppose percentage=10. Then,
210
- // Without owner_whitelist_group,
211
- // ~10% of all CQ attempts will choose this builder.
212
- // With owner_whitelist_group set and, suppose, 1/5 of CQ attempts are
213
- // ran on CLs owned by this group, then only ~(1/10)*(1/5) or
214
- // ~2% of all CQ attempts will choose this builder.
215
- optional int32 percentage = 3;
216
- // If not specified, limits the builder to CL owners in this group.
217
- optional string owner_whitelist_group = 4;
218
- }
219
-
220
- message Builder {
221
- // Name of the builder.
222
- optional string name = 1;
223
-
224
- // Optionally specify a builder name that triggers the given builder.
225
- // Otherwise, CQ will trigger this builder (default). If in doubt, you
226
- // probably won't need this.
227
- optional string triggered_by = 2;
228
-
229
- // When this field is present, it marks given builder as experimental. It
230
- // is only executed on a given percentage of the CLs and the outcome does
231
- // not affect the decicion whether a CL can land or not. This is typically
232
- // used to test new builders and estimate their capacity requirements.
233
- optional float experiment_percentage = 4;
234
-
235
- // Optionally specified alternative builder for CQ to choose instead.
236
- // If provided, CQ will choose only one of the equivalent builders as
237
- // required based purely on given CL and CL's owner and **regardless** of
238
- // the possibly already completed try jobs.
239
- //
240
- // Note: none of the equivalent builders should be part of triggered_by
241
- // chain, although CQ may eventually relax this requirement somewhat.
242
- optional EquivalentBuilder equivalent_to = 5;
243
- }
244
-
245
- message Bucket {
246
- // Name of the bucket. This is typically the same as a master name without
247
- // the 'master.' prefix, e.g. 'chromium.linux' or 'tryserver.webrtc'. CQ
248
- // will automatically add 'master.' prefix if not there.
249
- optional string name = 1;
250
-
251
- // Builders on which tryjobs should be triggered.
252
- repeated Builder builders = 2;
253
- }
254
-
255
- // Buckets on which tryjobs are triggered/watched.
256
- repeated Bucket buckets = 1;
257
-
258
- message TryJobRetryConfig {
259
- // Retry quota for a single tryjob.
260
- optional int32 try_job_retry_quota = 1;
261
-
262
- // Retry quota for all tryjobs in a CL.
263
- optional int32 global_retry_quota = 2;
264
-
265
- // The weight assigned to each tryjob failure.
266
- optional int32 failure_retry_weight = 3;
267
-
268
- // The weight assigned to each transient failure.
269
- optional int32 transient_failure_retry_weight = 4;
270
-
271
- // The weight assigned to tryjob timeouts.
272
- optional int32 timeout_retry_weight = 5;
273
- }
274
-
275
- // Provides project specific trybot retry configuration. This overrides the
276
- // defaults used in the CQ.
277
- optional TryJobRetryConfig try_job_retry_config = 2;
278
- }
279
-
280
- message SignCLAVerifier {}
281
- }
@@ -1,794 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: cq.proto
3
-
4
- # This file was originally generated by the protocol buffer compiler 2.6.1, but
5
- # was subsequently manually edited to import protobuf26 instead of
6
- # google.protobuf to prevent conflicts with a different version of
7
- # google.protobuf that some users of depot_tools have installed. If you need
8
- # to re-generate this file, please make similar changes again and add this
9
- # comment back. More details on why we chose to rename the package can be
10
- # found in the file depot_tools/third_party/protobuf26/README.chromium.
11
-
12
- import sys
13
- _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
14
- from protobuf26 import descriptor as _descriptor
15
- from protobuf26 import message as _message
16
- from protobuf26 import reflection as _reflection
17
- from protobuf26 import symbol_database as _symbol_database
18
- from protobuf26 import descriptor_pb2
19
- # @@protoc_insertion_point(imports)
20
-
21
- _sym_db = _symbol_database.Default()
22
-
23
-
24
-
25
-
26
- DESCRIPTOR = _descriptor.FileDescriptor(
27
- name='cq.proto',
28
- package='',
29
- serialized_pb=_b('\n\x08\x63q.proto\"\xef\x02\n\x06\x43onfig\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x0f\n\x07\x63q_name\x18\x02 \x01(\t\x12\x1d\n\tverifiers\x18\x03 \x01(\x0b\x32\n.Verifiers\x12\x15\n\rcq_status_url\x18\x04 \x01(\t\x12%\n\x19hide_ref_in_committed_msg\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x1a\n\x12\x63ommit_burst_delay\x18\x06 \x01(\x05\x12\x18\n\x10max_commit_burst\x18\x07 \x01(\x05\x12\x15\n\rin_production\x18\x08 \x01(\x08\x12\x1b\n\x08rietveld\x18\t \x01(\x0b\x32\t.Rietveld\x12\x17\n\x06gerrit\x18\x0f \x01(\x0b\x32\x07.Gerrit\x12\x14\n\x0cgit_repo_url\x18\n \x01(\t\x12\x16\n\ntarget_ref\x18\x0b \x01(\tB\x02\x18\x01\x12\x18\n\x0csvn_repo_url\x18\x0c \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x64raining_start_time\x18\r \x01(\t\".\n\x08Rietveld\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x15\n\rproject_bases\x18\x02 \x03(\t\"K\n\x06Gerrit\x12\x19\n\x11\x63q_verified_label\x18\x01 \x01(\t\x12&\n\x1e\x64ry_run_sets_cq_verified_label\x18\x02 \x01(\x08\"\xd5\t\n\tVerifiers\x12\x36\n\rreviewer_lgtm\x18\x01 \x01(\x0b\x32\x1f.Verifiers.ReviewerLgtmVerifier\x12=\n\x11gerrit_cq_ability\x18\x05 \x01(\x0b\x32\".Verifiers.GerritCQAbilityVerifier\x12\x36\n\x0btree_status\x18\x02 \x01(\x0b\x32!.Verifiers.TreeStatusLgtmVerifier\x12*\n\x07try_job\x18\x03 \x01(\x0b\x32\x19.Verifiers.TryJobVerifier\x12,\n\x08sign_cla\x18\x04 \x01(\x0b\x32\x1a.Verifiers.SignCLAVerifier\x1aw\n\x14ReviewerLgtmVerifier\x12\x16\n\x0e\x63ommitter_list\x18\x01 \x01(\t\x12\x15\n\rmax_wait_secs\x18\x02 \x01(\x05\x12\x13\n\x0bno_lgtm_msg\x18\x03 \x01(\t\x12\x1b\n\x13\x64ry_run_access_list\x18\x04 \x01(\t\x1as\n\x17GerritCQAbilityVerifier\x12\x16\n\x0e\x63ommitter_list\x18\x01 \x01(\t\x12\x1b\n\x13\x64ry_run_access_list\x18\x04 \x01(\t\x12#\n\x1b\x61llow_submit_with_open_deps\x18\x05 \x01(\x08\x1a\x31\n\x16TreeStatusLgtmVerifier\x12\x17\n\x0ftree_status_url\x18\x01 \x01(\t\x1a\x8a\x05\n\x0eTryJobVerifier\x12\x31\n\x07\x62uckets\x18\x01 \x03(\x0b\x32 .Verifiers.TryJobVerifier.Bucket\x12I\n\x14try_job_retry_config\x18\x02 \x01(\x0b\x32+.Verifiers.TryJobVerifier.TryJobRetryConfig\x1ag\n\x11\x45quivalentBuilder\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0f\n\x07\x62uilder\x18\x02 \x01(\t\x12\x12\n\npercentage\x18\x03 \x01(\x05\x12\x1d\n\x15owner_whitelist_group\x18\x04 \x01(\t\x1a\x90\x01\n\x07\x42uilder\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0ctriggered_by\x18\x02 \x01(\t\x12\x1d\n\x15\x65xperiment_percentage\x18\x04 \x01(\x02\x12\x42\n\requivalent_to\x18\x05 \x01(\x0b\x32+.Verifiers.TryJobVerifier.EquivalentBuilder\x1aK\n\x06\x42ucket\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\x08\x62uilders\x18\x02 \x03(\x0b\x32!.Verifiers.TryJobVerifier.Builder\x1a\xb0\x01\n\x11TryJobRetryConfig\x12\x1b\n\x13try_job_retry_quota\x18\x01 \x01(\x05\x12\x1a\n\x12global_retry_quota\x18\x02 \x01(\x05\x12\x1c\n\x14\x66\x61ilure_retry_weight\x18\x03 \x01(\x05\x12&\n\x1etransient_failure_retry_weight\x18\x04 \x01(\x05\x12\x1c\n\x14timeout_retry_weight\x18\x05 \x01(\x05\x1a\x11\n\x0fSignCLAVerifier')
30
- )
31
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
32
-
33
-
34
-
35
-
36
- _CONFIG = _descriptor.Descriptor(
37
- name='Config',
38
- full_name='Config',
39
- filename=None,
40
- file=DESCRIPTOR,
41
- containing_type=None,
42
- fields=[
43
- _descriptor.FieldDescriptor(
44
- name='version', full_name='Config.version', index=0,
45
- number=1, type=5, cpp_type=1, label=1,
46
- has_default_value=False, default_value=0,
47
- message_type=None, enum_type=None, containing_type=None,
48
- is_extension=False, extension_scope=None,
49
- options=None),
50
- _descriptor.FieldDescriptor(
51
- name='cq_name', full_name='Config.cq_name', index=1,
52
- number=2, type=9, cpp_type=9, label=1,
53
- has_default_value=False, default_value=_b("").decode('utf-8'),
54
- message_type=None, enum_type=None, containing_type=None,
55
- is_extension=False, extension_scope=None,
56
- options=None),
57
- _descriptor.FieldDescriptor(
58
- name='verifiers', full_name='Config.verifiers', index=2,
59
- number=3, type=11, cpp_type=10, label=1,
60
- has_default_value=False, default_value=None,
61
- message_type=None, enum_type=None, containing_type=None,
62
- is_extension=False, extension_scope=None,
63
- options=None),
64
- _descriptor.FieldDescriptor(
65
- name='cq_status_url', full_name='Config.cq_status_url', index=3,
66
- number=4, type=9, cpp_type=9, label=1,
67
- has_default_value=False, default_value=_b("").decode('utf-8'),
68
- message_type=None, enum_type=None, containing_type=None,
69
- is_extension=False, extension_scope=None,
70
- options=None),
71
- _descriptor.FieldDescriptor(
72
- name='hide_ref_in_committed_msg', full_name='Config.hide_ref_in_committed_msg', index=4,
73
- number=5, type=8, cpp_type=7, label=1,
74
- has_default_value=False, default_value=False,
75
- message_type=None, enum_type=None, containing_type=None,
76
- is_extension=False, extension_scope=None,
77
- options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
78
- _descriptor.FieldDescriptor(
79
- name='commit_burst_delay', full_name='Config.commit_burst_delay', index=5,
80
- number=6, type=5, cpp_type=1, label=1,
81
- has_default_value=False, default_value=0,
82
- message_type=None, enum_type=None, containing_type=None,
83
- is_extension=False, extension_scope=None,
84
- options=None),
85
- _descriptor.FieldDescriptor(
86
- name='max_commit_burst', full_name='Config.max_commit_burst', index=6,
87
- number=7, type=5, cpp_type=1, label=1,
88
- has_default_value=False, default_value=0,
89
- message_type=None, enum_type=None, containing_type=None,
90
- is_extension=False, extension_scope=None,
91
- options=None),
92
- _descriptor.FieldDescriptor(
93
- name='in_production', full_name='Config.in_production', index=7,
94
- number=8, type=8, cpp_type=7, label=1,
95
- has_default_value=False, default_value=False,
96
- message_type=None, enum_type=None, containing_type=None,
97
- is_extension=False, extension_scope=None,
98
- options=None),
99
- _descriptor.FieldDescriptor(
100
- name='rietveld', full_name='Config.rietveld', index=8,
101
- number=9, type=11, cpp_type=10, label=1,
102
- has_default_value=False, default_value=None,
103
- message_type=None, enum_type=None, containing_type=None,
104
- is_extension=False, extension_scope=None,
105
- options=None),
106
- _descriptor.FieldDescriptor(
107
- name='gerrit', full_name='Config.gerrit', index=9,
108
- number=15, type=11, cpp_type=10, label=1,
109
- has_default_value=False, default_value=None,
110
- message_type=None, enum_type=None, containing_type=None,
111
- is_extension=False, extension_scope=None,
112
- options=None),
113
- _descriptor.FieldDescriptor(
114
- name='git_repo_url', full_name='Config.git_repo_url', index=10,
115
- number=10, type=9, cpp_type=9, label=1,
116
- has_default_value=False, default_value=_b("").decode('utf-8'),
117
- message_type=None, enum_type=None, containing_type=None,
118
- is_extension=False, extension_scope=None,
119
- options=None),
120
- _descriptor.FieldDescriptor(
121
- name='target_ref', full_name='Config.target_ref', index=11,
122
- number=11, type=9, cpp_type=9, label=1,
123
- has_default_value=False, default_value=_b("").decode('utf-8'),
124
- message_type=None, enum_type=None, containing_type=None,
125
- is_extension=False, extension_scope=None,
126
- options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
127
- _descriptor.FieldDescriptor(
128
- name='svn_repo_url', full_name='Config.svn_repo_url', index=12,
129
- number=12, type=9, cpp_type=9, label=1,
130
- has_default_value=False, default_value=_b("").decode('utf-8'),
131
- message_type=None, enum_type=None, containing_type=None,
132
- is_extension=False, extension_scope=None,
133
- options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
134
- _descriptor.FieldDescriptor(
135
- name='draining_start_time', full_name='Config.draining_start_time', index=13,
136
- number=13, type=9, cpp_type=9, label=1,
137
- has_default_value=False, default_value=_b("").decode('utf-8'),
138
- message_type=None, enum_type=None, containing_type=None,
139
- is_extension=False, extension_scope=None,
140
- options=None),
141
- ],
142
- extensions=[
143
- ],
144
- nested_types=[],
145
- enum_types=[
146
- ],
147
- options=None,
148
- is_extendable=False,
149
- extension_ranges=[],
150
- oneofs=[
151
- ],
152
- serialized_start=13,
153
- serialized_end=380,
154
- )
155
-
156
-
157
- _RIETVELD = _descriptor.Descriptor(
158
- name='Rietveld',
159
- full_name='Rietveld',
160
- filename=None,
161
- file=DESCRIPTOR,
162
- containing_type=None,
163
- fields=[
164
- _descriptor.FieldDescriptor(
165
- name='url', full_name='Rietveld.url', index=0,
166
- number=1, type=9, cpp_type=9, label=1,
167
- has_default_value=False, default_value=_b("").decode('utf-8'),
168
- message_type=None, enum_type=None, containing_type=None,
169
- is_extension=False, extension_scope=None,
170
- options=None),
171
- _descriptor.FieldDescriptor(
172
- name='project_bases', full_name='Rietveld.project_bases', index=1,
173
- number=2, type=9, cpp_type=9, label=3,
174
- has_default_value=False, default_value=[],
175
- message_type=None, enum_type=None, containing_type=None,
176
- is_extension=False, extension_scope=None,
177
- options=None),
178
- ],
179
- extensions=[
180
- ],
181
- nested_types=[],
182
- enum_types=[
183
- ],
184
- options=None,
185
- is_extendable=False,
186
- extension_ranges=[],
187
- oneofs=[
188
- ],
189
- serialized_start=382,
190
- serialized_end=428,
191
- )
192
-
193
-
194
- _GERRIT = _descriptor.Descriptor(
195
- name='Gerrit',
196
- full_name='Gerrit',
197
- filename=None,
198
- file=DESCRIPTOR,
199
- containing_type=None,
200
- fields=[
201
- _descriptor.FieldDescriptor(
202
- name='cq_verified_label', full_name='Gerrit.cq_verified_label', index=0,
203
- number=1, type=9, cpp_type=9, label=1,
204
- has_default_value=False, default_value=_b("").decode('utf-8'),
205
- message_type=None, enum_type=None, containing_type=None,
206
- is_extension=False, extension_scope=None,
207
- options=None),
208
- _descriptor.FieldDescriptor(
209
- name='dry_run_sets_cq_verified_label', full_name='Gerrit.dry_run_sets_cq_verified_label', index=1,
210
- number=2, type=8, cpp_type=7, label=1,
211
- has_default_value=False, default_value=False,
212
- message_type=None, enum_type=None, containing_type=None,
213
- is_extension=False, extension_scope=None,
214
- options=None),
215
- ],
216
- extensions=[
217
- ],
218
- nested_types=[],
219
- enum_types=[
220
- ],
221
- options=None,
222
- is_extendable=False,
223
- extension_ranges=[],
224
- oneofs=[
225
- ],
226
- serialized_start=430,
227
- serialized_end=505,
228
- )
229
-
230
-
231
- _VERIFIERS_REVIEWERLGTMVERIFIER = _descriptor.Descriptor(
232
- name='ReviewerLgtmVerifier',
233
- full_name='Verifiers.ReviewerLgtmVerifier',
234
- filename=None,
235
- file=DESCRIPTOR,
236
- containing_type=None,
237
- fields=[
238
- _descriptor.FieldDescriptor(
239
- name='committer_list', full_name='Verifiers.ReviewerLgtmVerifier.committer_list', index=0,
240
- number=1, type=9, cpp_type=9, label=1,
241
- has_default_value=False, default_value=_b("").decode('utf-8'),
242
- message_type=None, enum_type=None, containing_type=None,
243
- is_extension=False, extension_scope=None,
244
- options=None),
245
- _descriptor.FieldDescriptor(
246
- name='max_wait_secs', full_name='Verifiers.ReviewerLgtmVerifier.max_wait_secs', index=1,
247
- number=2, type=5, cpp_type=1, label=1,
248
- has_default_value=False, default_value=0,
249
- message_type=None, enum_type=None, containing_type=None,
250
- is_extension=False, extension_scope=None,
251
- options=None),
252
- _descriptor.FieldDescriptor(
253
- name='no_lgtm_msg', full_name='Verifiers.ReviewerLgtmVerifier.no_lgtm_msg', index=2,
254
- number=3, type=9, cpp_type=9, label=1,
255
- has_default_value=False, default_value=_b("").decode('utf-8'),
256
- message_type=None, enum_type=None, containing_type=None,
257
- is_extension=False, extension_scope=None,
258
- options=None),
259
- _descriptor.FieldDescriptor(
260
- name='dry_run_access_list', full_name='Verifiers.ReviewerLgtmVerifier.dry_run_access_list', index=3,
261
- number=4, type=9, cpp_type=9, label=1,
262
- has_default_value=False, default_value=_b("").decode('utf-8'),
263
- message_type=None, enum_type=None, containing_type=None,
264
- is_extension=False, extension_scope=None,
265
- options=None),
266
- ],
267
- extensions=[
268
- ],
269
- nested_types=[],
270
- enum_types=[
271
- ],
272
- options=None,
273
- is_extendable=False,
274
- extension_ranges=[],
275
- oneofs=[
276
- ],
277
- serialized_start=786,
278
- serialized_end=905,
279
- )
280
-
281
- _VERIFIERS_GERRITCQABILITYVERIFIER = _descriptor.Descriptor(
282
- name='GerritCQAbilityVerifier',
283
- full_name='Verifiers.GerritCQAbilityVerifier',
284
- filename=None,
285
- file=DESCRIPTOR,
286
- containing_type=None,
287
- fields=[
288
- _descriptor.FieldDescriptor(
289
- name='committer_list', full_name='Verifiers.GerritCQAbilityVerifier.committer_list', index=0,
290
- number=1, type=9, cpp_type=9, label=1,
291
- has_default_value=False, default_value=_b("").decode('utf-8'),
292
- message_type=None, enum_type=None, containing_type=None,
293
- is_extension=False, extension_scope=None,
294
- options=None),
295
- _descriptor.FieldDescriptor(
296
- name='dry_run_access_list', full_name='Verifiers.GerritCQAbilityVerifier.dry_run_access_list', index=1,
297
- number=4, type=9, cpp_type=9, label=1,
298
- has_default_value=False, default_value=_b("").decode('utf-8'),
299
- message_type=None, enum_type=None, containing_type=None,
300
- is_extension=False, extension_scope=None,
301
- options=None),
302
- _descriptor.FieldDescriptor(
303
- name='allow_submit_with_open_deps', full_name='Verifiers.GerritCQAbilityVerifier.allow_submit_with_open_deps', index=2,
304
- number=5, type=8, cpp_type=7, label=1,
305
- has_default_value=False, default_value=False,
306
- message_type=None, enum_type=None, containing_type=None,
307
- is_extension=False, extension_scope=None,
308
- options=None),
309
- ],
310
- extensions=[
311
- ],
312
- nested_types=[],
313
- enum_types=[
314
- ],
315
- options=None,
316
- is_extendable=False,
317
- extension_ranges=[],
318
- oneofs=[
319
- ],
320
- serialized_start=907,
321
- serialized_end=1022,
322
- )
323
-
324
- _VERIFIERS_TREESTATUSLGTMVERIFIER = _descriptor.Descriptor(
325
- name='TreeStatusLgtmVerifier',
326
- full_name='Verifiers.TreeStatusLgtmVerifier',
327
- filename=None,
328
- file=DESCRIPTOR,
329
- containing_type=None,
330
- fields=[
331
- _descriptor.FieldDescriptor(
332
- name='tree_status_url', full_name='Verifiers.TreeStatusLgtmVerifier.tree_status_url', index=0,
333
- number=1, type=9, cpp_type=9, label=1,
334
- has_default_value=False, default_value=_b("").decode('utf-8'),
335
- message_type=None, enum_type=None, containing_type=None,
336
- is_extension=False, extension_scope=None,
337
- options=None),
338
- ],
339
- extensions=[
340
- ],
341
- nested_types=[],
342
- enum_types=[
343
- ],
344
- options=None,
345
- is_extendable=False,
346
- extension_ranges=[],
347
- oneofs=[
348
- ],
349
- serialized_start=1024,
350
- serialized_end=1073,
351
- )
352
-
353
- _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER = _descriptor.Descriptor(
354
- name='EquivalentBuilder',
355
- full_name='Verifiers.TryJobVerifier.EquivalentBuilder',
356
- filename=None,
357
- file=DESCRIPTOR,
358
- containing_type=None,
359
- fields=[
360
- _descriptor.FieldDescriptor(
361
- name='bucket', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.bucket', index=0,
362
- number=1, type=9, cpp_type=9, label=1,
363
- has_default_value=False, default_value=_b("").decode('utf-8'),
364
- message_type=None, enum_type=None, containing_type=None,
365
- is_extension=False, extension_scope=None,
366
- options=None),
367
- _descriptor.FieldDescriptor(
368
- name='builder', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.builder', index=1,
369
- number=2, type=9, cpp_type=9, label=1,
370
- has_default_value=False, default_value=_b("").decode('utf-8'),
371
- message_type=None, enum_type=None, containing_type=None,
372
- is_extension=False, extension_scope=None,
373
- options=None),
374
- _descriptor.FieldDescriptor(
375
- name='percentage', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.percentage', index=2,
376
- number=3, type=5, cpp_type=1, label=1,
377
- has_default_value=False, default_value=0,
378
- message_type=None, enum_type=None, containing_type=None,
379
- is_extension=False, extension_scope=None,
380
- options=None),
381
- _descriptor.FieldDescriptor(
382
- name='owner_whitelist_group', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.owner_whitelist_group', index=3,
383
- number=4, type=9, cpp_type=9, label=1,
384
- has_default_value=False, default_value=_b("").decode('utf-8'),
385
- message_type=None, enum_type=None, containing_type=None,
386
- is_extension=False, extension_scope=None,
387
- options=None),
388
- ],
389
- extensions=[
390
- ],
391
- nested_types=[],
392
- enum_types=[
393
- ],
394
- options=None,
395
- is_extendable=False,
396
- extension_ranges=[],
397
- oneofs=[
398
- ],
399
- serialized_start=1220,
400
- serialized_end=1323,
401
- )
402
-
403
- _VERIFIERS_TRYJOBVERIFIER_BUILDER = _descriptor.Descriptor(
404
- name='Builder',
405
- full_name='Verifiers.TryJobVerifier.Builder',
406
- filename=None,
407
- file=DESCRIPTOR,
408
- containing_type=None,
409
- fields=[
410
- _descriptor.FieldDescriptor(
411
- name='name', full_name='Verifiers.TryJobVerifier.Builder.name', index=0,
412
- number=1, type=9, cpp_type=9, label=1,
413
- has_default_value=False, default_value=_b("").decode('utf-8'),
414
- message_type=None, enum_type=None, containing_type=None,
415
- is_extension=False, extension_scope=None,
416
- options=None),
417
- _descriptor.FieldDescriptor(
418
- name='triggered_by', full_name='Verifiers.TryJobVerifier.Builder.triggered_by', index=1,
419
- number=2, type=9, cpp_type=9, label=1,
420
- has_default_value=False, default_value=_b("").decode('utf-8'),
421
- message_type=None, enum_type=None, containing_type=None,
422
- is_extension=False, extension_scope=None,
423
- options=None),
424
- _descriptor.FieldDescriptor(
425
- name='experiment_percentage', full_name='Verifiers.TryJobVerifier.Builder.experiment_percentage', index=2,
426
- number=4, type=2, cpp_type=6, label=1,
427
- has_default_value=False, default_value=0,
428
- message_type=None, enum_type=None, containing_type=None,
429
- is_extension=False, extension_scope=None,
430
- options=None),
431
- _descriptor.FieldDescriptor(
432
- name='equivalent_to', full_name='Verifiers.TryJobVerifier.Builder.equivalent_to', index=3,
433
- number=5, type=11, cpp_type=10, label=1,
434
- has_default_value=False, default_value=None,
435
- message_type=None, enum_type=None, containing_type=None,
436
- is_extension=False, extension_scope=None,
437
- options=None),
438
- ],
439
- extensions=[
440
- ],
441
- nested_types=[],
442
- enum_types=[
443
- ],
444
- options=None,
445
- is_extendable=False,
446
- extension_ranges=[],
447
- oneofs=[
448
- ],
449
- serialized_start=1326,
450
- serialized_end=1470,
451
- )
452
-
453
- _VERIFIERS_TRYJOBVERIFIER_BUCKET = _descriptor.Descriptor(
454
- name='Bucket',
455
- full_name='Verifiers.TryJobVerifier.Bucket',
456
- filename=None,
457
- file=DESCRIPTOR,
458
- containing_type=None,
459
- fields=[
460
- _descriptor.FieldDescriptor(
461
- name='name', full_name='Verifiers.TryJobVerifier.Bucket.name', index=0,
462
- number=1, type=9, cpp_type=9, label=1,
463
- has_default_value=False, default_value=_b("").decode('utf-8'),
464
- message_type=None, enum_type=None, containing_type=None,
465
- is_extension=False, extension_scope=None,
466
- options=None),
467
- _descriptor.FieldDescriptor(
468
- name='builders', full_name='Verifiers.TryJobVerifier.Bucket.builders', index=1,
469
- number=2, type=11, cpp_type=10, label=3,
470
- has_default_value=False, default_value=[],
471
- message_type=None, enum_type=None, containing_type=None,
472
- is_extension=False, extension_scope=None,
473
- options=None),
474
- ],
475
- extensions=[
476
- ],
477
- nested_types=[],
478
- enum_types=[
479
- ],
480
- options=None,
481
- is_extendable=False,
482
- extension_ranges=[],
483
- oneofs=[
484
- ],
485
- serialized_start=1472,
486
- serialized_end=1547,
487
- )
488
-
489
- _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG = _descriptor.Descriptor(
490
- name='TryJobRetryConfig',
491
- full_name='Verifiers.TryJobVerifier.TryJobRetryConfig',
492
- filename=None,
493
- file=DESCRIPTOR,
494
- containing_type=None,
495
- fields=[
496
- _descriptor.FieldDescriptor(
497
- name='try_job_retry_quota', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.try_job_retry_quota', index=0,
498
- number=1, type=5, cpp_type=1, label=1,
499
- has_default_value=False, default_value=0,
500
- message_type=None, enum_type=None, containing_type=None,
501
- is_extension=False, extension_scope=None,
502
- options=None),
503
- _descriptor.FieldDescriptor(
504
- name='global_retry_quota', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.global_retry_quota', index=1,
505
- number=2, type=5, cpp_type=1, label=1,
506
- has_default_value=False, default_value=0,
507
- message_type=None, enum_type=None, containing_type=None,
508
- is_extension=False, extension_scope=None,
509
- options=None),
510
- _descriptor.FieldDescriptor(
511
- name='failure_retry_weight', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.failure_retry_weight', index=2,
512
- number=3, type=5, cpp_type=1, label=1,
513
- has_default_value=False, default_value=0,
514
- message_type=None, enum_type=None, containing_type=None,
515
- is_extension=False, extension_scope=None,
516
- options=None),
517
- _descriptor.FieldDescriptor(
518
- name='transient_failure_retry_weight', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.transient_failure_retry_weight', index=3,
519
- number=4, type=5, cpp_type=1, label=1,
520
- has_default_value=False, default_value=0,
521
- message_type=None, enum_type=None, containing_type=None,
522
- is_extension=False, extension_scope=None,
523
- options=None),
524
- _descriptor.FieldDescriptor(
525
- name='timeout_retry_weight', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.timeout_retry_weight', index=4,
526
- number=5, type=5, cpp_type=1, label=1,
527
- has_default_value=False, default_value=0,
528
- message_type=None, enum_type=None, containing_type=None,
529
- is_extension=False, extension_scope=None,
530
- options=None),
531
- ],
532
- extensions=[
533
- ],
534
- nested_types=[],
535
- enum_types=[
536
- ],
537
- options=None,
538
- is_extendable=False,
539
- extension_ranges=[],
540
- oneofs=[
541
- ],
542
- serialized_start=1550,
543
- serialized_end=1726,
544
- )
545
-
546
- _VERIFIERS_TRYJOBVERIFIER = _descriptor.Descriptor(
547
- name='TryJobVerifier',
548
- full_name='Verifiers.TryJobVerifier',
549
- filename=None,
550
- file=DESCRIPTOR,
551
- containing_type=None,
552
- fields=[
553
- _descriptor.FieldDescriptor(
554
- name='buckets', full_name='Verifiers.TryJobVerifier.buckets', index=0,
555
- number=1, type=11, cpp_type=10, label=3,
556
- has_default_value=False, default_value=[],
557
- message_type=None, enum_type=None, containing_type=None,
558
- is_extension=False, extension_scope=None,
559
- options=None),
560
- _descriptor.FieldDescriptor(
561
- name='try_job_retry_config', full_name='Verifiers.TryJobVerifier.try_job_retry_config', index=1,
562
- number=2, type=11, cpp_type=10, label=1,
563
- has_default_value=False, default_value=None,
564
- message_type=None, enum_type=None, containing_type=None,
565
- is_extension=False, extension_scope=None,
566
- options=None),
567
- ],
568
- extensions=[
569
- ],
570
- nested_types=[_VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER, _VERIFIERS_TRYJOBVERIFIER_BUILDER, _VERIFIERS_TRYJOBVERIFIER_BUCKET, _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG, ],
571
- enum_types=[
572
- ],
573
- options=None,
574
- is_extendable=False,
575
- extension_ranges=[],
576
- oneofs=[
577
- ],
578
- serialized_start=1076,
579
- serialized_end=1726,
580
- )
581
-
582
- _VERIFIERS_SIGNCLAVERIFIER = _descriptor.Descriptor(
583
- name='SignCLAVerifier',
584
- full_name='Verifiers.SignCLAVerifier',
585
- filename=None,
586
- file=DESCRIPTOR,
587
- containing_type=None,
588
- fields=[
589
- ],
590
- extensions=[
591
- ],
592
- nested_types=[],
593
- enum_types=[
594
- ],
595
- options=None,
596
- is_extendable=False,
597
- extension_ranges=[],
598
- oneofs=[
599
- ],
600
- serialized_start=1728,
601
- serialized_end=1745,
602
- )
603
-
604
- _VERIFIERS = _descriptor.Descriptor(
605
- name='Verifiers',
606
- full_name='Verifiers',
607
- filename=None,
608
- file=DESCRIPTOR,
609
- containing_type=None,
610
- fields=[
611
- _descriptor.FieldDescriptor(
612
- name='reviewer_lgtm', full_name='Verifiers.reviewer_lgtm', index=0,
613
- number=1, type=11, cpp_type=10, label=1,
614
- has_default_value=False, default_value=None,
615
- message_type=None, enum_type=None, containing_type=None,
616
- is_extension=False, extension_scope=None,
617
- options=None),
618
- _descriptor.FieldDescriptor(
619
- name='gerrit_cq_ability', full_name='Verifiers.gerrit_cq_ability', index=1,
620
- number=5, type=11, cpp_type=10, label=1,
621
- has_default_value=False, default_value=None,
622
- message_type=None, enum_type=None, containing_type=None,
623
- is_extension=False, extension_scope=None,
624
- options=None),
625
- _descriptor.FieldDescriptor(
626
- name='tree_status', full_name='Verifiers.tree_status', index=2,
627
- number=2, type=11, cpp_type=10, label=1,
628
- has_default_value=False, default_value=None,
629
- message_type=None, enum_type=None, containing_type=None,
630
- is_extension=False, extension_scope=None,
631
- options=None),
632
- _descriptor.FieldDescriptor(
633
- name='try_job', full_name='Verifiers.try_job', index=3,
634
- number=3, type=11, cpp_type=10, label=1,
635
- has_default_value=False, default_value=None,
636
- message_type=None, enum_type=None, containing_type=None,
637
- is_extension=False, extension_scope=None,
638
- options=None),
639
- _descriptor.FieldDescriptor(
640
- name='sign_cla', full_name='Verifiers.sign_cla', index=4,
641
- number=4, type=11, cpp_type=10, label=1,
642
- has_default_value=False, default_value=None,
643
- message_type=None, enum_type=None, containing_type=None,
644
- is_extension=False, extension_scope=None,
645
- options=None),
646
- ],
647
- extensions=[
648
- ],
649
- nested_types=[_VERIFIERS_REVIEWERLGTMVERIFIER, _VERIFIERS_GERRITCQABILITYVERIFIER, _VERIFIERS_TREESTATUSLGTMVERIFIER, _VERIFIERS_TRYJOBVERIFIER, _VERIFIERS_SIGNCLAVERIFIER, ],
650
- enum_types=[
651
- ],
652
- options=None,
653
- is_extendable=False,
654
- extension_ranges=[],
655
- oneofs=[
656
- ],
657
- serialized_start=508,
658
- serialized_end=1745,
659
- )
660
-
661
- _CONFIG.fields_by_name['verifiers'].message_type = _VERIFIERS
662
- _CONFIG.fields_by_name['rietveld'].message_type = _RIETVELD
663
- _CONFIG.fields_by_name['gerrit'].message_type = _GERRIT
664
- _VERIFIERS_REVIEWERLGTMVERIFIER.containing_type = _VERIFIERS
665
- _VERIFIERS_GERRITCQABILITYVERIFIER.containing_type = _VERIFIERS
666
- _VERIFIERS_TREESTATUSLGTMVERIFIER.containing_type = _VERIFIERS
667
- _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER.containing_type = _VERIFIERS_TRYJOBVERIFIER
668
- _VERIFIERS_TRYJOBVERIFIER_BUILDER.fields_by_name['equivalent_to'].message_type = _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER
669
- _VERIFIERS_TRYJOBVERIFIER_BUILDER.containing_type = _VERIFIERS_TRYJOBVERIFIER
670
- _VERIFIERS_TRYJOBVERIFIER_BUCKET.fields_by_name['builders'].message_type = _VERIFIERS_TRYJOBVERIFIER_BUILDER
671
- _VERIFIERS_TRYJOBVERIFIER_BUCKET.containing_type = _VERIFIERS_TRYJOBVERIFIER
672
- _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG.containing_type = _VERIFIERS_TRYJOBVERIFIER
673
- _VERIFIERS_TRYJOBVERIFIER.fields_by_name['buckets'].message_type = _VERIFIERS_TRYJOBVERIFIER_BUCKET
674
- _VERIFIERS_TRYJOBVERIFIER.fields_by_name['try_job_retry_config'].message_type = _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG
675
- _VERIFIERS_TRYJOBVERIFIER.containing_type = _VERIFIERS
676
- _VERIFIERS_SIGNCLAVERIFIER.containing_type = _VERIFIERS
677
- _VERIFIERS.fields_by_name['reviewer_lgtm'].message_type = _VERIFIERS_REVIEWERLGTMVERIFIER
678
- _VERIFIERS.fields_by_name['gerrit_cq_ability'].message_type = _VERIFIERS_GERRITCQABILITYVERIFIER
679
- _VERIFIERS.fields_by_name['tree_status'].message_type = _VERIFIERS_TREESTATUSLGTMVERIFIER
680
- _VERIFIERS.fields_by_name['try_job'].message_type = _VERIFIERS_TRYJOBVERIFIER
681
- _VERIFIERS.fields_by_name['sign_cla'].message_type = _VERIFIERS_SIGNCLAVERIFIER
682
- DESCRIPTOR.message_types_by_name['Config'] = _CONFIG
683
- DESCRIPTOR.message_types_by_name['Rietveld'] = _RIETVELD
684
- DESCRIPTOR.message_types_by_name['Gerrit'] = _GERRIT
685
- DESCRIPTOR.message_types_by_name['Verifiers'] = _VERIFIERS
686
-
687
- Config = _reflection.GeneratedProtocolMessageType('Config', (_message.Message,), dict(
688
- DESCRIPTOR = _CONFIG,
689
- __module__ = 'cq_pb2'
690
- # @@protoc_insertion_point(class_scope:Config)
691
- ))
692
- _sym_db.RegisterMessage(Config)
693
-
694
- Rietveld = _reflection.GeneratedProtocolMessageType('Rietveld', (_message.Message,), dict(
695
- DESCRIPTOR = _RIETVELD,
696
- __module__ = 'cq_pb2'
697
- # @@protoc_insertion_point(class_scope:Rietveld)
698
- ))
699
- _sym_db.RegisterMessage(Rietveld)
700
-
701
- Gerrit = _reflection.GeneratedProtocolMessageType('Gerrit', (_message.Message,), dict(
702
- DESCRIPTOR = _GERRIT,
703
- __module__ = 'cq_pb2'
704
- # @@protoc_insertion_point(class_scope:Gerrit)
705
- ))
706
- _sym_db.RegisterMessage(Gerrit)
707
-
708
- Verifiers = _reflection.GeneratedProtocolMessageType('Verifiers', (_message.Message,), dict(
709
-
710
- ReviewerLgtmVerifier = _reflection.GeneratedProtocolMessageType('ReviewerLgtmVerifier', (_message.Message,), dict(
711
- DESCRIPTOR = _VERIFIERS_REVIEWERLGTMVERIFIER,
712
- __module__ = 'cq_pb2'
713
- # @@protoc_insertion_point(class_scope:Verifiers.ReviewerLgtmVerifier)
714
- ))
715
- ,
716
-
717
- GerritCQAbilityVerifier = _reflection.GeneratedProtocolMessageType('GerritCQAbilityVerifier', (_message.Message,), dict(
718
- DESCRIPTOR = _VERIFIERS_GERRITCQABILITYVERIFIER,
719
- __module__ = 'cq_pb2'
720
- # @@protoc_insertion_point(class_scope:Verifiers.GerritCQAbilityVerifier)
721
- ))
722
- ,
723
-
724
- TreeStatusLgtmVerifier = _reflection.GeneratedProtocolMessageType('TreeStatusLgtmVerifier', (_message.Message,), dict(
725
- DESCRIPTOR = _VERIFIERS_TREESTATUSLGTMVERIFIER,
726
- __module__ = 'cq_pb2'
727
- # @@protoc_insertion_point(class_scope:Verifiers.TreeStatusLgtmVerifier)
728
- ))
729
- ,
730
-
731
- TryJobVerifier = _reflection.GeneratedProtocolMessageType('TryJobVerifier', (_message.Message,), dict(
732
-
733
- EquivalentBuilder = _reflection.GeneratedProtocolMessageType('EquivalentBuilder', (_message.Message,), dict(
734
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER,
735
- __module__ = 'cq_pb2'
736
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.EquivalentBuilder)
737
- ))
738
- ,
739
-
740
- Builder = _reflection.GeneratedProtocolMessageType('Builder', (_message.Message,), dict(
741
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_BUILDER,
742
- __module__ = 'cq_pb2'
743
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.Builder)
744
- ))
745
- ,
746
-
747
- Bucket = _reflection.GeneratedProtocolMessageType('Bucket', (_message.Message,), dict(
748
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_BUCKET,
749
- __module__ = 'cq_pb2'
750
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.Bucket)
751
- ))
752
- ,
753
-
754
- TryJobRetryConfig = _reflection.GeneratedProtocolMessageType('TryJobRetryConfig', (_message.Message,), dict(
755
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG,
756
- __module__ = 'cq_pb2'
757
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.TryJobRetryConfig)
758
- ))
759
- ,
760
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER,
761
- __module__ = 'cq_pb2'
762
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier)
763
- ))
764
- ,
765
-
766
- SignCLAVerifier = _reflection.GeneratedProtocolMessageType('SignCLAVerifier', (_message.Message,), dict(
767
- DESCRIPTOR = _VERIFIERS_SIGNCLAVERIFIER,
768
- __module__ = 'cq_pb2'
769
- # @@protoc_insertion_point(class_scope:Verifiers.SignCLAVerifier)
770
- ))
771
- ,
772
- DESCRIPTOR = _VERIFIERS,
773
- __module__ = 'cq_pb2'
774
- # @@protoc_insertion_point(class_scope:Verifiers)
775
- ))
776
- _sym_db.RegisterMessage(Verifiers)
777
- _sym_db.RegisterMessage(Verifiers.ReviewerLgtmVerifier)
778
- _sym_db.RegisterMessage(Verifiers.GerritCQAbilityVerifier)
779
- _sym_db.RegisterMessage(Verifiers.TreeStatusLgtmVerifier)
780
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier)
781
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.EquivalentBuilder)
782
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.Builder)
783
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.Bucket)
784
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.TryJobRetryConfig)
785
- _sym_db.RegisterMessage(Verifiers.SignCLAVerifier)
786
-
787
-
788
- _CONFIG.fields_by_name['hide_ref_in_committed_msg'].has_options = True
789
- _CONFIG.fields_by_name['hide_ref_in_committed_msg']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
790
- _CONFIG.fields_by_name['target_ref'].has_options = True
791
- _CONFIG.fields_by_name['target_ref']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
792
- _CONFIG.fields_by_name['svn_repo_url'].has_options = True
793
- _CONFIG.fields_by_name['svn_repo_url']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
794
- # @@protoc_insertion_point(module_scope)