libv8 5.7.492.65.1 → 5.9.211.38.0beta0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (297) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +8 -2
  4. data/CHANGELOG.md +4 -0
  5. data/README.md +4 -3
  6. data/Rakefile +27 -10
  7. data/ext/libv8/builder.rb +4 -0
  8. data/lib/libv8/version.rb +1 -1
  9. data/libv8.gemspec +1 -1
  10. data/patches/0001-Build-a-standalone-static-library.patch +5 -5
  11. data/patches/0002-Don-t-compile-unnecessary-stuff.patch +20 -24
  12. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +5 -5
  13. data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +5 -5
  14. data/patches/0005-Fix-GCC-7-build-errors.patch +147 -0
  15. data/scaleway.png +0 -0
  16. data/vendor/depot_tools/.gitattributes +52 -0
  17. data/vendor/depot_tools/.gitignore +10 -0
  18. data/vendor/depot_tools/README.md +7 -3
  19. data/vendor/depot_tools/apply_issue.bat +4 -3
  20. data/vendor/depot_tools/apply_issue.py +0 -10
  21. data/vendor/depot_tools/autoninja +12 -0
  22. data/vendor/depot_tools/autoninja.bat +9 -0
  23. data/vendor/depot_tools/autoninja.py +70 -0
  24. data/vendor/depot_tools/bootstrap/win/README.md +108 -26
  25. data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +3 -3
  26. data/vendor/depot_tools/bootstrap/win/git.template.bat +2 -2
  27. data/vendor/depot_tools/bootstrap/win/manifest.txt +18 -0
  28. data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +18 -0
  29. data/vendor/depot_tools/bootstrap/win/python27.new.bat +49 -0
  30. data/vendor/depot_tools/bootstrap/win/win_tools.bat +55 -59
  31. data/vendor/depot_tools/bootstrap/win/win_tools.py +335 -0
  32. data/vendor/depot_tools/cipd +16 -2
  33. data/vendor/depot_tools/cipd.bat +20 -2
  34. data/vendor/depot_tools/cipd.ps1 +36 -22
  35. data/vendor/depot_tools/cipd_bin_setup.bat +6 -0
  36. data/vendor/depot_tools/cipd_bin_setup.sh +10 -0
  37. data/vendor/depot_tools/cipd_client_version +1 -1
  38. data/vendor/depot_tools/cipd_manifest.txt +9 -0
  39. data/vendor/depot_tools/cit.bat +12 -11
  40. data/vendor/depot_tools/clang-format.bat +4 -3
  41. data/vendor/depot_tools/clang_format_merge_driver.bat +12 -11
  42. data/vendor/depot_tools/commit_queue.bat +4 -3
  43. data/vendor/depot_tools/cpplint.bat +9 -3
  44. data/vendor/depot_tools/cpplint.py +3 -3
  45. data/vendor/depot_tools/depot-tools-auth.bat +4 -3
  46. data/vendor/depot_tools/download_from_google_storage.bat +5 -3
  47. data/vendor/depot_tools/download_from_google_storage.py +6 -1
  48. data/vendor/depot_tools/fetch.bat +5 -4
  49. data/vendor/depot_tools/fetch.py +4 -5
  50. data/vendor/depot_tools/gclient-new-workdir.py +82 -46
  51. data/vendor/depot_tools/gclient.bat +5 -4
  52. data/vendor/depot_tools/gclient.py +713 -319
  53. data/vendor/depot_tools/gclient_eval.py +284 -0
  54. data/vendor/depot_tools/gclient_utils.py +70 -4
  55. data/vendor/depot_tools/gerrit_client.py +26 -1
  56. data/vendor/depot_tools/gerrit_util.py +120 -127
  57. data/vendor/depot_tools/git-crrev-parse +1 -0
  58. data/vendor/depot_tools/git-gs +1 -1
  59. data/vendor/depot_tools/git_cl.py +731 -415
  60. data/vendor/depot_tools/git_common.py +23 -3
  61. data/vendor/depot_tools/git_drover.py +10 -1
  62. data/vendor/depot_tools/git_footers.py +62 -22
  63. data/vendor/depot_tools/git_hyper_blame.py +3 -2
  64. data/vendor/depot_tools/git_map.py +30 -3
  65. data/vendor/depot_tools/git_map_branches.py +18 -4
  66. data/vendor/depot_tools/git_number.py +8 -2
  67. data/vendor/depot_tools/git_retry.py +21 -0
  68. data/vendor/depot_tools/gn.bat +4 -3
  69. data/vendor/depot_tools/infra/config/cq.cfg +1 -5
  70. data/vendor/depot_tools/infra/config/recipes.cfg +18 -16
  71. data/vendor/depot_tools/led +12 -0
  72. data/vendor/depot_tools/led.bat +7 -0
  73. data/vendor/depot_tools/man/html/git-cl.html +9 -1
  74. data/vendor/depot_tools/man/html/git-drover.html +22 -18
  75. data/vendor/depot_tools/man/man1/git-cl.1 +8 -3
  76. data/vendor/depot_tools/man/man1/git-drover.1 +22 -20
  77. data/vendor/depot_tools/man/src/git-cl.txt +3 -0
  78. data/vendor/depot_tools/man/src/git-drover.txt +8 -0
  79. data/vendor/depot_tools/my_activity.py +8 -5
  80. data/vendor/depot_tools/owners.py +103 -11
  81. data/vendor/depot_tools/owners_finder.py +14 -2
  82. data/vendor/depot_tools/presubmit_canned_checks.py +25 -67
  83. data/vendor/depot_tools/presubmit_support.py +87 -35
  84. data/vendor/depot_tools/recipes/OWNERS +2 -0
  85. data/vendor/depot_tools/recipes/README.recipes.md +842 -0
  86. data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +5 -3
  87. data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +181 -60
  88. data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.expected → examples/full.expected}/apply_gerrit_ref.json +4 -2
  89. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic.json +82 -0
  90. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_with_branch_heads.json +149 -0
  91. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/buildbot.json +82 -0
  92. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/clobber.json +149 -0
  93. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +122 -0
  94. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_rebase_patch_ref.json +149 -0
  95. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_reset.json +149 -0
  96. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_shallow.json +149 -0
  97. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/reset_root_solution_revision.json +148 -0
  98. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange.json +150 -0
  99. data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.expected → examples/full.expected}/trychange_oauth2.json +0 -0
  100. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_buildbot.json +152 -0
  101. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json.json +150 -0
  102. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +150 -0
  103. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +156 -0
  104. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +91 -0
  105. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +118 -0
  106. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +118 -0
  107. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle.json +202 -0
  108. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +158 -0
  109. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_feature_branch.json +196 -0
  110. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8.json +202 -0
  111. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8_feature_branch.json +202 -0
  112. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +162 -0
  113. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +162 -0
  114. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_tags.json +149 -0
  115. data/vendor/depot_tools/recipes/recipe_modules/bot_update/{example.py → examples/full.py} +46 -8
  116. data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +139 -133
  117. data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +25 -13
  118. data/vendor/depot_tools/recipes/recipe_modules/cipd/api.py +40 -9
  119. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/basic.json +0 -0
  120. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/basic_pkg.json +1 -1
  121. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/describe-failed.json +0 -0
  122. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/describe-many-instances.json +0 -0
  123. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/mac64.json +0 -0
  124. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_file.json +1 -1
  125. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_mode.json +0 -0
  126. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/pkg_bad_verfile.json +0 -0
  127. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.expected → examples/full.expected}/win64.json +0 -0
  128. data/vendor/depot_tools/recipes/recipe_modules/cipd/{example.py → examples/full.py} +1 -0
  129. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk arch.json +7 -0
  130. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/junk bits.json +7 -0
  131. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_32.json +14 -0
  132. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_arm_64.json +14 -0
  133. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_32.json +14 -0
  134. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_intel_64.json +14 -0
  135. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/linux_mips_64.json +14 -0
  136. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/mac_intel_64.json +14 -0
  137. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_32.json +14 -0
  138. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.expected/win_intel_64.json +14 -0
  139. data/vendor/depot_tools/recipes/recipe_modules/cipd/examples/platform_suffix.py +59 -0
  140. data/vendor/depot_tools/recipes/recipe_modules/depot_tools/api.py +5 -0
  141. data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.expected → examples/full.expected}/basic.json +7 -0
  142. data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.expected → examples/full.expected}/win.json +7 -0
  143. data/vendor/depot_tools/recipes/recipe_modules/depot_tools/{example.py → examples/full.py} +2 -0
  144. data/vendor/depot_tools/recipes/recipe_modules/gclient/__init__.py +1 -4
  145. data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +28 -14
  146. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +10 -235
  147. data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/basic.json +9 -9
  148. data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/buildbot.json +9 -9
  149. data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/revision.json +9 -9
  150. data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.expected → examples/full.expected}/tryserver.json +9 -9
  151. data/vendor/depot_tools/recipes/recipe_modules/gclient/{example.py → examples/full.py} +5 -21
  152. data/vendor/depot_tools/recipes/recipe_modules/gclient/tests/patch_project.py +45 -0
  153. data/vendor/depot_tools/recipes/recipe_modules/gerrit/__init__.py +1 -0
  154. data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +97 -2
  155. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +283 -0
  156. data/vendor/depot_tools/recipes/recipe_modules/gerrit/{example.py → examples/full.py} +31 -2
  157. data/vendor/depot_tools/recipes/recipe_modules/gerrit/test_api.py +30 -1
  158. data/vendor/depot_tools/recipes/recipe_modules/git/__init__.py +1 -4
  159. data/vendor/depot_tools/recipes/recipe_modules/git/api.py +7 -35
  160. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic.json +3 -3
  161. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_branch.json +3 -3
  162. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_file_name.json +3 -3
  163. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_hash.json +3 -3
  164. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_ref.json +3 -3
  165. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/basic_submodule_update_force.json +3 -3
  166. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/can_fail_build.json +1 -1
  167. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/cannot_fail_build.json +3 -3
  168. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/cat-file_test.json +3 -3
  169. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_delta.json +3 -3
  170. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_failed.json +3 -3
  171. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_with_bad_output.json +3 -3
  172. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/count-objects_with_bad_output_fails_build.json +1 -1
  173. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/curl_trace_file.json +3 -3
  174. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/git-cache-checkout.json +6 -6
  175. data/vendor/depot_tools/recipes/recipe_modules/git/examples/full.expected/platform_win.json +223 -0
  176. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/rebase_failed.json +3 -3
  177. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/remote_not_origin.json +3 -3
  178. data/vendor/depot_tools/recipes/recipe_modules/git/{example.expected → examples/full.expected}/set_got_revision.json +3 -3
  179. data/vendor/depot_tools/recipes/recipe_modules/git/{example.py → examples/full.py} +2 -1
  180. data/vendor/depot_tools/recipes/recipe_modules/git/resources/git_setup.py +12 -21
  181. data/vendor/depot_tools/recipes/recipe_modules/git_cl/__init__.py +1 -4
  182. data/vendor/depot_tools/recipes/recipe_modules/git_cl/api.py +13 -11
  183. data/vendor/depot_tools/recipes/recipe_modules/git_cl/{example.expected → examples/full.expected}/basic.json +0 -0
  184. data/vendor/depot_tools/recipes/recipe_modules/git_cl/{example.py → examples/full.py} +4 -2
  185. data/vendor/depot_tools/recipes/recipe_modules/gitiles/OWNERS +3 -0
  186. data/vendor/depot_tools/recipes/recipe_modules/gitiles/__init__.py +7 -0
  187. data/vendor/depot_tools/recipes/recipe_modules/gitiles/api.py +135 -0
  188. data/vendor/depot_tools/recipes/recipe_modules/gitiles/examples/full.expected/basic.json +537 -0
  189. data/vendor/depot_tools/recipes/recipe_modules/gitiles/examples/full.py +61 -0
  190. data/vendor/depot_tools/recipes/recipe_modules/gitiles/resources/gerrit_client.py +192 -0
  191. data/vendor/depot_tools/recipes/recipe_modules/gitiles/test_api.py +95 -0
  192. data/vendor/depot_tools/recipes/recipe_modules/gsutil/{example.expected → examples/full.expected}/basic.json +0 -0
  193. data/vendor/depot_tools/recipes/recipe_modules/gsutil/{example.py → examples/full.py} +0 -0
  194. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/__init__.py +0 -3
  195. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/basic.json +3 -2
  196. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_linux.json +3 -2
  197. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_mac.json +3 -2
  198. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_buildbot_win.json +3 -2
  199. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_generic_linux.json +3 -2
  200. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.expected → examples/full.expected}/paths_generic_mac.json +3 -2
  201. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_generic_win.json +16 -0
  202. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_linux.json +16 -0
  203. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_mac.json +16 -0
  204. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/examples/full.expected/paths_kitchen_win.json +16 -0
  205. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/{example.py → examples/full.py} +2 -1
  206. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/path_config.py +12 -3
  207. data/vendor/depot_tools/recipes/recipe_modules/presubmit/__init__.py +1 -0
  208. data/vendor/depot_tools/recipes/recipe_modules/presubmit/api.py +2 -2
  209. data/vendor/depot_tools/recipes/recipe_modules/presubmit/{example.expected → examples/full.expected}/basic.json +1 -1
  210. data/vendor/depot_tools/recipes/recipe_modules/presubmit/{example.py → examples/full.py} +0 -0
  211. data/vendor/depot_tools/recipes/recipe_modules/rietveld/__init__.py +0 -4
  212. data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.expected → examples/full.expected}/basic.json +0 -0
  213. data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.expected → examples/full.expected}/buildbot.json +0 -0
  214. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/no_auth.json +27 -0
  215. data/vendor/depot_tools/recipes/recipe_modules/rietveld/{example.py → examples/full.py} +9 -1
  216. data/vendor/depot_tools/recipes/recipe_modules/tryserver/__init__.py +3 -5
  217. data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +21 -96
  218. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/basic_tags.json +0 -0
  219. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/set_failure_hash_with_no_steps.json +0 -0
  220. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_gerrit_patch.json +56 -0
  221. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected/with_gerrit_patch_deprecated.json → examples/full.expected/with_git_patch.json} +2 -2
  222. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected/with_gerrit_patch.json → examples/full.expected/with_git_patch_luci.json} +2 -2
  223. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_rietveld_patch.json +0 -20
  224. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_rietveld_patch_new.json +0 -20
  225. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_wrong_patch.json +1 -13
  226. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.expected → examples/full.expected}/with_wrong_patch_new.json +1 -13
  227. data/vendor/depot_tools/recipes/recipe_modules/tryserver/{example.py → examples/full.py} +3 -17
  228. data/vendor/depot_tools/recipes/recipes.py +141 -96
  229. data/vendor/depot_tools/rietveld.py +8 -1
  230. data/vendor/depot_tools/roll-dep-svn.bat +12 -10
  231. data/vendor/depot_tools/roll-dep.bat +5 -3
  232. data/vendor/depot_tools/scm.py +8 -1
  233. data/vendor/depot_tools/setup_color.py +0 -0
  234. data/vendor/depot_tools/split_cl.py +193 -0
  235. data/vendor/depot_tools/third_party/schema/.editorconfig +15 -0
  236. data/vendor/depot_tools/third_party/schema/.gitignore +174 -0
  237. data/vendor/depot_tools/third_party/schema/.travis.yml +37 -0
  238. data/vendor/depot_tools/third_party/schema/LICENSE-MIT +19 -0
  239. data/vendor/depot_tools/third_party/schema/MANIFEST.in +1 -0
  240. data/vendor/depot_tools/third_party/schema/README.chromium +12 -0
  241. data/vendor/depot_tools/third_party/schema/README.rst +382 -0
  242. data/vendor/depot_tools/third_party/schema/__init__.py +1 -0
  243. data/vendor/depot_tools/third_party/schema/schema.py +338 -0
  244. data/vendor/depot_tools/third_party/schema/setup.cfg +5 -0
  245. data/vendor/depot_tools/third_party/schema/setup.py +30 -0
  246. data/vendor/depot_tools/third_party/schema/test_schema.py +556 -0
  247. data/vendor/depot_tools/third_party/schema/tox.ini +33 -0
  248. data/vendor/depot_tools/third_party/upload.py +4 -0
  249. data/vendor/depot_tools/update_depot_tools +4 -16
  250. data/vendor/depot_tools/update_depot_tools.bat +4 -17
  251. data/vendor/depot_tools/update_depot_tools_toggle.py +38 -0
  252. data/vendor/depot_tools/vpython +12 -0
  253. data/vendor/depot_tools/vpython.bat +7 -0
  254. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +17 -5
  255. data/vendor/depot_tools/win_toolchain/package_from_installed.py +63 -33
  256. metadata +161 -113
  257. data/vendor/depot_tools/bootstrap/gclient.bat +0 -22
  258. data/vendor/depot_tools/bootstrap/win/get_file.js +0 -119
  259. data/vendor/depot_tools/bootstrap/win/git_bootstrap.py +0 -193
  260. data/vendor/depot_tools/bootstrap/win/git_version.txt +0 -1
  261. data/vendor/depot_tools/bootstrap/win/git_version_bleeding_edge.txt +0 -1
  262. data/vendor/depot_tools/bootstrap/win/python276.new.bat +0 -8
  263. data/vendor/depot_tools/bootstrap/win/svn.new.bat +0 -4
  264. data/vendor/depot_tools/bootstrap/win/svnversion.new.bat +0 -4
  265. data/vendor/depot_tools/bootstrap/win/unzip.js +0 -91
  266. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic.json +0 -53
  267. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic_output_manifest.json +0 -60
  268. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +0 -54
  269. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/buildbot.json +0 -53
  270. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/clobber.json +0 -54
  271. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json +0 -54
  272. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +0 -54
  273. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/no_shallow.json +0 -54
  274. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +0 -53
  275. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange.json +0 -55
  276. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json +0 -57
  277. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json +0 -55
  278. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +0 -55
  279. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob.json +0 -59
  280. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail.json +0 -62
  281. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +0 -83
  282. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +0 -84
  283. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +0 -60
  284. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json +0 -60
  285. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_v8.json +0 -62
  286. data/vendor/depot_tools/recipes/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +0 -62
  287. data/vendor/depot_tools/recipes/recipe_modules/gclient/bundle_extra_paths.txt +0 -4
  288. data/vendor/depot_tools/recipes/recipe_modules/gerrit/example.expected/basic.json +0 -66
  289. data/vendor/depot_tools/recipes/recipe_modules/git/bundle_extra_paths.txt +0 -28
  290. data/vendor/depot_tools/recipes/recipe_modules/git/example.expected/platform_win.json +0 -237
  291. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_generic_win.json +0 -15
  292. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +0 -15
  293. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +0 -15
  294. data/vendor/depot_tools/recipes/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +0 -15
  295. data/vendor/depot_tools/recipes/recipe_modules/presubmit/bundle_extra_paths.txt +0 -30
  296. data/vendor/depot_tools/recipes/recipe_modules/tryserver/example.expected/with_git_patch.json +0 -109
  297. data/vendor/depot_tools/recipes/recipe_modules/tryserver/example.expected/with_git_patch_luci.json +0 -8
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "cwd": "[START_DIR]/src",
24
24
  "env": {
25
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
25
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
26
26
  },
27
27
  "infra_step": true,
28
28
  "name": "git fetch"
@@ -173,7 +173,7 @@
173
173
  ],
174
174
  "cwd": "[START_DIR]/src",
175
175
  "env": {
176
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
176
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
177
177
  },
178
178
  "infra_step": true,
179
179
  "name": "git new-branch refactor"
@@ -188,7 +188,7 @@
188
188
  ],
189
189
  "cwd": "[START_DIR]/src",
190
190
  "env": {
191
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
191
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
192
192
  },
193
193
  "infra_step": true,
194
194
  "name": "git new-branch feature"
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "cwd": "[START_DIR]/src",
26
26
  "env": {
27
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
27
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
28
28
  },
29
29
  "infra_step": true,
30
30
  "name": "git fetch"
@@ -175,7 +175,7 @@
175
175
  ],
176
176
  "cwd": "[START_DIR]/src",
177
177
  "env": {
178
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
178
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
179
179
  },
180
180
  "infra_step": true,
181
181
  "name": "git new-branch refactor"
@@ -190,7 +190,7 @@
190
190
  ],
191
191
  "cwd": "[START_DIR]/src",
192
192
  "env": {
193
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
193
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
194
194
  },
195
195
  "infra_step": true,
196
196
  "name": "git new-branch feature"
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "cwd": "[START_DIR]/src",
24
24
  "env": {
25
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
25
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
26
26
  },
27
27
  "infra_step": true,
28
28
  "name": "git fetch"
@@ -174,7 +174,7 @@
174
174
  ],
175
175
  "cwd": "[START_DIR]/src",
176
176
  "env": {
177
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
177
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
178
178
  },
179
179
  "infra_step": true,
180
180
  "name": "git new-branch refactor"
@@ -189,7 +189,7 @@
189
189
  ],
190
190
  "cwd": "[START_DIR]/src",
191
191
  "env": {
192
- "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
192
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
193
193
  },
194
194
  "infra_step": true,
195
195
  "name": "git new-branch feature"
@@ -4,6 +4,7 @@
4
4
 
5
5
  DEPS = [
6
6
  'git',
7
+ 'recipe_engine/context',
7
8
  'recipe_engine/path',
8
9
  'recipe_engine/platform',
9
10
  'recipe_engine/properties',
@@ -59,7 +60,7 @@ def RunSteps(api):
59
60
 
60
61
  # If you need to run more arbitrary git commands, you can use api.git itself,
61
62
  # which behaves like api.step(), but automatically sets the name of the step.
62
- with api.step.context({'cwd': api.path['checkout']}):
63
+ with api.context(cwd=api.path['checkout']):
63
64
  api.git('status')
64
65
 
65
66
  api.git('status', name='git status can_fail_build',
@@ -6,23 +6,21 @@
6
6
  """This script ensures that a given directory is an initialized git repo."""
7
7
 
8
8
  import argparse
9
- import logging
10
9
  import os
11
10
  import subprocess
12
11
  import sys
13
12
 
13
+ # Import "git_common" from "depot_tools" root.
14
+ DEPOT_TOOLS_ROOT = os.path.abspath(os.path.join(
15
+ os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, os.pardir))
16
+ sys.path.insert(0, DEPOT_TOOLS_ROOT)
17
+ import git_common
14
18
 
15
- def run_git(git_cmd, *args, **kwargs):
16
- """Runs git with given arguments.
17
19
 
18
- kwargs are passed through to subprocess.
19
-
20
- If the kwarg 'throw' is provided, this behaves as check_call, otherwise will
21
- return git's return value.
22
- """
23
- logging.info('Running: %s %s %s', git_cmd, args, kwargs)
24
- func = subprocess.check_call if kwargs.pop('throw', True) else subprocess.call
25
- return func((git_cmd,)+args, **kwargs)
20
+ def run_git(*cmd, **kwargs):
21
+ kwargs['stdout'] = sys.stdout
22
+ kwargs['stderr'] = sys.stderr
23
+ git_common.run(*cmd, **kwargs)
26
24
 
27
25
 
28
26
  def main():
@@ -31,29 +29,22 @@ def main():
31
29
  required=True)
32
30
  parser.add_argument('--url', help='URL of remote to make origin.',
33
31
  required=True)
34
- parser.add_argument('--git_cmd_path',
35
- help='Path to the git command to run.',
36
- default='git')
37
32
  parser.add_argument('--remote', help='Name of the git remote.',
38
33
  default='origin')
39
- parser.add_argument('-v', '--verbose', action='store_true')
40
34
  opts = parser.parse_args()
41
35
 
42
36
  path = opts.path
43
37
  remote = opts.remote
44
38
  url = opts.url
45
39
 
46
- logging.getLogger().setLevel(logging.DEBUG if opts.verbose else logging.WARN)
47
-
48
40
  if not os.path.exists(path):
49
41
  os.makedirs(path)
50
42
 
51
43
  if os.path.exists(os.path.join(path, '.git')):
52
- run_git(opts.git_cmd_path, 'config', '--remove-section',
53
- 'remote.%s' % remote, cwd=path)
44
+ run_git('config', '--remove-section', 'remote.%s' % remote, cwd=path)
54
45
  else:
55
- run_git(opts.git_cmd_path, 'init', cwd=path)
56
- run_git(opts.git_cmd_path, 'remote', 'add', remote, url, cwd=path)
46
+ run_git('init', cwd=path)
47
+ run_git('remote', 'add', remote, url, cwd=path)
57
48
  return 0
58
49
 
59
50
 
@@ -1,8 +1,5 @@
1
1
  DEPS = [
2
+ 'recipe_engine/context',
2
3
  'recipe_engine/raw_io',
3
4
  'recipe_engine/step',
4
5
  ]
5
-
6
-
7
- # TODO(phajdan.jr): provide coverage (http://crbug.com/693058).
8
- DISABLE_STRICT_COVERAGE = True
@@ -14,27 +14,29 @@ class GitClApi(recipe_api.RecipeApi):
14
14
  if kwargs.get('suffix'):
15
15
  name = name + ' (%s)' % kwargs.pop('suffix')
16
16
 
17
- with self.m.step.context({
18
- 'cwd': self.m.step.get_from_context(
19
- 'cwd', (self.c and self.c.repo_location) or None)}):
17
+ my_loc = self.c.repo_location if self.c else None
18
+ with self.m.context(cwd=self.m.context.cwd or my_loc):
20
19
  return self.m.step(
21
20
  name, [self.package_repo_resource('git_cl.py'), subcmd] + args,
22
21
  **kwargs)
23
22
 
24
- def get_description(self, patch=None, codereview=None, **kwargs):
23
+ def get_description(self, patch_url=None, codereview=None, **kwargs):
24
+ """DEPRECATED. Consider using gerrit.get_change_description instead."""
25
25
  args = ['-d']
26
- if patch or codereview:
27
- assert patch and codereview, "Both patch and codereview must be provided"
26
+ if patch_url or codereview:
27
+ assert patch_url and codereview, (
28
+ 'Both patch_url and codereview must be provided')
28
29
  args.append('--%s' % codereview)
29
- args.append(patch)
30
+ args.append(patch_url)
30
31
 
31
32
  return self('description', args, stdout=self.m.raw_io.output(), **kwargs)
32
33
 
33
- def set_description(self, description, patch=None, codereview=None, **kwargs):
34
+ def set_description(self, description, patch_url=None, codereview=None, **kwargs):
34
35
  args = ['-n', '-']
35
- if patch or codereview:
36
- assert patch and codereview, "Both patch and codereview must be provided"
37
- args.append(patch)
36
+ if patch_url or codereview:
37
+ assert patch_url and codereview, (
38
+ 'Both patch_url and codereview must be provided')
39
+ args.append(patch_url)
38
40
  args.append('--%s' % codereview)
39
41
 
40
42
  return self(
@@ -18,9 +18,11 @@ def RunSteps(api):
18
18
  api.git_cl.upload("Do the thing foobar\nNow with emoji: 😄")
19
19
  api.git_cl.issue()
20
20
  result = api.git_cl.get_description(
21
- patch='https://code.review/123', codereview='rietveld', suffix='build')
21
+ patch_url='https://code.review/123',
22
+ codereview='rietveld',
23
+ suffix='build')
22
24
  api.git_cl.set_description(
23
- 'bammmm', patch='https://code.review/123', codereview='rietveld')
25
+ 'bammmm', patch_url='https://code.review/123', codereview='rietveld')
24
26
  api.step('echo', ['echo', result.stdout])
25
27
 
26
28
  api.git_cl.set_config('basic')
@@ -0,0 +1,3 @@
1
+ dnj@chromium.org
2
+ smut@google.com
3
+ tandrii@chromium.org
@@ -0,0 +1,7 @@
1
+ DEPS = [
2
+ 'recipe_engine/json',
3
+ 'recipe_engine/path',
4
+ 'recipe_engine/python',
5
+ 'recipe_engine/raw_io',
6
+ 'recipe_engine/url',
7
+ ]
@@ -0,0 +1,135 @@
1
+ # Copyright 2014 The Chromium Authors. All rights reserved.
2
+ # Use of this source code is governed by a BSD-style license that can be
3
+ # found in the LICENSE file.
4
+
5
+ import base64
6
+
7
+ from recipe_engine import recipe_api
8
+
9
+
10
+ class Gitiles(recipe_api.RecipeApi):
11
+ """Module for polling a git repository using the Gitiles web interface."""
12
+
13
+ def _fetch(self, url, step_name, fmt, attempts=None, add_json_log=True,
14
+ log_limit=None, log_start=None, **kwargs):
15
+ """Fetches information from Gitiles.
16
+
17
+ Arguments:
18
+ log_limit: for log URLs, limit number of results. None implies 1 page,
19
+ as returned by Gitiles.
20
+ log_start: for log URLs, the start cursor for paging.
21
+ add_json_log: if True, will spill out json into log.
22
+ """
23
+ assert fmt in ('json', 'text')
24
+ args = [
25
+ '--json-file', self.m.json.output(add_json_log=add_json_log),
26
+ '--url', url,
27
+ '--format', fmt,
28
+ ]
29
+ if attempts:
30
+ args.extend(['--attempts', attempts])
31
+ if log_limit is not None:
32
+ args.extend(['--log-limit', log_limit])
33
+ if log_start is not None:
34
+ args.extend(['--log-start', log_start])
35
+ a = self.m.python(
36
+ step_name, self.resource('gerrit_client.py'), args, **kwargs)
37
+ return a
38
+
39
+ def refs(self, url, step_name='refs', attempts=None):
40
+ """Returns a list of refs in the remote repository."""
41
+ step_result = self._fetch(
42
+ self.m.url.join(url, '+refs'),
43
+ step_name,
44
+ fmt='json',
45
+ attempts=attempts)
46
+
47
+ refs = sorted(str(ref) for ref in step_result.json.output)
48
+ step_result.presentation.logs['refs'] = refs
49
+ return refs
50
+
51
+ def log(self, url, ref, limit=0, cursor=None,
52
+ step_name=None, attempts=None, **kwargs):
53
+ """Returns the most recent commits under the given ref with properties.
54
+
55
+ Args:
56
+ url (str): URL of the remote repository.
57
+ ref (str): Name of the desired ref (see Gitiles.refs).
58
+ limit (int): Number of commits to limit the fetching to.
59
+ Gitiles does not return all commits in one call; instead paging is
60
+ used. 0 implies to return whatever first gerrit responds with.
61
+ Otherwise, paging will be used to fetch at least this many
62
+ commits, but all fetched commits will be returned.
63
+ cursor (str or None): The paging cursor used to fetch the next page.
64
+ step_name (str): Custom name for this step (optional).
65
+
66
+ Returns:
67
+ A tuple of (commits, cursor).
68
+ Commits are a list of commits (as Gitiles dict structure) in reverse
69
+ chronological order. The number of commits may be higher than limit
70
+ argument.
71
+ Cursor can be used for subsequent calls to log for paging. If None,
72
+ signals that there are no more commits to fetch.
73
+ """
74
+ assert limit >= 0
75
+ step_name = step_name or 'gitiles log: %s%s' % (
76
+ ref, ' from %s' % cursor if cursor else '')
77
+
78
+ step_result = self._fetch(
79
+ self.m.url.join(url, '+log/%s' % ref),
80
+ step_name,
81
+ log_limit=limit,
82
+ log_start=cursor,
83
+ attempts=attempts,
84
+ fmt='json',
85
+ add_json_log=True,
86
+ **kwargs)
87
+
88
+ # The output is formatted as a JSON dict with a "log" key. The "log" key
89
+ # is a list of commit dicts, which contain information about the commit.
90
+ commits = step_result.json.output['log']
91
+ cursor = step_result.json.output.get('next')
92
+
93
+ step_result.presentation.step_text = (
94
+ '<br />%d commits fetched' % len(commits))
95
+ return commits, cursor
96
+
97
+ def commit_log(self, url, commit, step_name=None, attempts=None):
98
+ """Returns: (dict) the Gitiles commit log structure for a given commit.
99
+
100
+ Args:
101
+ url (str): The base repository URL.
102
+ commit (str): The commit hash.
103
+ step_name (str): If not None, override the step name.
104
+ attempts (int): Number of times to try the request before failing.
105
+ """
106
+ step_name = step_name or 'commit log: %s' % commit
107
+
108
+ commit_url = '%s/+/%s' % (url, commit)
109
+ step_result = self._fetch(commit_url, step_name, attempts=attempts,
110
+ fmt='json')
111
+ return step_result.json.output
112
+
113
+ def download_file(self, repository_url, file_path, branch='master',
114
+ step_name=None, attempts=None, **kwargs):
115
+ """Downloads raw file content from a Gitiles repository.
116
+
117
+ Args:
118
+ repository_url (str): Full URL to the repository.
119
+ branch (str): Branch of the repository.
120
+ file_path (str): Relative path to the file from the repository root.
121
+ step_name (str): Custom name for this step (optional).
122
+ attempts (int): Number of times to try the request before failing.
123
+
124
+ Returns:
125
+ Raw file content.
126
+ """
127
+ fetch_url = self.m.url.join(repository_url, '+/%s/%s' % (branch, file_path))
128
+ step_result = self._fetch(
129
+ fetch_url,
130
+ step_name or 'fetch %s:%s' % (branch, file_path,),
131
+ attempts=attempts,
132
+ fmt='text',
133
+ add_json_log=False,
134
+ **kwargs)
135
+ return base64.b64decode(step_result.json.output['value'])
@@ -0,0 +1,537 @@
1
+ [
2
+ {
3
+ "cmd": [
4
+ "python",
5
+ "-u",
6
+ "RECIPE_MODULE[depot_tools::gitiles]/resources/gerrit_client.py",
7
+ "--json-file",
8
+ "/path/to/tmp/json",
9
+ "--url",
10
+ "https://chromium.googlesource.com/chromium/src/+refs",
11
+ "--format",
12
+ "json"
13
+ ],
14
+ "name": "refs",
15
+ "~followup_annotations": [
16
+ "@@@STEP_LOG_LINE@json.output@{@@@",
17
+ "@@@STEP_LOG_LINE@json.output@ \"HEAD\": null, @@@",
18
+ "@@@STEP_LOG_LINE@json.output@ \"refs/heads/A\": null, @@@",
19
+ "@@@STEP_LOG_LINE@json.output@ \"refs/tags/B\": null@@@",
20
+ "@@@STEP_LOG_LINE@json.output@}@@@",
21
+ "@@@STEP_LOG_END@json.output@@@",
22
+ "@@@STEP_LOG_LINE@refs@HEAD@@@",
23
+ "@@@STEP_LOG_LINE@refs@refs/heads/A@@@",
24
+ "@@@STEP_LOG_LINE@refs@refs/tags/B@@@",
25
+ "@@@STEP_LOG_END@refs@@@"
26
+ ]
27
+ },
28
+ {
29
+ "cmd": [
30
+ "python",
31
+ "-u",
32
+ "RECIPE_MODULE[depot_tools::gitiles]/resources/gerrit_client.py",
33
+ "--json-file",
34
+ "/path/to/tmp/json",
35
+ "--url",
36
+ "https://chromium.googlesource.com/chromium/src/+log/HEAD",
37
+ "--format",
38
+ "json",
39
+ "--log-limit",
40
+ "0"
41
+ ],
42
+ "name": "gitiles log: HEAD",
43
+ "~followup_annotations": [
44
+ "@@@STEP_TEXT@<br />3 commits fetched@@@",
45
+ "@@@STEP_LOG_LINE@json.output@{@@@",
46
+ "@@@STEP_LOG_LINE@json.output@ \"log\": [@@@",
47
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
48
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
49
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_0.email.com\", @@@",
50
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
51
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
52
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
53
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"ef70cb069518e6dc3ff24bfae7f195de5099c377\", @@@",
54
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
55
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_0.email.com\", @@@",
56
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
57
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
58
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
59
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake HEAD msg 0\", @@@",
60
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
61
+ "@@@STEP_LOG_LINE@json.output@ \"3a19413ba702c51ea545b2332119fc70ce04fc31\"@@@",
62
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
63
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"6f8e56bc2da2832c2842646f1c934b62bf7a4455\", @@@",
64
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
65
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
66
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"d2e2c5e403b94bb2cc3926758bc013d44c87e0f7\", @@@",
67
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
68
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"a.py\", @@@",
69
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
70
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
71
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
72
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
73
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
74
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
75
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
76
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
77
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_1.email.com\", @@@",
78
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
79
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
80
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
81
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"cfeb6aa9cff926a75a9afcc651e9e4857d378db8\", @@@",
82
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
83
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_1.email.com\", @@@",
84
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
85
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
86
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
87
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake HEAD msg 1\", @@@",
88
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
89
+ "@@@STEP_LOG_LINE@json.output@ \"9a5e076f2d84aac38715645214dad5dba6bda7e7\"@@@",
90
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
91
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"408c7d029783405d4fce80117d6e3e0c0e2f6dc2\", @@@",
92
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
93
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
94
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"c701ac6a56ba7c86a4d482719e8ff568a9233437\", @@@",
95
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
96
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"b.py\", @@@",
97
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
98
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
99
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
100
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
101
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
102
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
103
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
104
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
105
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_2.email.com\", @@@",
106
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
107
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
108
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
109
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"711ec6fe0c3dcdde2e03b7a50ecd2dd0836118ee\", @@@",
110
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
111
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_2.email.com\", @@@",
112
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
113
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
114
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
115
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake HEAD msg 2\", @@@",
116
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
117
+ "@@@STEP_LOG_LINE@json.output@ \"4e7cd3662473db1e96a9d3ed603aa7029359c990\"@@@",
118
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
119
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"7b9f8612f4303728c04d4ae0dd94c51ceda9ef08\", @@@",
120
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
121
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
122
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"efafa334b60c589f1cdbdfbdec1347f7f40231cd\", @@@",
123
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
124
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"c.py\", @@@",
125
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
126
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
127
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
128
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
129
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
130
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
131
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
132
+ "@@@STEP_LOG_LINE@json.output@ \"next\": \"deadbeaf\"@@@",
133
+ "@@@STEP_LOG_LINE@json.output@}@@@",
134
+ "@@@STEP_LOG_END@json.output@@@"
135
+ ]
136
+ },
137
+ {
138
+ "cmd": [
139
+ "python",
140
+ "-u",
141
+ "RECIPE_MODULE[depot_tools::gitiles]/resources/gerrit_client.py",
142
+ "--json-file",
143
+ "/path/to/tmp/json",
144
+ "--url",
145
+ "https://chromium.googlesource.com/chromium/src/+log/HEAD",
146
+ "--format",
147
+ "json",
148
+ "--log-limit",
149
+ "10",
150
+ "--log-start",
151
+ "deadbeaf"
152
+ ],
153
+ "name": "gitiles log: HEAD from deadbeaf",
154
+ "~followup_annotations": [
155
+ "@@@STEP_TEXT@<br />3 commits fetched@@@",
156
+ "@@@STEP_LOG_LINE@json.output@{@@@",
157
+ "@@@STEP_LOG_LINE@json.output@ \"log\": [@@@",
158
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
159
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
160
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_0.email.com\", @@@",
161
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
162
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
163
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
164
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"ef70cb069518e6dc3ff24bfae7f195de5099c377\", @@@",
165
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
166
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_0.email.com\", @@@",
167
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
168
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
169
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
170
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake HEAD msg 0\", @@@",
171
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
172
+ "@@@STEP_LOG_LINE@json.output@ \"3a19413ba702c51ea545b2332119fc70ce04fc31\"@@@",
173
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
174
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"6f8e56bc2da2832c2842646f1c934b62bf7a4455\", @@@",
175
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
176
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
177
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"d2e2c5e403b94bb2cc3926758bc013d44c87e0f7\", @@@",
178
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
179
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"a.py\", @@@",
180
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
181
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
182
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
183
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
184
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
185
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
186
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
187
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
188
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_1.email.com\", @@@",
189
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
190
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
191
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
192
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"cfeb6aa9cff926a75a9afcc651e9e4857d378db8\", @@@",
193
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
194
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_1.email.com\", @@@",
195
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
196
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
197
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
198
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake HEAD msg 1\", @@@",
199
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
200
+ "@@@STEP_LOG_LINE@json.output@ \"9a5e076f2d84aac38715645214dad5dba6bda7e7\"@@@",
201
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
202
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"408c7d029783405d4fce80117d6e3e0c0e2f6dc2\", @@@",
203
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
204
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
205
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"c701ac6a56ba7c86a4d482719e8ff568a9233437\", @@@",
206
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
207
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"b.py\", @@@",
208
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
209
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
210
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
211
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
212
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
213
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
214
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
215
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
216
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_2.email.com\", @@@",
217
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
218
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
219
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
220
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"711ec6fe0c3dcdde2e03b7a50ecd2dd0836118ee\", @@@",
221
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
222
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_HEAD@fake_2.email.com\", @@@",
223
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_HEAD\", @@@",
224
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
225
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
226
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake HEAD msg 2\", @@@",
227
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
228
+ "@@@STEP_LOG_LINE@json.output@ \"4e7cd3662473db1e96a9d3ed603aa7029359c990\"@@@",
229
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
230
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"7b9f8612f4303728c04d4ae0dd94c51ceda9ef08\", @@@",
231
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
232
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
233
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"efafa334b60c589f1cdbdfbdec1347f7f40231cd\", @@@",
234
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
235
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"c.py\", @@@",
236
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
237
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
238
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
239
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
240
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
241
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
242
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
243
+ "@@@STEP_LOG_LINE@json.output@}@@@",
244
+ "@@@STEP_LOG_END@json.output@@@"
245
+ ]
246
+ },
247
+ {
248
+ "cmd": [
249
+ "python",
250
+ "-u",
251
+ "RECIPE_MODULE[depot_tools::gitiles]/resources/gerrit_client.py",
252
+ "--json-file",
253
+ "/path/to/tmp/json",
254
+ "--url",
255
+ "https://chromium.googlesource.com/chromium/src/+log/refs/heads/A",
256
+ "--format",
257
+ "json",
258
+ "--log-limit",
259
+ "0"
260
+ ],
261
+ "name": "gitiles log: refs/heads/A",
262
+ "~followup_annotations": [
263
+ "@@@STEP_TEXT@<br />3 commits fetched@@@",
264
+ "@@@STEP_LOG_LINE@json.output@{@@@",
265
+ "@@@STEP_LOG_LINE@json.output@ \"log\": [@@@",
266
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
267
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
268
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_0.email.com\", @@@",
269
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_A\", @@@",
270
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
271
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
272
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"3e30158f2a7caccb7a9f6632a60011e7a44e1e5c\", @@@",
273
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
274
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_0.email.com\", @@@",
275
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_A\", @@@",
276
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
277
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
278
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 0\", @@@",
279
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
280
+ "@@@STEP_LOG_LINE@json.output@ \"83a7614b3b60951511be50db1b9561daff4bb447\"@@@",
281
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
282
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"1b6412b24ec3add84836c8fdd1af5ac8e35b61d9\", @@@",
283
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
284
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
285
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"8bea05ad53680fce6937543f0d98cd48e295b8ff\", @@@",
286
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
287
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"a.py\", @@@",
288
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
289
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
290
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
291
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
292
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
293
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
294
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
295
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
296
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_1.email.com\", @@@",
297
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_A\", @@@",
298
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
299
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
300
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"3380b83c11e029b7291c83c44e7b1ce09d465fd1\", @@@",
301
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
302
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_1.email.com\", @@@",
303
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_A\", @@@",
304
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
305
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
306
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 1\", @@@",
307
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
308
+ "@@@STEP_LOG_LINE@json.output@ \"8675a52c73c701cb0b2c48f5ed4a9058c624e6cd\"@@@",
309
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
310
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"a1b1e6aa501915989b45a95e1224ec2a88655eb3\", @@@",
311
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
312
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
313
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"06bc4c79002f278528aaddae4e056a11f58c19ad\", @@@",
314
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
315
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"b.py\", @@@",
316
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
317
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
318
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
319
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
320
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
321
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
322
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
323
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
324
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_2.email.com\", @@@",
325
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_A\", @@@",
326
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
327
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
328
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"363caa907186de786cb5292cd1ab7245da954815\", @@@",
329
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
330
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_2.email.com\", @@@",
331
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_A\", @@@",
332
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
333
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
334
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 2\", @@@",
335
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
336
+ "@@@STEP_LOG_LINE@json.output@ \"255c6325c4c654e17e6b35142e3912c86f1718f2\"@@@",
337
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
338
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"e84d4ad259e69da73d2b842e2b9709f08e8b22bd\", @@@",
339
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
340
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
341
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"d7f478bf423219f2f47c1a6ed344fc597a8bf18f\", @@@",
342
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
343
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"c.py\", @@@",
344
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
345
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
346
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
347
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
348
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
349
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
350
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
351
+ "@@@STEP_LOG_LINE@json.output@}@@@",
352
+ "@@@STEP_LOG_END@json.output@@@"
353
+ ]
354
+ },
355
+ {
356
+ "cmd": [
357
+ "python",
358
+ "-u",
359
+ "RECIPE_MODULE[depot_tools::gitiles]/resources/gerrit_client.py",
360
+ "--json-file",
361
+ "/path/to/tmp/json",
362
+ "--url",
363
+ "https://chromium.googlesource.com/chromium/src/+log/refs/tags/B",
364
+ "--format",
365
+ "json",
366
+ "--log-limit",
367
+ "0"
368
+ ],
369
+ "name": "gitiles log: refs/tags/B",
370
+ "~followup_annotations": [
371
+ "@@@STEP_TEXT@<br />3 commits fetched@@@",
372
+ "@@@STEP_LOG_LINE@json.output@{@@@",
373
+ "@@@STEP_LOG_LINE@json.output@ \"log\": [@@@",
374
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
375
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
376
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_B@fake_0.email.com\", @@@",
377
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_B\", @@@",
378
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
379
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
380
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"1cdae70e35c82b8964d4f6b4390c2228f4d8eef6\", @@@",
381
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
382
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_B@fake_0.email.com\", @@@",
383
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_B\", @@@",
384
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
385
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
386
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake B msg 0\", @@@",
387
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
388
+ "@@@STEP_LOG_LINE@json.output@ \"b1ee024dbfc9bcd28d50d3be3bc73998fe458b89\"@@@",
389
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
390
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"57ca8ee46ee26892ee973e8f5a521d0963ec838b\", @@@",
391
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
392
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
393
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"fc99080254b81f69e924e94eb161e50dd8921a8c\", @@@",
394
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
395
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"a.py\", @@@",
396
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
397
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
398
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
399
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
400
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
401
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
402
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
403
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
404
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_B@fake_1.email.com\", @@@",
405
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_B\", @@@",
406
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
407
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
408
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"98bd73cda7f11163b29928fa01f4126fdb9dced2\", @@@",
409
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
410
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_B@fake_1.email.com\", @@@",
411
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_B\", @@@",
412
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
413
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
414
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake B msg 1\", @@@",
415
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
416
+ "@@@STEP_LOG_LINE@json.output@ \"2ec52375078cac3e4aae4e2d4536f5d778b8c59d\"@@@",
417
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
418
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"fc4e6e09f5cb617990adefc35e06b6ca9ff1a2cd\", @@@",
419
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
420
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
421
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"0c753dce1642aef73d34fa43c275ce28bf8b080c\", @@@",
422
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
423
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"b.py\", @@@",
424
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
425
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
426
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
427
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
428
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
429
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
430
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
431
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
432
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_B@fake_2.email.com\", @@@",
433
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_B\", @@@",
434
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
435
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
436
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"181ceb4aa58459721811061ab7f245bbf1353d18\", @@@",
437
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
438
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_B@fake_2.email.com\", @@@",
439
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"fake_B\", @@@",
440
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
441
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
442
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake B msg 2\", @@@",
443
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
444
+ "@@@STEP_LOG_LINE@json.output@ \"d27272e5f4af1fd21ce52cdfbf442717c66b8e29\"@@@",
445
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
446
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"67835a9642ec8873bb98a6d5657c566750645628\", @@@",
447
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
448
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
449
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"00211e92fc08907aa73da401eb2019929581c2f6\", @@@",
450
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
451
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"c.py\", @@@",
452
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
453
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
454
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
455
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
456
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
457
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
458
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
459
+ "@@@STEP_LOG_LINE@json.output@}@@@",
460
+ "@@@STEP_LOG_END@json.output@@@"
461
+ ]
462
+ },
463
+ {
464
+ "cmd": [
465
+ "python",
466
+ "-u",
467
+ "RECIPE_MODULE[depot_tools::gitiles]/resources/gerrit_client.py",
468
+ "--json-file",
469
+ "/path/to/tmp/json",
470
+ "--url",
471
+ "https://chromium.googlesource.com/chromium/src/+/4015b57a143aec5156fd1444a017a32137a3fd0f",
472
+ "--format",
473
+ "json"
474
+ ],
475
+ "name": "commit log: 4015b57a143aec5156fd1444a017a32137a3fd0f",
476
+ "~followup_annotations": [
477
+ "@@@STEP_LOG_LINE@json.output@{@@@",
478
+ "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
479
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"testauthor@fake.chromium.org\", @@@",
480
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"Test Author\", @@@",
481
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
482
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
483
+ "@@@STEP_LOG_LINE@json.output@ \"commit\": \"4015b57a143aec5156fd1444a017a32137a3fd0f\", @@@",
484
+ "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
485
+ "@@@STEP_LOG_LINE@json.output@ \"email\": \"testauthor@fake.chromium.org\", @@@",
486
+ "@@@STEP_LOG_LINE@json.output@ \"name\": \"Test Author\", @@@",
487
+ "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
488
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
489
+ "@@@STEP_LOG_LINE@json.output@ \"message\": \"C\", @@@",
490
+ "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
491
+ "@@@STEP_LOG_LINE@json.output@ \"5931bdd37b0ed913d4e1e109480f071f1911f905\"@@@",
492
+ "@@@STEP_LOG_LINE@json.output@ ], @@@",
493
+ "@@@STEP_LOG_LINE@json.output@ \"tree\": \"3a724c49db6131f9d2b30d29838d50eba7a0b6fd\", @@@",
494
+ "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
495
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
496
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"2753b71b932b7d7f3036acf2080c01ba63be0699\", @@@",
497
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
498
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"foo/bar\", @@@",
499
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
500
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
501
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
502
+ "@@@STEP_LOG_LINE@json.output@ }, @@@",
503
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
504
+ "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"2d153d47331ac00be4749024348c8956b3a17bdb\", @@@",
505
+ "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
506
+ "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"baz/qux\", @@@",
507
+ "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
508
+ "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
509
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
510
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
511
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
512
+ "@@@STEP_LOG_LINE@json.output@}@@@",
513
+ "@@@STEP_LOG_END@json.output@@@"
514
+ ]
515
+ },
516
+ {
517
+ "cmd": [
518
+ "python",
519
+ "-u",
520
+ "RECIPE_MODULE[depot_tools::gitiles]/resources/gerrit_client.py",
521
+ "--json-file",
522
+ "/path/to/tmp/json",
523
+ "--url",
524
+ "https://chromium.googlesource.com/chromium/src/+/master/OWNERS",
525
+ "--format",
526
+ "text",
527
+ "--attempts",
528
+ "5"
529
+ ],
530
+ "name": "fetch master:OWNERS"
531
+ },
532
+ {
533
+ "name": "$result",
534
+ "recipe_result": null,
535
+ "status_code": 0
536
+ }
537
+ ]