libv8 4.5.95.5 → 5.0.71.48.0beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +45 -19
  3. data/CHANGELOG.md +14 -0
  4. data/README.md +30 -15
  5. data/Rakefile +7 -6
  6. data/ext/libv8/arch.rb +5 -4
  7. data/ext/libv8/builder.rb +25 -19
  8. data/ext/libv8/compiler.rb +6 -33
  9. data/ext/libv8/location.rb +7 -8
  10. data/lib/libv8/version.rb +1 -1
  11. data/libv8.gemspec +1 -1
  12. data/patches/build-standalone-static-library.patch +14 -0
  13. data/patches/disable-building-tests.patch +48 -10
  14. data/patches/fPIC-for-static.patch +3 -3
  15. data/release/x86-linux/Vagrantfile +8 -4
  16. data/release/x86_64-freebsd10/Vagrantfile +86 -0
  17. data/release/x86_64-linux/Vagrantfile +8 -4
  18. data/spec/compiler_spec.rb +5 -29
  19. data/spec/support/compiler_helpers.rb +2 -4
  20. data/vendor/depot_tools/.gitignore +15 -3
  21. data/vendor/depot_tools/OWNERS +2 -2
  22. data/vendor/depot_tools/PRESUBMIT.py +4 -2
  23. data/vendor/depot_tools/WATCHLISTS +6 -0
  24. data/vendor/depot_tools/apply_issue.py +70 -38
  25. data/vendor/depot_tools/bootstrap/win/README.md +66 -0
  26. data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +12 -0
  27. data/vendor/depot_tools/bootstrap/win/git.template.bat +5 -0
  28. data/vendor/depot_tools/bootstrap/win/profile.d.python.sh +20 -0
  29. data/vendor/depot_tools/bootstrap/win/win_tools.bat +96 -45
  30. data/vendor/depot_tools/breakpad.py +6 -141
  31. data/vendor/depot_tools/buildbucket.py +45 -31
  32. data/vendor/depot_tools/cbuildbot +1 -0
  33. data/vendor/depot_tools/checkout.py +2 -1
  34. data/vendor/depot_tools/chrome_set_ver +1 -0
  35. data/vendor/depot_tools/cit +8 -0
  36. data/vendor/depot_tools/cit.bat +11 -0
  37. data/vendor/depot_tools/cit.py +120 -0
  38. data/vendor/depot_tools/codereview.settings +0 -2
  39. data/vendor/depot_tools/commit_queue +1 -5
  40. data/vendor/depot_tools/commit_queue.bat +1 -4
  41. data/vendor/depot_tools/commit_queue.py +78 -29
  42. data/vendor/depot_tools/cpplint.py +22 -14
  43. data/vendor/depot_tools/cros +1 -0
  44. data/vendor/depot_tools/cros_sdk +1 -0
  45. data/vendor/depot_tools/depot-tools-auth.py +3 -3
  46. data/vendor/depot_tools/download_from_google_storage.py +101 -21
  47. data/vendor/depot_tools/drover.py +2 -3
  48. data/vendor/depot_tools/fetch.py +31 -27
  49. data/vendor/depot_tools/{recipes → fetch_configs}/android.py +4 -4
  50. data/vendor/depot_tools/fetch_configs/breakpad.py +45 -0
  51. data/vendor/depot_tools/{recipes → fetch_configs}/chromium.py +3 -3
  52. data/vendor/depot_tools/{recipes/recipe_util.py → fetch_configs/config_util.py} +3 -3
  53. data/vendor/depot_tools/fetch_configs/crashpad.py +41 -0
  54. data/vendor/depot_tools/{recipes → fetch_configs}/dart.py +3 -3
  55. data/vendor/depot_tools/{recipes/pdfium.py → fetch_configs/dartino.py} +14 -13
  56. data/vendor/depot_tools/{recipes → fetch_configs}/dartium.py +3 -3
  57. data/vendor/depot_tools/{recipes → fetch_configs}/depot_tools.py +3 -3
  58. data/vendor/depot_tools/fetch_configs/gyp.py +42 -0
  59. data/vendor/depot_tools/{recipes → fetch_configs}/infra.py +3 -3
  60. data/vendor/depot_tools/{recipes → fetch_configs}/infra_internal.py +3 -3
  61. data/vendor/depot_tools/{recipes → fetch_configs}/ios.py +4 -4
  62. data/vendor/depot_tools/{recipes → fetch_configs}/mojo.py +3 -3
  63. data/vendor/depot_tools/{recipes → fetch_configs}/nacl.py +3 -3
  64. data/vendor/depot_tools/{recipes → fetch_configs}/naclports.py +3 -3
  65. data/vendor/depot_tools/fetch_configs/pdfium.py +40 -0
  66. data/vendor/depot_tools/{recipes → fetch_configs}/skia.py +3 -3
  67. data/vendor/depot_tools/{recipes → fetch_configs}/skia_buildbot.py +3 -3
  68. data/vendor/depot_tools/fetch_configs/syzygy.py +41 -0
  69. data/vendor/depot_tools/{recipes → fetch_configs}/v8.py +3 -3
  70. data/vendor/depot_tools/{recipes → fetch_configs}/webrtc.py +3 -3
  71. data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_android.py +4 -4
  72. data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_ios.py +4 -4
  73. data/vendor/depot_tools/fix_encoding.py +6 -6
  74. data/vendor/depot_tools/gcl.py +11 -21
  75. data/vendor/depot_tools/gclient +10 -0
  76. data/vendor/depot_tools/gclient-new-workdir.py +7 -38
  77. data/vendor/depot_tools/gclient.bat +2 -2
  78. data/vendor/depot_tools/gclient.py +85 -65
  79. data/vendor/depot_tools/gclient_scm.py +83 -10
  80. data/vendor/depot_tools/gclient_utils.py +5 -1
  81. data/vendor/depot_tools/gerrit_util.py +243 -26
  82. data/vendor/depot_tools/git-auto-svn +1 -1
  83. data/vendor/depot_tools/git-cache +1 -1
  84. data/vendor/depot_tools/git-cherry-pick-upload +1 -1
  85. data/vendor/depot_tools/git-cl +1 -1
  86. data/vendor/depot_tools/git-drover +6 -0
  87. data/vendor/depot_tools/git-find-releases +6 -0
  88. data/vendor/depot_tools/git-footers +1 -1
  89. data/vendor/depot_tools/git-freeze +1 -1
  90. data/vendor/depot_tools/git-gs +1 -1
  91. data/vendor/depot_tools/git-hyper-blame +6 -0
  92. data/vendor/depot_tools/git-map +1 -1
  93. data/vendor/depot_tools/git-map-branches +1 -1
  94. data/vendor/depot_tools/git-mark-merge-base +1 -1
  95. data/vendor/depot_tools/git-nav-downstream +1 -1
  96. data/vendor/depot_tools/git-new-branch +1 -1
  97. data/vendor/depot_tools/git-number +1 -1
  98. data/vendor/depot_tools/git-rebase-update +1 -1
  99. data/vendor/depot_tools/git-rename-branch +1 -1
  100. data/vendor/depot_tools/git-reparent-branch +1 -1
  101. data/vendor/depot_tools/git-retry +1 -1
  102. data/vendor/depot_tools/git-squash-branch +1 -1
  103. data/vendor/depot_tools/git-thaw +1 -1
  104. data/vendor/depot_tools/git-try +1 -1
  105. data/vendor/depot_tools/git-upstream-diff +1 -1
  106. data/vendor/depot_tools/git_auto_svn.py +24 -6
  107. data/vendor/depot_tools/git_cache.py +74 -27
  108. data/vendor/depot_tools/git_cl.py +2118 -747
  109. data/vendor/depot_tools/git_common.py +100 -6
  110. data/vendor/depot_tools/git_dates.py +62 -0
  111. data/vendor/depot_tools/git_drover.py +424 -0
  112. data/vendor/depot_tools/git_find_releases.py +65 -0
  113. data/vendor/depot_tools/git_footers.py +42 -0
  114. data/vendor/depot_tools/git_hyper_blame.py +391 -0
  115. data/vendor/depot_tools/git_map_branches.py +8 -6
  116. data/vendor/depot_tools/git_new_branch.py +6 -1
  117. data/vendor/depot_tools/git_rebase_update.py +56 -16
  118. data/vendor/depot_tools/git_reparent_branch.py +13 -0
  119. data/vendor/depot_tools/git_try.py +0 -2
  120. data/vendor/depot_tools/gsutil.py +51 -20
  121. data/vendor/depot_tools/infra/config/OWNERS +3 -1
  122. data/vendor/depot_tools/infra/config/cq.cfg +7 -3
  123. data/vendor/depot_tools/infra/config/recipes.cfg +9 -0
  124. data/vendor/depot_tools/luci_hacks/README.md +35 -0
  125. data/vendor/depot_tools/{bootstrap/virtualenv/tests → luci_hacks}/__init__.py +0 -0
  126. data/vendor/depot_tools/luci_hacks/luci_recipe_run.isolate +12 -0
  127. data/vendor/depot_tools/luci_hacks/luci_recipe_run.py +81 -0
  128. data/vendor/depot_tools/luci_hacks/trigger_luci_job.py +128 -0
  129. data/vendor/depot_tools/man/html/depot_tools.html +9 -1
  130. data/vendor/depot_tools/man/html/depot_tools_tutorial.html +4 -4
  131. data/vendor/depot_tools/man/html/git-drover.html +191 -35
  132. data/vendor/depot_tools/man/html/git-hyper-blame.html +878 -0
  133. data/vendor/depot_tools/man/html/git-rebase-update.html +9 -4
  134. data/vendor/depot_tools/man/man1/git-drover.1 +189 -36
  135. data/vendor/depot_tools/man/man1/git-hyper-blame.1 +128 -0
  136. data/vendor/depot_tools/man/man1/git-rebase-update.1 +8 -6
  137. data/vendor/depot_tools/man/man7/depot_tools.7 +9 -4
  138. data/vendor/depot_tools/man/src/_git-hyper-blame_desc.helper.txt +1 -0
  139. data/vendor/depot_tools/man/src/common_demo_functions.sh +5 -0
  140. data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +1 -1
  141. data/vendor/depot_tools/man/src/git-drover.demo.1.sh +11 -16
  142. data/vendor/depot_tools/man/src/git-drover.demo.3.sh +27 -0
  143. data/vendor/depot_tools/man/src/git-drover.demo.4.sh +39 -0
  144. data/vendor/depot_tools/man/src/git-drover.txt +49 -3
  145. data/vendor/depot_tools/man/src/git-hyper-blame.demo.1.sh +3 -0
  146. data/vendor/depot_tools/man/src/git-hyper-blame.demo.2.sh +4 -0
  147. data/vendor/depot_tools/man/src/git-hyper-blame.demo.common.sh +57 -0
  148. data/vendor/depot_tools/man/src/git-hyper-blame.txt +85 -0
  149. data/vendor/depot_tools/man/src/git-rebase-update.txt +5 -1
  150. data/vendor/depot_tools/my_activity.py +6 -21
  151. data/vendor/depot_tools/ninja +2 -2
  152. data/vendor/depot_tools/ninja-linux32 +0 -0
  153. data/vendor/depot_tools/ninja-linux64 +0 -0
  154. data/vendor/depot_tools/ninja-mac +0 -0
  155. data/vendor/depot_tools/ninja.exe +0 -0
  156. data/vendor/depot_tools/presubmit_canned_checks.py +83 -69
  157. data/vendor/depot_tools/presubmit_support.py +126 -42
  158. data/vendor/depot_tools/pylint.py +5 -1
  159. data/vendor/depot_tools/python_runner.sh +55 -0
  160. data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +32 -0
  161. data/vendor/depot_tools/recipe_modules/bot_update/api.py +283 -0
  162. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +56 -0
  163. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +63 -0
  164. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +57 -0
  165. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +44 -0
  166. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/forced.json +57 -0
  167. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +44 -0
  168. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +44 -0
  169. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +43 -0
  170. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +43 -0
  171. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/svn_mode.json +59 -0
  172. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +58 -0
  173. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +60 -0
  174. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +58 -0
  175. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +60 -0
  176. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +81 -0
  177. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +81 -0
  178. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +49 -0
  179. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +61 -0
  180. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +51 -0
  181. data/vendor/depot_tools/recipe_modules/bot_update/example.py +172 -0
  182. data/vendor/depot_tools/{bootstrap/virtualenv/virtualenv_support → recipe_modules/bot_update/resources}/__init__.py +0 -0
  183. data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +1764 -0
  184. data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +86 -0
  185. data/vendor/depot_tools/recipe_modules/depot_tools/__init__.py +3 -0
  186. data/vendor/depot_tools/recipe_modules/depot_tools/api.py +27 -0
  187. data/vendor/depot_tools/recipe_modules/gclient/__init__.py +10 -0
  188. data/vendor/depot_tools/recipe_modules/gclient/api.py +378 -0
  189. data/vendor/depot_tools/recipe_modules/gclient/config.py +671 -0
  190. data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +172 -0
  191. data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +174 -0
  192. data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +185 -0
  193. data/vendor/depot_tools/recipe_modules/gclient/example.py +100 -0
  194. data/vendor/depot_tools/recipe_modules/gclient/test_api.py +37 -0
  195. data/vendor/depot_tools/recipe_modules/git/__init__.py +9 -0
  196. data/vendor/depot_tools/recipe_modules/git/api.py +377 -0
  197. data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +177 -0
  198. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +177 -0
  199. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +179 -0
  200. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +176 -0
  201. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +177 -0
  202. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +178 -0
  203. data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +153 -0
  204. data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +181 -0
  205. data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +199 -0
  206. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +250 -0
  207. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +181 -0
  208. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +182 -0
  209. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +102 -0
  210. data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +181 -0
  211. data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +186 -0
  212. data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +179 -0
  213. data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +179 -0
  214. data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +178 -0
  215. data/vendor/depot_tools/recipe_modules/git/example.py +147 -0
  216. data/vendor/depot_tools/recipe_modules/git/resources/git_setup.py +61 -0
  217. data/vendor/depot_tools/recipe_modules/git/test_api.py +18 -0
  218. data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
  219. data/vendor/depot_tools/recipe_modules/git_cl/api.py +25 -0
  220. data/vendor/depot_tools/recipe_modules/git_cl/config.py +22 -0
  221. data/vendor/depot_tools/recipe_modules/git_cl/example.expected/basic.json +66 -0
  222. data/vendor/depot_tools/recipe_modules/git_cl/example.py +41 -0
  223. data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +4 -0
  224. data/vendor/depot_tools/recipe_modules/infra_paths/api.py +12 -0
  225. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +14 -0
  226. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +14 -0
  227. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +14 -0
  228. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +14 -0
  229. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +14 -0
  230. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +14 -0
  231. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +14 -0
  232. data/vendor/depot_tools/recipe_modules/infra_paths/example.py +28 -0
  233. data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +45 -0
  234. data/vendor/depot_tools/recipe_modules/presubmit/__init__.py +4 -0
  235. data/vendor/depot_tools/recipe_modules/presubmit/api.py +20 -0
  236. data/vendor/depot_tools/recipe_modules/presubmit/example.expected/basic.json +18 -0
  237. data/vendor/depot_tools/recipe_modules/presubmit/example.py +15 -0
  238. data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
  239. data/vendor/depot_tools/recipe_modules/rietveld/api.py +94 -0
  240. data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +30 -0
  241. data/vendor/depot_tools/recipe_modules/rietveld/example.py +24 -0
  242. data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +15 -0
  243. data/vendor/depot_tools/recipe_modules/tryserver/api.py +280 -0
  244. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +104 -0
  245. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +58 -0
  246. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +58 -0
  247. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_svn_patch.json +68 -0
  248. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +43 -0
  249. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +43 -0
  250. data/vendor/depot_tools/recipe_modules/tryserver/example.py +53 -0
  251. data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +7 -0
  252. data/vendor/depot_tools/recipes.py +136 -0
  253. data/vendor/depot_tools/repo +1 -1
  254. data/vendor/depot_tools/rietveld.py +46 -15
  255. data/vendor/depot_tools/roll_dep.py +97 -36
  256. data/vendor/depot_tools/scm.py +3 -3
  257. data/vendor/depot_tools/setup_color.py +94 -0
  258. data/vendor/depot_tools/subprocess2.py +10 -1
  259. data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -1
  260. data/vendor/depot_tools/third_party/cq_client/README.md +47 -9
  261. data/vendor/depot_tools/third_party/cq_client/cq.pb.go +617 -0
  262. data/vendor/depot_tools/third_party/cq_client/cq.proto +75 -17
  263. data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +168 -41
  264. data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +55 -0
  265. data/vendor/depot_tools/third_party/cq_client/{test/cq_example.cfg → testdata/cq_rietveld.cfg} +14 -6
  266. data/vendor/depot_tools/third_party/fancy_urllib/README +5 -4
  267. data/vendor/depot_tools/third_party/fancy_urllib/__init__.py +114 -52
  268. data/vendor/depot_tools/third_party/protobuf26/README.chromium +9 -6
  269. data/vendor/depot_tools/third_party/upload.py +17 -31
  270. data/vendor/depot_tools/trychange.py +0 -2
  271. data/vendor/depot_tools/update_depot_tools +29 -11
  272. data/vendor/depot_tools/update_depot_tools.bat +4 -9
  273. data/vendor/depot_tools/upload_to_google_storage.py +42 -5
  274. data/vendor/depot_tools/win_toolchain/OWNERS +1 -0
  275. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +227 -52
  276. data/vendor/depot_tools/win_toolchain/package_from_installed.py +203 -88
  277. metadata +161 -81
  278. data/patches/arm/do-not-imply-vfp3-and-armv7.patch +0 -16
  279. data/patches/arm/do-not-use-vfp2.patch +0 -13
  280. data/patches/clang51/no-unused-variable.patch +0 -12
  281. data/vendor/depot_tools/bootstrap/.gitignore +0 -2
  282. data/vendor/depot_tools/bootstrap/bootstrap.py +0 -234
  283. data/vendor/depot_tools/bootstrap/deps.pyl +0 -15
  284. data/vendor/depot_tools/bootstrap/util.py +0 -87
  285. data/vendor/depot_tools/bootstrap/virtualenv/.gitignore +0 -10
  286. data/vendor/depot_tools/bootstrap/virtualenv/.travis.yml +0 -28
  287. data/vendor/depot_tools/bootstrap/virtualenv/AUTHORS.txt +0 -91
  288. data/vendor/depot_tools/bootstrap/virtualenv/CONTRIBUTING.rst +0 -21
  289. data/vendor/depot_tools/bootstrap/virtualenv/LICENSE.txt +0 -22
  290. data/vendor/depot_tools/bootstrap/virtualenv/MANIFEST.in +0 -11
  291. data/vendor/depot_tools/bootstrap/virtualenv/README.rst +0 -10
  292. data/vendor/depot_tools/bootstrap/virtualenv/bin/rebuild-script.py +0 -71
  293. data/vendor/depot_tools/bootstrap/virtualenv/docs/changes.rst +0 -747
  294. data/vendor/depot_tools/bootstrap/virtualenv/docs/conf.py +0 -149
  295. data/vendor/depot_tools/bootstrap/virtualenv/docs/development.rst +0 -61
  296. data/vendor/depot_tools/bootstrap/virtualenv/docs/index.rst +0 -137
  297. data/vendor/depot_tools/bootstrap/virtualenv/docs/installation.rst +0 -58
  298. data/vendor/depot_tools/bootstrap/virtualenv/docs/make.bat +0 -170
  299. data/vendor/depot_tools/bootstrap/virtualenv/docs/reference.rst +0 -256
  300. data/vendor/depot_tools/bootstrap/virtualenv/docs/userguide.rst +0 -249
  301. data/vendor/depot_tools/bootstrap/virtualenv/scripts/virtualenv +0 -3
  302. data/vendor/depot_tools/bootstrap/virtualenv/setup.py +0 -111
  303. data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate.sh +0 -94
  304. data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate_expected.output +0 -2
  305. data/vendor/depot_tools/bootstrap/virtualenv/tests/test_virtualenv.py +0 -139
  306. data/vendor/depot_tools/bootstrap/virtualenv/tests/tox.ini +0 -12
  307. data/vendor/depot_tools/bootstrap/virtualenv/tox.ini +0 -17
  308. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv.py +0 -2367
  309. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.bat +0 -26
  310. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.csh +0 -42
  311. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.fish +0 -74
  312. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.ps1 +0 -150
  313. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.sh +0 -80
  314. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate_this.py +0 -34
  315. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/deactivate.bat +0 -20
  316. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils-init.py +0 -101
  317. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils.cfg +0 -6
  318. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/site.py +0 -758
  319. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/pip-6.0-py2.py3-none-any.whl +0 -0
  320. data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/setuptools-8.2.1-py2.py3-none-any.whl +0 -0
  321. data/vendor/depot_tools/bootstrap/win/README.google +0 -16
  322. data/vendor/depot_tools/cbuildbot +0 -96
  323. data/vendor/depot_tools/chrome_set_ver +0 -96
  324. data/vendor/depot_tools/cros +0 -96
  325. data/vendor/depot_tools/cros_sdk +0 -96
  326. data/vendor/depot_tools/git-cl-upload-hook +0 -52
  327. data/vendor/depot_tools/git-crup +0 -45
  328. data/vendor/depot_tools/python_git_runner.sh +0 -36
  329. data/vendor/depot_tools/recipes/blink.py +0 -59
  330. data/vendor/depot_tools/third_party/cq_client/test/validate_config_test.py +0 -52
  331. data/vendor/depot_tools/third_party/cq_client/validate_config.py +0 -108
  332. data/vendor/depot_tools/win_toolchain/toolchain2013.py +0 -494
@@ -181,6 +181,14 @@ class Popen(subprocess.Popen):
181
181
  Note: Popen() can throw OSError when cwd or args[0] doesn't exist. Translate
182
182
  exceptions generated by cygwin when it fails trying to emulate fork().
183
183
  """
184
+ # subprocess.Popen.__init__() is not threadsafe; there is a race between
185
+ # creating the exec-error pipe for the child and setting it to CLOEXEC during
186
+ # which another thread can fork and cause the pipe to be inherited by its
187
+ # descendents, which will cause the current Popen to hang until all those
188
+ # descendents exit. Protect this with a lock so that only one fork/exec can
189
+ # happen at a time.
190
+ popen_lock = threading.Lock()
191
+
184
192
  def __init__(self, args, **kwargs):
185
193
  # Make sure we hack subprocess if necessary.
186
194
  hack_subprocess()
@@ -234,7 +242,8 @@ class Popen(subprocess.Popen):
234
242
  self.returncode = None
235
243
 
236
244
  try:
237
- super(Popen, self).__init__(args, **kwargs)
245
+ with self.popen_lock:
246
+ super(Popen, self).__init__(args, **kwargs)
238
247
  except OSError, e:
239
248
  if e.errno == errno.EAGAIN and sys.platform == 'cygwin':
240
249
  # Convert fork() emulation failure into a CygwinRebaseError().
@@ -1,4 +1,3 @@
1
- akuegel@chromium.org
2
1
  phajdan.jr@chromium.org
3
2
  sergiyb@chromium.org
4
3
  tandrii@chromium.org
@@ -1,17 +1,55 @@
1
+ # CQ Client Library.
2
+
1
3
  This directory contains CQ client library to be distributed to other repos. If
2
4
  you need to modify some files in this directory, please make sure that you are
3
5
  changing the canonical version of the source code and not one of the copies,
4
6
  which should only be updated as a whole using Glyco (when available, see
5
- http://crbug.com/489420).
7
+ [chromium issue 489420](http://crbug.com/489420)).
8
+
9
+ The canonical version is located at
10
+ [https://chrome-internal.googlesource.com/infra/infra_internal/+/master/commit_queue/cq_client]().
11
+
12
+ When modifying cq.proto, consider adding checks to validator in
13
+ [https://chrome-internal.googlesource.com/infra/infra_internal/+/master/appengine/commit_queue/src/commitqueue/validate.go]().
14
+
15
+
16
+ ## Generation of Python and Go bindings
17
+
18
+ ### tl;dr
19
+
20
+ make
21
+
22
+
23
+ ### Details
24
+
25
+ All commands below assume you are working in a standard infra_internal gclient
26
+ checkout (e.g., after you ran `mkdir src && cd src && fetch infra_internal`) and
27
+ are in current directory of this README.md (that is, in
28
+ `cd infra_internal/commit_queue/cq_client`).
29
+
30
+ To generate Python's `cq_pb2.py` you'll need to get and `protoc` of version
31
+ **2.6.1**. You can get it by `make py-prepare`.
32
+
33
+ make py
34
+
35
+ To generate Golang's protobuf file `cq.pb.go`, you'll need to bootstrap
36
+ infra/infra repository and go utilities `make go-prepare`.
37
+
38
+ make go
39
+
40
+ ## Notes
6
41
 
7
- The canonical version is located at `https://chrome-internal.googlesource.com/
8
- infra/infra_internal/+/master/commit_queue/cq_client`.
42
+ 1. Please make sure to use proto3-compatible yntax, e.g. no default
43
+ values, no required fields. As of this writing (Jan 2016),
44
+ the Go protobuf compiler has been upgraded to 3.0.0. So, if you can generate go
45
+ bindings, all is good.
9
46
 
10
- To generate `cq_pb2.py`, please use protoc version 2.6.1:
47
+ 2. If after generating Python binding, CQ tests fail with:
11
48
 
12
- cd commit_queue/cq_client
13
- protoc cq.proto --python_out $(pwd)
49
+ TypeError: __init__() got an unexpected keyword argument 'syntax'
14
50
 
15
- Additionally, please make sure to use proto3-compatible syntax, e.g. no default
16
- values, no required fields. Ideally, we should use proto3 generator already,
17
- however alpha version thereof is still unstable.
51
+ You've probably used 3.0.0 protoc generator. We should eventually switch to 3x
52
+ Python version as well, but it requires upgrading infra's Python ENV to newer
53
+ package. See [bootstrap/README.md](../../bootstrap/README.md) for more
54
+ information. We may end up deprecating Python before all infra's Python code
55
+ can be moved to protobuf v3.
@@ -0,0 +1,617 @@
1
+ // Code generated by protoc-gen-go.
2
+ // source: cq.proto
3
+ // DO NOT EDIT!
4
+
5
+ /*
6
+ Package cq is a generated protocol buffer package.
7
+
8
+ It is generated from these files:
9
+ cq.proto
10
+
11
+ It has these top-level messages:
12
+ Config
13
+ Rietveld
14
+ Gerrit
15
+ Verifiers
16
+ */
17
+ package cq
18
+
19
+ import proto "github.com/golang/protobuf/proto"
20
+ import fmt "fmt"
21
+ import math "math"
22
+
23
+ // Reference imports to suppress errors if they are not otherwise used.
24
+ var _ = proto.Marshal
25
+ var _ = fmt.Errorf
26
+ var _ = math.Inf
27
+
28
+ // This message describes a Commit Queue configuration. The config file cq.cfg
29
+ // should be stored in the config directory located on the branch that this CQ
30
+ // should commit to.
31
+ type Config struct {
32
+ // Required. Version of the config format.
33
+ Version *int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
34
+ // Required. Name of the CQ. May only contain characters [a-zA-Z0-9_]. It is
35
+ // used for various purposes, including, but not limited to match the project
36
+ // name for CLs on Rietveld, name of the project in the status app, internal
37
+ // name for logging etc. CQ name should not be confused with the project name
38
+ // in LUCI as there may be multiple CQs per project.
39
+ CqName *string `protobuf:"bytes,2,opt,name=cq_name" json:"cq_name,omitempty"`
40
+ // List of verifiers that verify if the CL is ready to be committed.
41
+ Verifiers *Verifiers `protobuf:"bytes,3,opt,name=verifiers" json:"verifiers,omitempty"`
42
+ // URL of the CQ status app to push updates to.
43
+ CqStatusUrl *string `protobuf:"bytes,4,opt,name=cq_status_url" json:"cq_status_url,omitempty"`
44
+ // When true, hash of the commit is not posted by CQ. This is used for
45
+ // projects using gnumbd as latter publishes actual hash later. Default value
46
+ // is false.
47
+ HideRefInCommittedMsg *bool `protobuf:"varint,5,opt,name=hide_ref_in_committed_msg" json:"hide_ref_in_committed_msg,omitempty"`
48
+ // Delay between commit bursts in seconds. Default value is 480.
49
+ CommitBurstDelay *int32 `protobuf:"varint,6,opt,name=commit_burst_delay" json:"commit_burst_delay,omitempty"`
50
+ // Maximum number of commits done sequentially, before waiting for
51
+ // commit_burst_delay. Default value is 4.
52
+ MaxCommitBurst *int32 `protobuf:"varint,7,opt,name=max_commit_burst" json:"max_commit_burst,omitempty"`
53
+ // Defines whether a CQ is used in production. Allows to disable CQ for a
54
+ // given branch. Default is true.
55
+ InProduction *bool `protobuf:"varint,8,opt,name=in_production" json:"in_production,omitempty"`
56
+ // Configuration options for Rietveld code review.
57
+ Rietveld *Rietveld `protobuf:"bytes,9,opt,name=rietveld" json:"rietveld,omitempty"`
58
+ // EXPERIMENTAL! Configuration options for Gerrit code review.
59
+ // TODO(tandrii): update this doc (GERRIT).
60
+ Gerrit *Gerrit `protobuf:"bytes,15,opt,name=gerrit" json:"gerrit,omitempty"`
61
+ // This can be used to override the Git repository URL used to checkout and
62
+ // commit changes on CQ host. This should only be used in case, when the
63
+ // source repository is not supported by luci-config (e.g. GitHub).
64
+ GitRepoUrl *string `protobuf:"bytes,10,opt,name=git_repo_url" json:"git_repo_url,omitempty"`
65
+ // Target ref to commit to. This can be used to specify a different ref than
66
+ // the one where the luci config is located. This is useful, e.g. for projects
67
+ // that use gnumbd where CQ should commit into a pending ref.
68
+ TargetRef *string `protobuf:"bytes,11,opt,name=target_ref" json:"target_ref,omitempty"`
69
+ // Deprecated. URL of the SVN repository. We are deprecating SVN support.
70
+ SvnRepoUrl *string `protobuf:"bytes,12,opt,name=svn_repo_url" json:"svn_repo_url,omitempty"`
71
+ // If present, the CQ will refrain from processing any commits whose start
72
+ // time is >= this time.
73
+ //
74
+ // This is an UTC RFC3339 (stiptime(tm)) string representing the time.
75
+ DrainingStartTime *string `protobuf:"bytes,13,opt,name=draining_start_time" json:"draining_start_time,omitempty"`
76
+ XXX_unrecognized []byte `json:"-"`
77
+ }
78
+
79
+ func (m *Config) Reset() { *m = Config{} }
80
+ func (m *Config) String() string { return proto.CompactTextString(m) }
81
+ func (*Config) ProtoMessage() {}
82
+ func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
83
+
84
+ func (m *Config) GetVersion() int32 {
85
+ if m != nil && m.Version != nil {
86
+ return *m.Version
87
+ }
88
+ return 0
89
+ }
90
+
91
+ func (m *Config) GetCqName() string {
92
+ if m != nil && m.CqName != nil {
93
+ return *m.CqName
94
+ }
95
+ return ""
96
+ }
97
+
98
+ func (m *Config) GetVerifiers() *Verifiers {
99
+ if m != nil {
100
+ return m.Verifiers
101
+ }
102
+ return nil
103
+ }
104
+
105
+ func (m *Config) GetCqStatusUrl() string {
106
+ if m != nil && m.CqStatusUrl != nil {
107
+ return *m.CqStatusUrl
108
+ }
109
+ return ""
110
+ }
111
+
112
+ func (m *Config) GetHideRefInCommittedMsg() bool {
113
+ if m != nil && m.HideRefInCommittedMsg != nil {
114
+ return *m.HideRefInCommittedMsg
115
+ }
116
+ return false
117
+ }
118
+
119
+ func (m *Config) GetCommitBurstDelay() int32 {
120
+ if m != nil && m.CommitBurstDelay != nil {
121
+ return *m.CommitBurstDelay
122
+ }
123
+ return 0
124
+ }
125
+
126
+ func (m *Config) GetMaxCommitBurst() int32 {
127
+ if m != nil && m.MaxCommitBurst != nil {
128
+ return *m.MaxCommitBurst
129
+ }
130
+ return 0
131
+ }
132
+
133
+ func (m *Config) GetInProduction() bool {
134
+ if m != nil && m.InProduction != nil {
135
+ return *m.InProduction
136
+ }
137
+ return false
138
+ }
139
+
140
+ func (m *Config) GetRietveld() *Rietveld {
141
+ if m != nil {
142
+ return m.Rietveld
143
+ }
144
+ return nil
145
+ }
146
+
147
+ func (m *Config) GetGerrit() *Gerrit {
148
+ if m != nil {
149
+ return m.Gerrit
150
+ }
151
+ return nil
152
+ }
153
+
154
+ func (m *Config) GetGitRepoUrl() string {
155
+ if m != nil && m.GitRepoUrl != nil {
156
+ return *m.GitRepoUrl
157
+ }
158
+ return ""
159
+ }
160
+
161
+ func (m *Config) GetTargetRef() string {
162
+ if m != nil && m.TargetRef != nil {
163
+ return *m.TargetRef
164
+ }
165
+ return ""
166
+ }
167
+
168
+ func (m *Config) GetSvnRepoUrl() string {
169
+ if m != nil && m.SvnRepoUrl != nil {
170
+ return *m.SvnRepoUrl
171
+ }
172
+ return ""
173
+ }
174
+
175
+ func (m *Config) GetDrainingStartTime() string {
176
+ if m != nil && m.DrainingStartTime != nil {
177
+ return *m.DrainingStartTime
178
+ }
179
+ return ""
180
+ }
181
+
182
+ type Rietveld struct {
183
+ // Required. URL of the codereview site.
184
+ Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
185
+ // List of regular expressions used to check if CL's base URL should be
186
+ // processed by this CQ. This may be useful if a single branch has multiple
187
+ // sub-directories that are handled by different CQs. When no regular
188
+ // expressions are specified, the regular expression '.*', which matches any
189
+ // directory, is used.
190
+ ProjectBases []string `protobuf:"bytes,2,rep,name=project_bases" json:"project_bases,omitempty"`
191
+ XXX_unrecognized []byte `json:"-"`
192
+ }
193
+
194
+ func (m *Rietveld) Reset() { *m = Rietveld{} }
195
+ func (m *Rietveld) String() string { return proto.CompactTextString(m) }
196
+ func (*Rietveld) ProtoMessage() {}
197
+ func (*Rietveld) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
198
+
199
+ func (m *Rietveld) GetUrl() string {
200
+ if m != nil && m.Url != nil {
201
+ return *m.Url
202
+ }
203
+ return ""
204
+ }
205
+
206
+ func (m *Rietveld) GetProjectBases() []string {
207
+ if m != nil {
208
+ return m.ProjectBases
209
+ }
210
+ return nil
211
+ }
212
+
213
+ // Gerrit CQ is EXPERIMENTAL! See http://crbug.com/493899 for more info.
214
+ //
215
+ // Unlike Rietveld, Gerrit doesn't need a separate url.
216
+ // Instead, the git_repo_url must be specified on the Gerrit instance,
217
+ // and CQ will deduce Gerrit url from it.
218
+ //
219
+ // TODO(tandrii): support Rietveld and Gerrit at the same time.
220
+ // This basically requires to start two CQ instances, instead of one.
221
+ //
222
+ // For example, if https://chromium.googlesource.com/infra/infra.git is your
223
+ // repo url provided in `git_repo_url` above, then
224
+ // https://chromium-review.googlesource.com/#/admin/projects/infra/infra should
225
+ // show general properties of your project.
226
+ //
227
+ // Also,
228
+ // https://chromium-review.googlesource.com/#/admin/projects/infra/infra,access
229
+ // should show ACLs for refs in your project, but you may need to be admin to
230
+ // see it. This will come handy to enable and customize the CQ-related workflows
231
+ // for your project.
232
+ type Gerrit struct {
233
+ // Optional. If set, tells CQ vote on a given label to mark result of CQ run.
234
+ // The vote is either -1 if failed or 1 on success, and will be given on
235
+ // non-dry runs only.
236
+ // This vote can then be used in Gerrit's rule for submitting issues, so as to
237
+ // require CQ run. CQ will attempt to submit issue only after setting this
238
+ // label.
239
+ CqVerifiedLabel *string `protobuf:"bytes,1,opt,name=cq_verified_label" json:"cq_verified_label,omitempty"`
240
+ XXX_unrecognized []byte `json:"-"`
241
+ }
242
+
243
+ func (m *Gerrit) Reset() { *m = Gerrit{} }
244
+ func (m *Gerrit) String() string { return proto.CompactTextString(m) }
245
+ func (*Gerrit) ProtoMessage() {}
246
+ func (*Gerrit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
247
+
248
+ func (m *Gerrit) GetCqVerifiedLabel() string {
249
+ if m != nil && m.CqVerifiedLabel != nil {
250
+ return *m.CqVerifiedLabel
251
+ }
252
+ return ""
253
+ }
254
+
255
+ // Verifiers are various types of checks that a Commit Queue performs on a CL.
256
+ // All verifiers must pass in order for a CL to be landed. Configuration file
257
+ // describes types of verifiers that should be applied to each CL and their
258
+ // parameters.
259
+ type Verifiers struct {
260
+ // This verifier is used to ensure that an LGTM was posted to the code review
261
+ // site from a valid project committer.
262
+ // This verifier is not supported with Gerrit.
263
+ ReviewerLgtm *Verifiers_ReviewerLgtmVerifier `protobuf:"bytes,1,opt,name=reviewer_lgtm" json:"reviewer_lgtm,omitempty"`
264
+ // This verifier is used to check tree status before committing a CL. If the
265
+ // tree is closed, then the verifier will wait until it is reopened.
266
+ TreeStatus *Verifiers_TreeStatusLgtmVerifier `protobuf:"bytes,2,opt,name=tree_status" json:"tree_status,omitempty"`
267
+ // This verifier triggers a set of tryjobs that are to be run on builders on
268
+ // Buildbot. It automatically retries failed try-jobs and only allows CL to
269
+ // land if each builder has succeeded in the latest retry. If a given tryjob
270
+ // result is too old (>1 day) it is ignored.
271
+ TryJob *Verifiers_TryJobVerifier `protobuf:"bytes,3,opt,name=try_job" json:"try_job,omitempty"`
272
+ // This verifier is used to ensure that the author has signed Google's
273
+ // Contributor License Agreement.
274
+ SignCla *Verifiers_SignCLAVerifier `protobuf:"bytes,4,opt,name=sign_cla" json:"sign_cla,omitempty"`
275
+ XXX_unrecognized []byte `json:"-"`
276
+ }
277
+
278
+ func (m *Verifiers) Reset() { *m = Verifiers{} }
279
+ func (m *Verifiers) String() string { return proto.CompactTextString(m) }
280
+ func (*Verifiers) ProtoMessage() {}
281
+ func (*Verifiers) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
282
+
283
+ func (m *Verifiers) GetReviewerLgtm() *Verifiers_ReviewerLgtmVerifier {
284
+ if m != nil {
285
+ return m.ReviewerLgtm
286
+ }
287
+ return nil
288
+ }
289
+
290
+ func (m *Verifiers) GetTreeStatus() *Verifiers_TreeStatusLgtmVerifier {
291
+ if m != nil {
292
+ return m.TreeStatus
293
+ }
294
+ return nil
295
+ }
296
+
297
+ func (m *Verifiers) GetTryJob() *Verifiers_TryJobVerifier {
298
+ if m != nil {
299
+ return m.TryJob
300
+ }
301
+ return nil
302
+ }
303
+
304
+ func (m *Verifiers) GetSignCla() *Verifiers_SignCLAVerifier {
305
+ if m != nil {
306
+ return m.SignCla
307
+ }
308
+ return nil
309
+ }
310
+
311
+ type Verifiers_ReviewerLgtmVerifier struct {
312
+ // Required. Name of the chrome-infra-auth group, which contains the list of
313
+ // identities authorized to approve (lgtm) a CL and trigger CQ run or dry
314
+ // run.
315
+ CommitterList *string `protobuf:"bytes,1,opt,name=committer_list" json:"committer_list,omitempty"`
316
+ // Number of seconds to wait for LGTM on CQ. Default value is 0.
317
+ MaxWaitSecs *int32 `protobuf:"varint,2,opt,name=max_wait_secs" json:"max_wait_secs,omitempty"`
318
+ // Message to be posted to code review site when no LGTM is found. Default
319
+ // value is "No LGTM from a valid reviewer yet. Only full committers are "
320
+ // "accepted.\nEven if an LGTM may have been provided, it was from a "
321
+ // "non-committer,\n_not_ a full super star committer.\nSee "
322
+ // "http://www.chromium.org/getting-involved/become-a-committer\nNote that "
323
+ // "this has nothing to do with OWNERS files."
324
+ NoLgtmMsg *string `protobuf:"bytes,3,opt,name=no_lgtm_msg" json:"no_lgtm_msg,omitempty"`
325
+ // Optional, but recommended. Name of the chrome-infra-auth group,
326
+ // which contains the list of identities authorized to trigger CQ dry run.
327
+ // This is usually the same group as tryjob-access.
328
+ DryRunAccessList *string `protobuf:"bytes,4,opt,name=dry_run_access_list" json:"dry_run_access_list,omitempty"`
329
+ XXX_unrecognized []byte `json:"-"`
330
+ }
331
+
332
+ func (m *Verifiers_ReviewerLgtmVerifier) Reset() { *m = Verifiers_ReviewerLgtmVerifier{} }
333
+ func (m *Verifiers_ReviewerLgtmVerifier) String() string { return proto.CompactTextString(m) }
334
+ func (*Verifiers_ReviewerLgtmVerifier) ProtoMessage() {}
335
+ func (*Verifiers_ReviewerLgtmVerifier) Descriptor() ([]byte, []int) {
336
+ return fileDescriptor0, []int{3, 0}
337
+ }
338
+
339
+ func (m *Verifiers_ReviewerLgtmVerifier) GetCommitterList() string {
340
+ if m != nil && m.CommitterList != nil {
341
+ return *m.CommitterList
342
+ }
343
+ return ""
344
+ }
345
+
346
+ func (m *Verifiers_ReviewerLgtmVerifier) GetMaxWaitSecs() int32 {
347
+ if m != nil && m.MaxWaitSecs != nil {
348
+ return *m.MaxWaitSecs
349
+ }
350
+ return 0
351
+ }
352
+
353
+ func (m *Verifiers_ReviewerLgtmVerifier) GetNoLgtmMsg() string {
354
+ if m != nil && m.NoLgtmMsg != nil {
355
+ return *m.NoLgtmMsg
356
+ }
357
+ return ""
358
+ }
359
+
360
+ func (m *Verifiers_ReviewerLgtmVerifier) GetDryRunAccessList() string {
361
+ if m != nil && m.DryRunAccessList != nil {
362
+ return *m.DryRunAccessList
363
+ }
364
+ return ""
365
+ }
366
+
367
+ type Verifiers_TreeStatusLgtmVerifier struct {
368
+ // Required. URL of the project tree status app.
369
+ TreeStatusUrl *string `protobuf:"bytes,1,opt,name=tree_status_url" json:"tree_status_url,omitempty"`
370
+ XXX_unrecognized []byte `json:"-"`
371
+ }
372
+
373
+ func (m *Verifiers_TreeStatusLgtmVerifier) Reset() { *m = Verifiers_TreeStatusLgtmVerifier{} }
374
+ func (m *Verifiers_TreeStatusLgtmVerifier) String() string { return proto.CompactTextString(m) }
375
+ func (*Verifiers_TreeStatusLgtmVerifier) ProtoMessage() {}
376
+ func (*Verifiers_TreeStatusLgtmVerifier) Descriptor() ([]byte, []int) {
377
+ return fileDescriptor0, []int{3, 1}
378
+ }
379
+
380
+ func (m *Verifiers_TreeStatusLgtmVerifier) GetTreeStatusUrl() string {
381
+ if m != nil && m.TreeStatusUrl != nil {
382
+ return *m.TreeStatusUrl
383
+ }
384
+ return ""
385
+ }
386
+
387
+ type Verifiers_TryJobVerifier struct {
388
+ // Buckets on which tryjobs are triggered/watched.
389
+ Buckets []*Verifiers_TryJobVerifier_Bucket `protobuf:"bytes,1,rep,name=buckets" json:"buckets,omitempty"`
390
+ // Provides project specific trybot retry configuration. This overrides the
391
+ // defaults used in the CQ.
392
+ TryJobRetryConfig *Verifiers_TryJobVerifier_TryJobRetryConfig `protobuf:"bytes,2,opt,name=try_job_retry_config" json:"try_job_retry_config,omitempty"`
393
+ XXX_unrecognized []byte `json:"-"`
394
+ }
395
+
396
+ func (m *Verifiers_TryJobVerifier) Reset() { *m = Verifiers_TryJobVerifier{} }
397
+ func (m *Verifiers_TryJobVerifier) String() string { return proto.CompactTextString(m) }
398
+ func (*Verifiers_TryJobVerifier) ProtoMessage() {}
399
+ func (*Verifiers_TryJobVerifier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3, 2} }
400
+
401
+ func (m *Verifiers_TryJobVerifier) GetBuckets() []*Verifiers_TryJobVerifier_Bucket {
402
+ if m != nil {
403
+ return m.Buckets
404
+ }
405
+ return nil
406
+ }
407
+
408
+ func (m *Verifiers_TryJobVerifier) GetTryJobRetryConfig() *Verifiers_TryJobVerifier_TryJobRetryConfig {
409
+ if m != nil {
410
+ return m.TryJobRetryConfig
411
+ }
412
+ return nil
413
+ }
414
+
415
+ type Verifiers_TryJobVerifier_Builder struct {
416
+ // Name of the builder.
417
+ Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
418
+ // Optionally specify a builder name that triggers the given builder.
419
+ // Otherwise, CQ will trigger this builder (default). If in doubt, you
420
+ // probably won't need this.
421
+ TriggeredBy *string `protobuf:"bytes,2,opt,name=triggered_by" json:"triggered_by,omitempty"`
422
+ // When this field is present, it marks given builder as experimental. It
423
+ // is only executed on a given percentage of the CLs and the outcome does
424
+ // not affect the decicion whether a CL can land or not. This is typically
425
+ // used to test new builders and estimate their capacity requirements.
426
+ ExperimentPercentage *float32 `protobuf:"fixed32,4,opt,name=experiment_percentage" json:"experiment_percentage,omitempty"`
427
+ XXX_unrecognized []byte `json:"-"`
428
+ }
429
+
430
+ func (m *Verifiers_TryJobVerifier_Builder) Reset() { *m = Verifiers_TryJobVerifier_Builder{} }
431
+ func (m *Verifiers_TryJobVerifier_Builder) String() string { return proto.CompactTextString(m) }
432
+ func (*Verifiers_TryJobVerifier_Builder) ProtoMessage() {}
433
+ func (*Verifiers_TryJobVerifier_Builder) Descriptor() ([]byte, []int) {
434
+ return fileDescriptor0, []int{3, 2, 0}
435
+ }
436
+
437
+ func (m *Verifiers_TryJobVerifier_Builder) GetName() string {
438
+ if m != nil && m.Name != nil {
439
+ return *m.Name
440
+ }
441
+ return ""
442
+ }
443
+
444
+ func (m *Verifiers_TryJobVerifier_Builder) GetTriggeredBy() string {
445
+ if m != nil && m.TriggeredBy != nil {
446
+ return *m.TriggeredBy
447
+ }
448
+ return ""
449
+ }
450
+
451
+ func (m *Verifiers_TryJobVerifier_Builder) GetExperimentPercentage() float32 {
452
+ if m != nil && m.ExperimentPercentage != nil {
453
+ return *m.ExperimentPercentage
454
+ }
455
+ return 0
456
+ }
457
+
458
+ type Verifiers_TryJobVerifier_Bucket struct {
459
+ // Name of the bucket. This is typically the same as a master name without
460
+ // the 'master.' prefix, e.g. 'chromium.linux' or 'tryserver.webrtc'. CQ
461
+ // will automatically add 'master.' prefix if not there.
462
+ Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
463
+ // Builders on which tryjobs should be triggered.
464
+ Builders []*Verifiers_TryJobVerifier_Builder `protobuf:"bytes,2,rep,name=builders" json:"builders,omitempty"`
465
+ XXX_unrecognized []byte `json:"-"`
466
+ }
467
+
468
+ func (m *Verifiers_TryJobVerifier_Bucket) Reset() { *m = Verifiers_TryJobVerifier_Bucket{} }
469
+ func (m *Verifiers_TryJobVerifier_Bucket) String() string { return proto.CompactTextString(m) }
470
+ func (*Verifiers_TryJobVerifier_Bucket) ProtoMessage() {}
471
+ func (*Verifiers_TryJobVerifier_Bucket) Descriptor() ([]byte, []int) {
472
+ return fileDescriptor0, []int{3, 2, 1}
473
+ }
474
+
475
+ func (m *Verifiers_TryJobVerifier_Bucket) GetName() string {
476
+ if m != nil && m.Name != nil {
477
+ return *m.Name
478
+ }
479
+ return ""
480
+ }
481
+
482
+ func (m *Verifiers_TryJobVerifier_Bucket) GetBuilders() []*Verifiers_TryJobVerifier_Builder {
483
+ if m != nil {
484
+ return m.Builders
485
+ }
486
+ return nil
487
+ }
488
+
489
+ type Verifiers_TryJobVerifier_TryJobRetryConfig struct {
490
+ // Retry quota for a single tryjob.
491
+ TryJobRetryQuota *int32 `protobuf:"varint,1,opt,name=try_job_retry_quota" json:"try_job_retry_quota,omitempty"`
492
+ // Retry quota for all tryjobs in a CL.
493
+ GlobalRetryQuota *int32 `protobuf:"varint,2,opt,name=global_retry_quota" json:"global_retry_quota,omitempty"`
494
+ // The weight assigned to each tryjob failure.
495
+ FailureRetryWeight *int32 `protobuf:"varint,3,opt,name=failure_retry_weight" json:"failure_retry_weight,omitempty"`
496
+ // The weight assigned to each transient failure.
497
+ TransientFailureRetryWeight *int32 `protobuf:"varint,4,opt,name=transient_failure_retry_weight" json:"transient_failure_retry_weight,omitempty"`
498
+ // The weight assigned to tryjob timeouts.
499
+ TimeoutRetryWeight *int32 `protobuf:"varint,5,opt,name=timeout_retry_weight" json:"timeout_retry_weight,omitempty"`
500
+ XXX_unrecognized []byte `json:"-"`
501
+ }
502
+
503
+ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) Reset() {
504
+ *m = Verifiers_TryJobVerifier_TryJobRetryConfig{}
505
+ }
506
+ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) String() string {
507
+ return proto.CompactTextString(m)
508
+ }
509
+ func (*Verifiers_TryJobVerifier_TryJobRetryConfig) ProtoMessage() {}
510
+ func (*Verifiers_TryJobVerifier_TryJobRetryConfig) Descriptor() ([]byte, []int) {
511
+ return fileDescriptor0, []int{3, 2, 2}
512
+ }
513
+
514
+ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) GetTryJobRetryQuota() int32 {
515
+ if m != nil && m.TryJobRetryQuota != nil {
516
+ return *m.TryJobRetryQuota
517
+ }
518
+ return 0
519
+ }
520
+
521
+ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) GetGlobalRetryQuota() int32 {
522
+ if m != nil && m.GlobalRetryQuota != nil {
523
+ return *m.GlobalRetryQuota
524
+ }
525
+ return 0
526
+ }
527
+
528
+ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) GetFailureRetryWeight() int32 {
529
+ if m != nil && m.FailureRetryWeight != nil {
530
+ return *m.FailureRetryWeight
531
+ }
532
+ return 0
533
+ }
534
+
535
+ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) GetTransientFailureRetryWeight() int32 {
536
+ if m != nil && m.TransientFailureRetryWeight != nil {
537
+ return *m.TransientFailureRetryWeight
538
+ }
539
+ return 0
540
+ }
541
+
542
+ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) GetTimeoutRetryWeight() int32 {
543
+ if m != nil && m.TimeoutRetryWeight != nil {
544
+ return *m.TimeoutRetryWeight
545
+ }
546
+ return 0
547
+ }
548
+
549
+ type Verifiers_SignCLAVerifier struct {
550
+ XXX_unrecognized []byte `json:"-"`
551
+ }
552
+
553
+ func (m *Verifiers_SignCLAVerifier) Reset() { *m = Verifiers_SignCLAVerifier{} }
554
+ func (m *Verifiers_SignCLAVerifier) String() string { return proto.CompactTextString(m) }
555
+ func (*Verifiers_SignCLAVerifier) ProtoMessage() {}
556
+ func (*Verifiers_SignCLAVerifier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3, 3} }
557
+
558
+ func init() {
559
+ proto.RegisterType((*Config)(nil), "Config")
560
+ proto.RegisterType((*Rietveld)(nil), "Rietveld")
561
+ proto.RegisterType((*Gerrit)(nil), "Gerrit")
562
+ proto.RegisterType((*Verifiers)(nil), "Verifiers")
563
+ proto.RegisterType((*Verifiers_ReviewerLgtmVerifier)(nil), "Verifiers.ReviewerLgtmVerifier")
564
+ proto.RegisterType((*Verifiers_TreeStatusLgtmVerifier)(nil), "Verifiers.TreeStatusLgtmVerifier")
565
+ proto.RegisterType((*Verifiers_TryJobVerifier)(nil), "Verifiers.TryJobVerifier")
566
+ proto.RegisterType((*Verifiers_TryJobVerifier_Builder)(nil), "Verifiers.TryJobVerifier.Builder")
567
+ proto.RegisterType((*Verifiers_TryJobVerifier_Bucket)(nil), "Verifiers.TryJobVerifier.Bucket")
568
+ proto.RegisterType((*Verifiers_TryJobVerifier_TryJobRetryConfig)(nil), "Verifiers.TryJobVerifier.TryJobRetryConfig")
569
+ proto.RegisterType((*Verifiers_SignCLAVerifier)(nil), "Verifiers.SignCLAVerifier")
570
+ }
571
+
572
+ var fileDescriptor0 = []byte{
573
+ // 687 bytes of a gzipped FileDescriptorProto
574
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x54, 0xdd, 0x4e, 0xdb, 0x4c,
575
+ 0x10, 0x55, 0x08, 0x49, 0x9c, 0x31, 0x90, 0x0f, 0x13, 0xc0, 0x98, 0xaf, 0x2d, 0x50, 0xa9, 0xaa,
576
+ 0xda, 0xca, 0x12, 0xa9, 0xd4, 0xfb, 0xc2, 0x45, 0xd5, 0x96, 0x2b, 0xa8, 0x7a, 0xbb, 0x5a, 0xdb,
577
+ 0x13, 0xb3, 0xd4, 0x3f, 0xb0, 0xbb, 0x4e, 0xc8, 0x5b, 0xf5, 0x81, 0x7a, 0xd7, 0x47, 0xe8, 0x0b,
578
+ 0x74, 0xbc, 0x76, 0x7e, 0x4b, 0xae, 0x6c, 0xcf, 0x39, 0x33, 0x9e, 0x39, 0x73, 0x76, 0xc1, 0x0a,
579
+ 0x1f, 0xfc, 0x7b, 0x99, 0xeb, 0xfc, 0xec, 0xf7, 0x06, 0xb4, 0x2f, 0xf3, 0x6c, 0x28, 0x62, 0xa7,
580
+ 0x07, 0x9d, 0x11, 0x4a, 0x25, 0xf2, 0xcc, 0x6d, 0x9c, 0x34, 0x5e, 0xb7, 0xca, 0x40, 0xf8, 0xc0,
581
+ 0x32, 0x9e, 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