libv8 5.3.332.38.5 → 5.6.326.50.0beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -1
  3. data/CHANGELOG.md +2 -0
  4. data/ext/libv8/builder.rb +2 -2
  5. data/lib/libv8/version.rb +1 -1
  6. data/patches/0001-Build-a-standalone-static-library.patch +4 -4
  7. data/patches/0002-Don-t-compile-unnecessary-stuff.patch +16 -11
  8. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +4 -4
  9. data/patches/{0005-Do-not-embed-debug-symbols-in-macOS-libraries.patch → 0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch} +4 -4
  10. data/vendor/depot_tools/.gitignore +4 -0
  11. data/vendor/depot_tools/OWNERS +0 -2
  12. data/vendor/depot_tools/PRESUBMIT.py +20 -23
  13. data/vendor/depot_tools/README.gclient.md +3 -3
  14. data/vendor/depot_tools/README.git-cl.md +13 -12
  15. data/vendor/depot_tools/README.md +2 -3
  16. data/vendor/depot_tools/WATCHLISTS +0 -1
  17. data/vendor/depot_tools/appengine_mapper.py +23 -0
  18. data/vendor/depot_tools/apply_issue.py +2 -8
  19. data/vendor/depot_tools/bootstrap/win/README.md +1 -8
  20. data/vendor/depot_tools/bootstrap/win/git_bootstrap.py +6 -16
  21. data/vendor/depot_tools/bootstrap/win/git_version.txt +1 -1
  22. data/vendor/depot_tools/bootstrap/win/git_version_bleeding_edge.txt +1 -1
  23. data/vendor/depot_tools/checkout.py +20 -433
  24. data/vendor/depot_tools/cipd +73 -0
  25. data/vendor/depot_tools/cipd.bat +12 -0
  26. data/vendor/depot_tools/cipd.ps1 +57 -0
  27. data/vendor/depot_tools/cipd_client_version +1 -0
  28. data/vendor/depot_tools/clang_format.py +9 -6
  29. data/vendor/depot_tools/clang_format_merge_driver +8 -0
  30. data/vendor/depot_tools/clang_format_merge_driver.bat +11 -0
  31. data/vendor/depot_tools/clang_format_merge_driver.py +67 -0
  32. data/vendor/depot_tools/codereview.settings +3 -2
  33. data/vendor/depot_tools/commit_queue.py +1 -1
  34. data/vendor/depot_tools/cpplint.py +2 -0
  35. data/vendor/depot_tools/fetch.py +1 -54
  36. data/vendor/depot_tools/fetch_configs/android.py +2 -2
  37. data/vendor/depot_tools/fetch_configs/breakpad.py +2 -3
  38. data/vendor/depot_tools/fetch_configs/chromium.py +2 -3
  39. data/vendor/depot_tools/fetch_configs/crashpad.py +2 -2
  40. data/vendor/depot_tools/fetch_configs/dart.py +2 -3
  41. data/vendor/depot_tools/fetch_configs/dartino.py +2 -3
  42. data/vendor/depot_tools/fetch_configs/dartium.py +2 -3
  43. data/vendor/depot_tools/fetch_configs/depot_tools.py +3 -6
  44. data/vendor/depot_tools/fetch_configs/gyp.py +2 -3
  45. data/vendor/depot_tools/fetch_configs/infra.py +2 -2
  46. data/vendor/depot_tools/fetch_configs/infra_internal.py +2 -2
  47. data/vendor/depot_tools/fetch_configs/ios.py +2 -2
  48. data/vendor/depot_tools/fetch_configs/ios_internal.py +2 -3
  49. data/vendor/depot_tools/fetch_configs/mojo.py +2 -3
  50. data/vendor/depot_tools/fetch_configs/nacl.py +2 -3
  51. data/vendor/depot_tools/fetch_configs/naclports.py +2 -3
  52. data/vendor/depot_tools/fetch_configs/pdfium.py +2 -2
  53. data/vendor/depot_tools/fetch_configs/skia.py +2 -2
  54. data/vendor/depot_tools/fetch_configs/skia_buildbot.py +2 -2
  55. data/vendor/depot_tools/fetch_configs/syzygy.py +2 -2
  56. data/vendor/depot_tools/fetch_configs/v8.py +2 -3
  57. data/vendor/depot_tools/fetch_configs/webrtc.py +5 -3
  58. data/vendor/depot_tools/fetch_configs/webrtc_android.py +2 -2
  59. data/vendor/depot_tools/fetch_configs/webrtc_ios.py +2 -2
  60. data/vendor/depot_tools/fix_encoding.py +6 -6
  61. data/vendor/depot_tools/gclient.py +136 -368
  62. data/vendor/depot_tools/gclient_scm.py +108 -647
  63. data/vendor/depot_tools/gclient_utils.py +22 -86
  64. data/vendor/depot_tools/gerrit_client.py +105 -0
  65. data/vendor/depot_tools/gerrit_util.py +174 -67
  66. data/vendor/depot_tools/git-crrev-parse +6 -7
  67. data/vendor/depot_tools/git-gs +1 -1
  68. data/vendor/depot_tools/git_cache.py +68 -18
  69. data/vendor/depot_tools/git_cherry_pick_upload.py +4 -4
  70. data/vendor/depot_tools/git_cl.py +1028 -961
  71. data/vendor/depot_tools/git_common.py +2 -3
  72. data/vendor/depot_tools/git_drover.py +0 -1
  73. data/vendor/depot_tools/git_footers.py +3 -43
  74. data/vendor/depot_tools/git_rebase_update.py +9 -1
  75. data/vendor/depot_tools/git_squash_branch.py +1 -1
  76. data/vendor/depot_tools/infra/config/cq.cfg +8 -1
  77. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  78. data/vendor/depot_tools/man/html/depot_tools.html +3 -11
  79. data/vendor/depot_tools/man/html/depot_tools_tutorial.html +9 -9
  80. data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +2 -2
  81. data/vendor/depot_tools/man/html/git-drover.html +17 -17
  82. data/vendor/depot_tools/man/html/git-footers.html +2 -2
  83. data/vendor/depot_tools/man/html/git-freeze.html +4 -4
  84. data/vendor/depot_tools/man/html/git-hyper-blame.html +2 -2
  85. data/vendor/depot_tools/man/html/git-map-branches.html +2 -2
  86. data/vendor/depot_tools/man/html/git-map.html +2 -2
  87. data/vendor/depot_tools/man/html/git-mark-merge-base.html +2 -2
  88. data/vendor/depot_tools/man/html/git-nav-downstream.html +2 -2
  89. data/vendor/depot_tools/man/html/git-nav-upstream.html +2 -2
  90. data/vendor/depot_tools/man/html/git-new-branch.html +2 -2
  91. data/vendor/depot_tools/man/html/git-rebase-update.html +2 -2
  92. data/vendor/depot_tools/man/html/git-rename-branch.html +2 -2
  93. data/vendor/depot_tools/man/html/git-reparent-branch.html +2 -2
  94. data/vendor/depot_tools/man/html/git-retry.html +3 -3
  95. data/vendor/depot_tools/man/html/git-squash-branch.html +3 -3
  96. data/vendor/depot_tools/man/html/git-thaw.html +2 -2
  97. data/vendor/depot_tools/man/html/git-upstream-diff.html +3 -3
  98. data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +4 -4
  99. data/vendor/depot_tools/man/man1/git-drover.1 +19 -19
  100. data/vendor/depot_tools/man/man1/git-footers.1 +4 -4
  101. data/vendor/depot_tools/man/man1/git-freeze.1 +6 -6
  102. data/vendor/depot_tools/man/man1/git-hyper-blame.1 +4 -4
  103. data/vendor/depot_tools/man/man1/git-map-branches.1 +4 -4
  104. data/vendor/depot_tools/man/man1/git-map.1 +4 -4
  105. data/vendor/depot_tools/man/man1/git-mark-merge-base.1 +4 -4
  106. data/vendor/depot_tools/man/man1/git-nav-downstream.1 +4 -4
  107. data/vendor/depot_tools/man/man1/git-nav-upstream.1 +4 -4
  108. data/vendor/depot_tools/man/man1/git-new-branch.1 +4 -4
  109. data/vendor/depot_tools/man/man1/git-rebase-update.1 +4 -4
  110. data/vendor/depot_tools/man/man1/git-rename-branch.1 +4 -4
  111. data/vendor/depot_tools/man/man1/git-reparent-branch.1 +4 -4
  112. data/vendor/depot_tools/man/man1/git-retry.1 +5 -5
  113. data/vendor/depot_tools/man/man1/git-squash-branch.1 +5 -5
  114. data/vendor/depot_tools/man/man1/git-thaw.1 +4 -4
  115. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +5 -5
  116. data/vendor/depot_tools/man/man7/depot_tools.7 +5 -10
  117. data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +4 -4
  118. data/vendor/depot_tools/man/src/depot_tools.txt +1 -1
  119. data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +7 -7
  120. data/vendor/depot_tools/man/src/filter_demo_output.py +2 -2
  121. data/vendor/depot_tools/man/src/git-footers.demo.1.sh +1 -1
  122. data/vendor/depot_tools/man/src/git-retry.txt +1 -1
  123. data/vendor/depot_tools/man/src/git-squash-branch.txt +2 -2
  124. data/vendor/depot_tools/man/src/git-upstream-diff.txt +1 -1
  125. data/vendor/depot_tools/my_activity.py +6 -3
  126. data/vendor/depot_tools/my_reviews.py +1 -1
  127. data/vendor/depot_tools/ninja +2 -2
  128. data/vendor/depot_tools/ninja-linux32 +0 -0
  129. data/vendor/depot_tools/ninja-linux64 +0 -0
  130. data/vendor/depot_tools/ninja-mac +0 -0
  131. data/vendor/depot_tools/ninja.exe +0 -0
  132. data/vendor/depot_tools/owners.py +14 -3
  133. data/vendor/depot_tools/presubmit_canned_checks.py +46 -67
  134. data/vendor/depot_tools/presubmit_support.py +109 -371
  135. data/vendor/depot_tools/pylintrc +83 -56
  136. data/vendor/depot_tools/recipe_modules/OWNERS +1 -0
  137. data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +18 -9
  138. data/vendor/depot_tools/recipe_modules/bot_update/api.py +56 -55
  139. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +3 -7
  140. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +3 -7
  141. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +3 -7
  142. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/buildbot.json +52 -0
  143. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +19 -10
  144. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_rebase_patch_ref.json +19 -10
  145. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +19 -10
  146. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +19 -10
  147. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +19 -10
  148. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +3 -7
  149. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +2 -54
  150. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2_buildbot.json +56 -0
  151. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/{forced.json → trychange_oauth2_json.json} +6 -9
  152. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +54 -0
  153. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +9 -9
  154. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +9 -9
  155. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +9 -9
  156. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +9 -9
  157. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +20 -10
  158. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json +59 -0
  159. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +9 -9
  160. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +20 -10
  161. data/vendor/depot_tools/recipe_modules/bot_update/example.py +45 -63
  162. data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +210 -807
  163. data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +34 -45
  164. data/vendor/depot_tools/recipe_modules/cipd/api.py +59 -84
  165. data/vendor/depot_tools/recipe_modules/cipd/example.expected/basic.json +71 -117
  166. data/vendor/depot_tools/recipe_modules/cipd/example.expected/describe-failed.json +14 -60
  167. data/vendor/depot_tools/recipe_modules/cipd/example.expected/describe-many-instances.json +71 -117
  168. data/vendor/depot_tools/recipe_modules/cipd/example.expected/mac64.json +71 -117
  169. data/vendor/depot_tools/recipe_modules/cipd/example.expected/win64.json +71 -117
  170. data/vendor/depot_tools/recipe_modules/cipd/example.py +2 -12
  171. data/vendor/depot_tools/recipe_modules/cipd/test_api.py +0 -9
  172. data/vendor/depot_tools/recipe_modules/depot_tools/api.py +6 -0
  173. data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/basic.json +7 -0
  174. data/vendor/depot_tools/recipe_modules/depot_tools/example.expected/win.json +7 -0
  175. data/vendor/depot_tools/recipe_modules/depot_tools/example.py +3 -0
  176. data/vendor/depot_tools/recipe_modules/gclient/__init__.py +4 -0
  177. data/vendor/depot_tools/recipe_modules/gclient/api.py +9 -22
  178. data/vendor/depot_tools/recipe_modules/gclient/config.py +18 -5
  179. data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +14 -14
  180. data/vendor/depot_tools/recipe_modules/gclient/example.expected/buildbot.json +211 -0
  181. data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +16 -14
  182. data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +16 -14
  183. data/vendor/depot_tools/recipe_modules/gclient/example.py +13 -11
  184. data/vendor/depot_tools/recipe_modules/gerrit/__init__.py +6 -0
  185. data/vendor/depot_tools/recipe_modules/gerrit/api.py +63 -0
  186. data/vendor/depot_tools/recipe_modules/gerrit/example.expected/basic.json +64 -0
  187. data/vendor/depot_tools/recipe_modules/gerrit/example.py +35 -0
  188. data/vendor/depot_tools/recipe_modules/gerrit/test_api.py +24 -0
  189. data/vendor/depot_tools/recipe_modules/git/__init__.py +4 -0
  190. data/vendor/depot_tools/recipe_modules/git/api.py +155 -142
  191. data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +43 -17
  192. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +43 -17
  193. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +43 -17
  194. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +43 -17
  195. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +43 -17
  196. data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +43 -17
  197. data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +13 -13
  198. data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +43 -17
  199. data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +45 -19
  200. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +45 -19
  201. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +43 -17
  202. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +43 -17
  203. data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +8 -8
  204. data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +44 -18
  205. data/vendor/depot_tools/recipe_modules/git/example.expected/git-cache-checkout.json +48 -22
  206. data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +43 -17
  207. data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +42 -16
  208. data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +43 -17
  209. data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +43 -17
  210. data/vendor/depot_tools/recipe_modules/git/example.py +9 -3
  211. data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
  212. data/vendor/depot_tools/recipe_modules/git_cl/api.py +8 -8
  213. data/vendor/depot_tools/recipe_modules/git_cl/example.py +1 -1
  214. data/vendor/depot_tools/recipe_modules/gsutil/__init__.py +4 -0
  215. data/vendor/depot_tools/recipe_modules/gsutil/api.py +196 -0
  216. data/vendor/depot_tools/recipe_modules/gsutil/example.expected/basic.json +186 -0
  217. data/vendor/depot_tools/recipe_modules/gsutil/example.py +77 -0
  218. data/vendor/depot_tools/recipe_modules/gsutil/resources/gsutil_smart_retry.py +69 -0
  219. data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +3 -0
  220. data/vendor/depot_tools/recipe_modules/infra_paths/api.py +20 -3
  221. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +3 -1
  222. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +3 -1
  223. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +3 -1
  224. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +3 -1
  225. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +3 -1
  226. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +3 -1
  227. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +3 -1
  228. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_linux.json +3 -1
  229. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_mac.json +3 -1
  230. data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_swarmbucket_win.json +3 -1
  231. data/vendor/depot_tools/recipe_modules/infra_paths/example.py +6 -1
  232. data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +4 -6
  233. data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
  234. data/vendor/depot_tools/recipe_modules/rietveld/api.py +12 -9
  235. data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +2 -24
  236. data/vendor/depot_tools/recipe_modules/rietveld/example.expected/buildbot.json +30 -0
  237. data/vendor/depot_tools/recipe_modules/rietveld/example.py +12 -6
  238. data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +4 -0
  239. data/vendor/depot_tools/recipe_modules/tryserver/api.py +46 -70
  240. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/set_failure_hash_with_no_steps.json +8 -0
  241. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/{with_svn_patch.json → with_gerrit_patch.json} +1 -31
  242. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_gerrit_patch_deprecated.json +39 -0
  243. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +2 -2
  244. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch_luci.json +8 -0
  245. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +3 -3
  246. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +3 -3
  247. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +1 -1
  248. data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +1 -1
  249. data/vendor/depot_tools/recipe_modules/tryserver/example.py +35 -5
  250. data/vendor/depot_tools/recipes.py +52 -28
  251. data/vendor/depot_tools/repo +216 -69
  252. data/vendor/depot_tools/rietveld.py +20 -15
  253. data/vendor/depot_tools/roll_dep.py +1 -1
  254. data/vendor/depot_tools/scm.py +11 -826
  255. data/vendor/depot_tools/subprocess2.py +5 -5
  256. data/vendor/depot_tools/third_party/cq_client/README.depot_tools.md +2 -0
  257. data/vendor/depot_tools/third_party/cq_client/README.md +5 -1
  258. data/vendor/depot_tools/third_party/cq_client/cq.pb.go +183 -104
  259. data/vendor/depot_tools/third_party/cq_client/cq.proto +43 -27
  260. data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +95 -29
  261. data/vendor/depot_tools/third_party/cq_client/testdata/cq_both.cfg +67 -0
  262. data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +1 -2
  263. data/vendor/depot_tools/third_party/cq_client/testdata/cq_rietveld.cfg +0 -3
  264. data/vendor/depot_tools/third_party/upload.py +44 -24
  265. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +0 -5
  266. metadata +38 -93
  267. data/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch +0 -25
  268. data/vendor/depot_tools/git-auto-svn +0 -6
  269. data/vendor/depot_tools/git_auto_svn.py +0 -122
  270. data/vendor/depot_tools/man/html/git-auto-svn.html +0 -837
  271. data/vendor/depot_tools/man/man1/git-auto-svn.1 +0 -113
  272. data/vendor/depot_tools/man/src/_git-auto-svn_desc.helper.txt +0 -1
  273. data/vendor/depot_tools/man/src/git-auto-svn.txt +0 -69
  274. data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +0 -43
  275. data/vendor/depot_tools/recipe_modules/cipd/example.expected/install-failed.json +0 -31
  276. data/vendor/depot_tools/recipe_modules/cipd/resources/bootstrap.py +0 -218
  277. data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +0 -7
  278. data/vendor/depot_tools/third_party/gsutil/CHECKSUM +0 -1
  279. data/vendor/depot_tools/third_party/gsutil/COPYING +0 -202
  280. data/vendor/depot_tools/third_party/gsutil/LICENSE.third_party +0 -295
  281. data/vendor/depot_tools/third_party/gsutil/MANIFEST.in +0 -5
  282. data/vendor/depot_tools/third_party/gsutil/README +0 -38
  283. data/vendor/depot_tools/third_party/gsutil/README.chromium +0 -25
  284. data/vendor/depot_tools/third_party/gsutil/README.pkg +0 -49
  285. data/vendor/depot_tools/third_party/gsutil/ReleaseNotes.txt +0 -825
  286. data/vendor/depot_tools/third_party/gsutil/VERSION +0 -1
  287. data/vendor/depot_tools/third_party/gsutil/gslib/README +0 -5
  288. data/vendor/depot_tools/third_party/gsutil/gslib/__init__.py +0 -22
  289. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/__init__.py +0 -15
  290. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/acls.py +0 -234
  291. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/anon.py +0 -57
  292. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/command_opts.py +0 -116
  293. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/dev.py +0 -139
  294. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/metadata.py +0 -186
  295. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/naming.py +0 -173
  296. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/prod.py +0 -160
  297. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/projects.py +0 -130
  298. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/subdirs.py +0 -110
  299. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/support.py +0 -86
  300. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/versioning.py +0 -242
  301. data/vendor/depot_tools/third_party/gsutil/gslib/addlhelp/wildcards.py +0 -170
  302. data/vendor/depot_tools/third_party/gsutil/gslib/bucket_listing_ref.py +0 -175
  303. data/vendor/depot_tools/third_party/gsutil/gslib/command.py +0 -725
  304. data/vendor/depot_tools/third_party/gsutil/gslib/command_runner.py +0 -102
  305. data/vendor/depot_tools/third_party/gsutil/gslib/commands/__init__.py +0 -15
  306. data/vendor/depot_tools/third_party/gsutil/gslib/commands/cat.py +0 -131
  307. data/vendor/depot_tools/third_party/gsutil/gslib/commands/chacl.py +0 -523
  308. data/vendor/depot_tools/third_party/gsutil/gslib/commands/config.py +0 -662
  309. data/vendor/depot_tools/third_party/gsutil/gslib/commands/cp.py +0 -1819
  310. data/vendor/depot_tools/third_party/gsutil/gslib/commands/disablelogging.py +0 -101
  311. data/vendor/depot_tools/third_party/gsutil/gslib/commands/enablelogging.py +0 -149
  312. data/vendor/depot_tools/third_party/gsutil/gslib/commands/getacl.py +0 -82
  313. data/vendor/depot_tools/third_party/gsutil/gslib/commands/getcors.py +0 -121
  314. data/vendor/depot_tools/third_party/gsutil/gslib/commands/getdefacl.py +0 -86
  315. data/vendor/depot_tools/third_party/gsutil/gslib/commands/getlogging.py +0 -137
  316. data/vendor/depot_tools/third_party/gsutil/gslib/commands/getversioning.py +0 -116
  317. data/vendor/depot_tools/third_party/gsutil/gslib/commands/getwebcfg.py +0 -122
  318. data/vendor/depot_tools/third_party/gsutil/gslib/commands/help.py +0 -218
  319. data/vendor/depot_tools/third_party/gsutil/gslib/commands/ls.py +0 -578
  320. data/vendor/depot_tools/third_party/gsutil/gslib/commands/mb.py +0 -172
  321. data/vendor/depot_tools/third_party/gsutil/gslib/commands/mv.py +0 -159
  322. data/vendor/depot_tools/third_party/gsutil/gslib/commands/perfdiag.py +0 -903
  323. data/vendor/depot_tools/third_party/gsutil/gslib/commands/rb.py +0 -113
  324. data/vendor/depot_tools/third_party/gsutil/gslib/commands/rm.py +0 -237
  325. data/vendor/depot_tools/third_party/gsutil/gslib/commands/setacl.py +0 -138
  326. data/vendor/depot_tools/third_party/gsutil/gslib/commands/setcors.py +0 -145
  327. data/vendor/depot_tools/third_party/gsutil/gslib/commands/setdefacl.py +0 -105
  328. data/vendor/depot_tools/third_party/gsutil/gslib/commands/setmeta.py +0 -420
  329. data/vendor/depot_tools/third_party/gsutil/gslib/commands/setversioning.py +0 -114
  330. data/vendor/depot_tools/third_party/gsutil/gslib/commands/setwebcfg.py +0 -190
  331. data/vendor/depot_tools/third_party/gsutil/gslib/commands/update.py +0 -305
  332. data/vendor/depot_tools/third_party/gsutil/gslib/commands/version.py +0 -150
  333. data/vendor/depot_tools/third_party/gsutil/gslib/exception.py +0 -76
  334. data/vendor/depot_tools/third_party/gsutil/gslib/help_provider.py +0 -81
  335. data/vendor/depot_tools/third_party/gsutil/gslib/name_expansion.py +0 -550
  336. data/vendor/depot_tools/third_party/gsutil/gslib/no_op_auth_plugin.py +0 -30
  337. data/vendor/depot_tools/third_party/gsutil/gslib/plurality_checkable_iterator.py +0 -56
  338. data/vendor/depot_tools/third_party/gsutil/gslib/project_id.py +0 -67
  339. data/vendor/depot_tools/third_party/gsutil/gslib/storage_uri_builder.py +0 -56
  340. data/vendor/depot_tools/third_party/gsutil/gslib/thread_pool.py +0 -79
  341. data/vendor/depot_tools/third_party/gsutil/gslib/util.py +0 -167
  342. data/vendor/depot_tools/third_party/gsutil/gslib/wildcard_iterator.py +0 -498
  343. data/vendor/depot_tools/third_party/gsutil/gsutil +0 -384
  344. data/vendor/depot_tools/third_party/gsutil/gsutil.spec.in +0 -75
  345. data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/__init__.py +0 -22
  346. data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_client.py +0 -630
  347. data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_client_test.py +0 -374
  348. data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_helper.py +0 -103
  349. data/vendor/depot_tools/third_party/gsutil/oauth2_plugin/oauth2_plugin.py +0 -24
  350. data/vendor/depot_tools/third_party/gsutil/pkg_util.py +0 -60
  351. data/vendor/depot_tools/third_party/gsutil/plugins/__init__.py +0 -0
  352. data/vendor/depot_tools/third_party/gsutil/plugins/sso_auth.py +0 -105
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9ca105934502dfda38f552908d025ce12386f66
4
- data.tar.gz: 1d1b932d60e4d736c35f98b356bda7da6a94d754
3
+ metadata.gz: 7112c330b5754a453c2991e5f5ad68873326a377
4
+ data.tar.gz: dda15f0240c57a55a6a1fb216c12dfbea3140ed0
5
5
  SHA512:
6
- metadata.gz: 643ed1d46d074a9eac8e7f957b5f1dce5c8dd411c8c2873876ff62780dacc92006f4bccd79f60fab03bcd1997f345e765e4b163ab27252b5ee78b11c21a5e2ba
7
- data.tar.gz: 033475ad46e7ff65fc3bf19a4b5c358a8985ca89a6d63cd49d361e54b167ac6875d656174c99bb50648edeb260c4c2e50c83707e35562f63e71231222213dbe1
6
+ metadata.gz: b90b65c23d279675155f0d7718f7e783f9c4439eab084b8828279e76c331169a1d5d5f089d45bf6896033084b70b79ab399efe19a72f45957362cd796f09b803
7
+ data.tar.gz: e604fb24672ba3dcd29d565f31f8ef6fe70a81a24df91b54bea9ae7252623354d5057029ce15844106fe1faa3c71a8e6a3dd6a1f39e230def4be7253c930aa16
data/.travis.yml CHANGED
@@ -55,7 +55,6 @@ deploy:
55
55
  on:
56
56
  tags: true
57
57
  condition: $TRAVIS_OS_NAME = osx
58
- all_branches: true
59
58
  cache:
60
59
  bundler: true
61
60
  notifications:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ### Unreleased
2
2
 
3
+ * Update upstream v8 version to 5.6.326.50
4
+
3
5
  ### v5.3.332.38.4, v5.3.332.38.5 - 2016-02-27
4
6
 
5
7
  * Fix architecture detection for armv7 #226
data/ext/libv8/builder.rb CHANGED
@@ -30,7 +30,7 @@ module Libv8
30
30
  defines << 'v8_use_external_startup_data=0'
31
31
 
32
32
  # Do not use the GPLv3 ld.gold binary on Linux
33
- defines << 'linux_use_bundled_gold=0'
33
+ #defines << 'linux_use_bundled_gold=0'
34
34
 
35
35
  # Pass clang flag to GYP in order to work around GCC compilation failures
36
36
  defines << "clang=#{@compiler.is_a?(Compiler::Clang) ? '1' : '0'}"
@@ -67,7 +67,7 @@ module Libv8
67
67
  print_build_info
68
68
  puts 'Beginning compilation. This will take some time.'
69
69
 
70
- command = "env CXX=#{Shellwords.escape @compiler.to_s} LINK=#{Shellwords.escape @compiler.to_s} #{make} #{make_flags}"
70
+ command = "env CXX=#{Shellwords.escape @compiler.to_s} #{make} #{make_flags}"
71
71
  puts "Building v8 with #{command}"
72
72
  system command
73
73
  end
data/lib/libv8/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Libv8
2
- VERSION = "5.3.332.38.5"
2
+ VERSION = "5.6.326.50.0beta1"
3
3
  end
@@ -1,17 +1,17 @@
1
- From 8c1707d7eeb86824f03c0f02e724d27663cb768f Mon Sep 17 00:00:00 2001
1
+ From fbf90ea249b9f00e0dc31ee9ca335a29a218e735 Mon Sep 17 00:00:00 2001
2
2
  From: Petko Bordjukov <bordjukov@gmail.com>
3
3
  Date: Mon, 25 Jul 2016 00:00:19 +0300
4
- Subject: [PATCH 1/5] Build a standalone static library
4
+ Subject: [PATCH 1/4] Build a standalone static library
5
5
 
6
6
  ---
7
7
  gypfiles/standalone.gypi | 3 +++
8
8
  1 file changed, 3 insertions(+)
9
9
 
10
10
  diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11
- index c6c26fbbb5..a59e12bbfc 100644
11
+ index d438a5aeab..f28c9bfa9f 100644
12
12
  --- a/gypfiles/standalone.gypi
13
13
  +++ b/gypfiles/standalone.gypi
14
- @@ -505,6 +505,9 @@
14
+ @@ -538,6 +538,9 @@
15
15
  }], # fastbuild!=0
16
16
  ],
17
17
  'target_conditions': [
@@ -1,18 +1,18 @@
1
- From 968b21f2063fa03267ebe52548d4bf94a1838983 Mon Sep 17 00:00:00 2001
1
+ From 2ddb964b20ad4381de65077a2db6f44a6cc05c52 Mon Sep 17 00:00:00 2001
2
2
  From: Petko Bordjukov <bordjukov@gmail.com>
3
- Date: Sat, 15 Oct 2016 15:05:01 +0300
4
- Subject: [PATCH 2/5] Don't compile unnecessary stuff
3
+ Date: Tue, 28 Feb 2017 00:04:26 +0200
4
+ Subject: [PATCH 2/4] Don't compile unnecessary stuff
5
5
 
6
6
  ---
7
7
  Makefile | 7 +------
8
- gypfiles/all.gyp | 34 +---------------------------------
9
- 2 files changed, 2 insertions(+), 39 deletions(-)
8
+ gypfiles/all.gyp | 39 +--------------------------------------
9
+ 2 files changed, 2 insertions(+), 44 deletions(-)
10
10
 
11
11
  diff --git a/Makefile b/Makefile
12
- index ffb5192bfa..8e60aabc02 100644
12
+ index 6eeac09a14..a2807ffafe 100644
13
13
  --- a/Makefile
14
14
  +++ b/Makefile
15
- @@ -265,12 +265,7 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
15
+ @@ -266,12 +266,7 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
16
16
  gypfiles/shim_headers.gypi gypfiles/features.gypi \
17
17
  gypfiles/standalone.gypi \
18
18
  gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \
@@ -27,10 +27,10 @@ index ffb5192bfa..8e60aabc02 100644
27
27
  # If vtunejit=on, the v8vtune.gyp will be appended.
28
28
  ifeq ($(vtunejit), on)
29
29
  diff --git a/gypfiles/all.gyp b/gypfiles/all.gyp
30
- index ff1bea4b61..9b02b4d305 100644
30
+ index a3f2eedc77..9b02b4d305 100644
31
31
  --- a/gypfiles/all.gyp
32
32
  +++ b/gypfiles/all.gyp
33
- @@ -15,39 +15,7 @@
33
+ @@ -15,44 +15,7 @@
34
34
  'dependencies': [
35
35
  '../tools/parser-shell.gyp:parser-shell',
36
36
  ],
@@ -42,14 +42,19 @@ index ff1bea4b61..9b02b4d305 100644
42
42
  - '../test/cctest/cctest.gyp:*',
43
43
  - '../test/fuzzer/fuzzer.gyp:*',
44
44
  - '../test/unittests/unittests.gyp:*',
45
- - ],
45
+ - ],
46
+ - }],
47
+ - ['v8_enable_inspector==1', {
48
+ - 'dependencies': [
49
+ - '../test/debugger/debugger.gyp:*',
50
+ - '../test/inspector/inspector.gyp:*',
51
+ - ],
46
52
  - }],
47
53
  - ['test_isolation_mode != "noop"', {
48
54
  - 'dependencies': [
49
55
  - '../test/bot_default.gyp:*',
50
56
  - '../test/benchmarks/benchmarks.gyp:*',
51
57
  - '../test/default.gyp:*',
52
- - '../test/ignition.gyp:*',
53
58
  - '../test/intl/intl.gyp:*',
54
59
  - '../test/message/message.gyp:*',
55
60
  - '../test/mjsunit/mjsunit.gyp:*',
@@ -1,17 +1,17 @@
1
- From b0f5f916c4b6b908c0ece2805ecad22cff644c0f Mon Sep 17 00:00:00 2001
1
+ From 51ffbf60118ba9cf62475fef0e0633f45b7353c8 Mon Sep 17 00:00:00 2001
2
2
  From: Petko Bordjukov <bordjukov@gmail.com>
3
3
  Date: Mon, 25 Jul 2016 00:05:47 +0300
4
- Subject: [PATCH 3/5] Use the -fPIC flag for the static library
4
+ Subject: [PATCH 3/4] Use the -fPIC flag for the static library
5
5
 
6
6
  ---
7
7
  gypfiles/standalone.gypi | 2 +-
8
8
  1 file changed, 1 insertion(+), 1 deletion(-)
9
9
 
10
10
  diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11
- index a59e12bbfc..4e64f2ed94 100644
11
+ index f28c9bfa9f..01e4dc9336 100644
12
12
  --- a/gypfiles/standalone.gypi
13
13
  +++ b/gypfiles/standalone.gypi
14
- @@ -772,7 +772,7 @@
14
+ @@ -810,7 +810,7 @@
15
15
  [ 'visibility=="hidden" and v8_enable_backtrace==0', {
16
16
  'cflags': [ '-fvisibility=hidden' ],
17
17
  }],
@@ -1,7 +1,7 @@
1
- From 61cf732ad34ca121b6c57556596504ea631798b4 Mon Sep 17 00:00:00 2001
1
+ From bdeebd38b99b47f379f3ee8b392692cbea729439 Mon Sep 17 00:00:00 2001
2
2
  From: Jb Aviat <jb@sqreen.io>
3
3
  Date: Mon, 27 Feb 2017 11:14:42 +0200
4
- Subject: [PATCH 5/5] Do not embed debug symbols in macOS libraries
4
+ Subject: [PATCH 4/4] Do not embed debug symbols in macOS libraries
5
5
 
6
6
  This lowers dramatically the produced binary size
7
7
  ---
@@ -9,10 +9,10 @@ This lowers dramatically the produced binary size
9
9
  1 file changed, 1 insertion(+)
10
10
 
11
11
  diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
12
- index 4e64f2ed94..dcf2bfa266 100644
12
+ index 01e4dc9336..027eaff718 100644
13
13
  --- a/gypfiles/standalone.gypi
14
14
  +++ b/gypfiles/standalone.gypi
15
- @@ -1031,6 +1031,7 @@
15
+ @@ -1069,6 +1069,7 @@
16
16
  'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
17
17
  'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
18
18
  'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
@@ -1,6 +1,10 @@
1
1
  # Ignore any python bytecode.
2
2
  *.pyc
3
3
 
4
+ # ignore cipd client files
5
+ /.cipd_client*
6
+ /.versions
7
+
4
8
  # Ignore the batch files produced by the Windows bootstrapping.
5
9
  /git-bash
6
10
  /git.bat
@@ -8,9 +8,7 @@ jochen@chromium.org
8
8
  maruel@chromium.org
9
9
  nodir@chromium.org
10
10
  petermayo@chromium.org
11
- pgervais@chromium.org
12
11
  phajdan.jr@chromium.org
13
- stip@chromium.org
14
12
  tandrii@chromium.org
15
13
 
16
14
  per-file commit_queue*=phajdan.jr@chromium.org
@@ -12,22 +12,15 @@ import fnmatch
12
12
  import os
13
13
 
14
14
 
15
- def CommonChecks(input_api, output_api, tests_to_black_list):
16
- results = []
17
- results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
18
- black_list = list(input_api.DEFAULT_BLACK_LIST) + [
19
- r'^\.recipe_deps[\/\\].*',
20
- r'^infra[\/\\]\.recipe_deps[\/\\].*',
21
- r'^cpplint\.py$',
22
- r'^cpplint_chromium\.py$',
23
- r'^external_bin[\/\\].+',
24
- r'^python[0-9]*_bin[\/\\].+',
25
- r'^recipes\.py$',
26
- r'^site-packages-py[0-9]\.[0-9][\/\\].+',
27
- r'^svn_bin[\/\\].+',
28
- r'^testing_support[\/\\]_rietveld[\/\\].+',
29
- r'^testing_support[\/\\]_infra[\/\\].+',
15
+ def DepotToolsPylint(input_api, output_api):
16
+ """Gather all the pylint logic into one place to make it self-contained."""
17
+ white_list = [
18
+ r'^[^/]*\.py$',
19
+ r'^testing_support/[^/]*\.py$',
20
+ r'^tests/[^/]*\.py$',
21
+ r'^recipe_modules/.*\.py$', # Allow recursive search in recipe modules.
30
22
  ]
23
+ black_list = list(input_api.DEFAULT_BLACK_LIST)
31
24
  if os.path.exists('.gitignore'):
32
25
  with open('.gitignore') as fh:
33
26
  lines = [l.strip() for l in fh.readlines()]
@@ -42,21 +35,26 @@ def CommonChecks(input_api, output_api, tests_to_black_list):
42
35
  'R0401', # Cyclic import
43
36
  'W0613', # Unused argument
44
37
  ]
45
- pylint = input_api.canned_checks.GetPylint(
38
+ return input_api.canned_checks.GetPylint(
46
39
  input_api,
47
40
  output_api,
48
- white_list=[r'.*\.py$'],
41
+ white_list=white_list,
49
42
  black_list=black_list,
50
43
  disabled_warnings=disabled_warnings)
44
+
45
+
46
+ def CommonChecks(input_api, output_api, tests_to_black_list):
47
+ results = []
48
+ results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
51
49
  # TODO(maruel): Make sure at least one file is modified first.
52
50
  # TODO(maruel): If only tests are modified, only run them.
51
+ tests = DepotToolsPylint(input_api, output_api)
53
52
  unit_tests = input_api.canned_checks.GetUnitTestsInDirectory(
54
53
  input_api,
55
54
  output_api,
56
55
  'tests',
57
56
  whitelist=[r'.*test\.py$'],
58
57
  blacklist=tests_to_black_list)
59
- tests = pylint
60
58
  if not input_api.platform.startswith(('cygwin', 'win32')):
61
59
  tests.extend(unit_tests)
62
60
  else:
@@ -88,12 +86,11 @@ def RunGitClTests(input_api, output_api):
88
86
  server.start_server()
89
87
  test_path = input_api.os_path.abspath(
90
88
  input_api.os_path.join(input_api.PresubmitLocalPath(), 'tests'))
89
+
90
+ # test-lib.sh is not an actual test so it should not be run.
91
+ NON_TEST_FILES = ('test-lib.sh')
91
92
  for test in input_api.os_listdir(test_path):
92
- # test-lib.sh is not an actual test so it should not be run. The other
93
- # tests are tests known to fail.
94
- DISABLED_TESTS = (
95
- 'owners.sh', 'push-from-logs.sh', 'rename.sh', 'test-lib.sh')
96
- if test in DISABLED_TESTS or not test.endswith('.sh'):
93
+ if test in NON_TEST_FILES or not test.endswith('.sh'):
97
94
  continue
98
95
 
99
96
  print('Running %s' % test)
@@ -11,10 +11,10 @@ is a Python script that defines a list of `solutions` with the following format:
11
11
 
12
12
  solutions = [
13
13
  { "name" : "src",
14
- "url" : "svn://svnserver/component/trunk/src",
14
+ "url" : "https://chromium.googlesource.com/chromium/src.git",
15
15
  "custom_deps" : {
16
16
  # To use the trunk of a component instead of what's in DEPS:
17
- #"component": "https://svnserver/component/trunk/",
17
+ #"component": "https://github.com/luci/luci-go",
18
18
  # To exclude a component from your working copy:
19
19
  #"data/really_large_component": None,
20
20
  }
@@ -58,7 +58,7 @@ Each item in the `deps` dictionary consists of a key-value pair. The key is the
58
58
  directory into which the component will be checked out, relative to the
59
59
  directory containing the `.gclient` file. The value is the URL from which that
60
60
  directory will be checked out. If there is no address scheme (that is, no
61
- `http:` or `svn:` prefix), then the value must begin with a slash and is treated
61
+ `http:` prefix), then the value must begin with a slash and is treated
62
62
  relative to the root of the solution's repository.
63
63
 
64
64
  The URL typically contains a specific revision or change number (as appropriate
@@ -6,15 +6,15 @@ git but unfamiliar with the code review process supported by Rietveld and
6
6
  Gerrit.
7
7
 
8
8
 
9
- ## Reitveld concepts and terms
9
+ ## Rietveld concepts and terms
10
10
 
11
11
  A Rietveld review is for discussion of a single change or patch. You upload a
12
12
  proposed change, the reviewer comments on your change, and then you can upload a
13
13
  revised version of your change. Rietveld stores the history of uploaded patches
14
14
  as well as the comments, and can compute diffs in between these patches. The
15
15
  history of a patch is very much like a small branch in git, but since Rietveld
16
- is VCS-agnostic the concepts don't map perfectly. The identifier for a single
17
- review+patches+comments in Rietveld is called an `issue`.
16
+ is VCS-agnostic, the concepts don't map perfectly. The identifier for a single
17
+ review thread including patches and comments in Rietveld is called an **issue**.
18
18
 
19
19
  Rietveld provides a basic uploader that understands git. This program is used by
20
20
  git-cl, and is included in the git-cl repo as upload.py.
@@ -29,9 +29,9 @@ different ways you can handle this workflow with git:
29
29
 
30
30
  1. Rewriting a single commit. Say the origin commit is O, and you commit your
31
31
  initial work in a commit A, making your history like O--A. After review
32
- comments, you commit --amend, effectively erasing A and making a new commit
33
- A', so history is now O--A'. (Equivalently, you can use git reset --soft or
34
- git rebase -i.)
32
+ comments, you `git commit --amend`, effectively erasing A and making a new
33
+ commit A', so history is now O--A'. (Equivalently, you can use
34
+ `git reset --soft` or `git rebase -i`.)
35
35
  2. Writing follow-up commits. Initial work is again in A, and after review
36
36
  comments, you write a new commit B so your history looks like O--A--B. When
37
37
  you upload the revised patch, you upload the diff of O..B, not A..B; you
@@ -78,9 +78,10 @@ that as a single review, everything works just as above.
78
78
  But what if you upload each of A, B, and C as separate reviews? What if you
79
79
  then need to change A?
80
80
 
81
- 1. One option is rewriting history: write a new commit A', then use git rebase
82
- -i to insert that diff in as O--A--A'--B--C as well as squash it. This is
83
- sometimes not possible if B and C have touched some lines affected by A'.
81
+ 1. One option is rewriting history: write a new commit A', then use
82
+ `git rebase -i` to insert that diff in as O--A--A'--B--C as well as squash
83
+ it. This is sometimes not possible if B and C have touched some lines
84
+ affected by A'.
84
85
  2. Another option, and the one espoused by software like topgit, is for you to
85
86
  have separate branches for A, B, and C, and after writing A' you merge it
86
87
  into each of those branches. (topgit automates this merging process.) This
@@ -98,15 +99,15 @@ then need to change A?
98
99
  In practice, this comes up pretty rarely. Suggestions for better workflows are
99
100
  welcome.
100
101
 
101
- ## Bash auto complition
102
+ ## Bash auto completion
102
103
 
103
104
  1. Ensure that your base git commands are autocompleted
104
105
  [doc](https://git-scm.com/book/en/v1/Git-Basics-Tips-and-Tricks).
105
106
  2. Add this to your .bashrc:
106
-
107
+
107
108
  # The next line enables bash completion for git cl.
108
109
  if [ -f "$HOME/bin/depot_tools/git_cl_completion.sh" ]; then
109
110
  . "$HOME/bin/depot_tools/git_cl_completion.sh"
110
111
  fi
111
-
112
+
112
113
  3. Profit.
@@ -32,8 +32,7 @@ disable auto update, set the environment variable `DEPOT_TOOLS_UPDATE=0`.
32
32
  To update package manually, run `update_depot_tools.bat` on Windows,
33
33
  or `./update_depot_tools` on Linux or Mac.
34
34
 
35
- On Windows only, running `gclient` will install `svn` (not for long), `git`,
36
- `python`.
35
+ On Windows only, running `gclient` will install `git` and `python`.
37
36
 
38
37
 
39
38
  ## Contributing
@@ -54,7 +53,7 @@ To contribute change for review:
54
53
  # Edit change description if needed.
55
54
  git cl desc
56
55
 
57
- # If change is approved, flag it to be commited.
56
+ # If change is approved, flag it to be committed.
58
57
  git cl set-commit
59
58
 
60
59
  # If change needs more work.
@@ -25,7 +25,6 @@
25
25
  'tandrii+omg_git_cl@chromium.org',
26
26
  ],
27
27
  'depot_tools': [
28
- 'dpranke+depot_tools@chromium.org',
29
28
  'iannucci+depot_tools@chromium.org',
30
29
  ],
31
30
  },
@@ -0,0 +1,23 @@
1
+ # Copyright (c) 2016 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
+ """Ensures that all depot_tools talks directly to appengine to avoid SNI."""
6
+
7
+ import urlparse
8
+
9
+
10
+ mapping = {
11
+ 'codereview.chromium.org': 'chromiumcodereview.appspot.com',
12
+ 'crashpad.chromium.org': 'crashpad-home.appspot.com',
13
+ 'bugs.chromium.org': 'monorail-prod.appspot.com',
14
+ 'bugs-staging.chromium.org': 'monorail-staging.appspot.com',
15
+ }
16
+
17
+
18
+ def MapUrl(url):
19
+ parts = list(urlparse.urlsplit(url))
20
+ new_netloc = mapping.get(parts[1])
21
+ if new_netloc:
22
+ parts[1] = new_netloc
23
+ return urlparse.urlunsplit(parts)
@@ -159,7 +159,7 @@ def main():
159
159
  properties = None
160
160
  # Bad except clauses order (HTTPError is an ancestor class of
161
161
  # ClientLoginError)
162
- # pylint: disable=E0701
162
+ # pylint: disable=bad-except-order
163
163
  try:
164
164
  properties = rietveld_obj.get_issue_properties(options.issue, False)
165
165
  except urllib2.HTTPError as e:
@@ -263,12 +263,8 @@ def main():
263
263
  patch.patchlevel += options.extra_patchlevel
264
264
  full_dir = os.path.abspath(options.root_dir)
265
265
  scm_type = scm.determine_scm(full_dir)
266
- if scm_type == 'svn':
267
- scm_obj = checkout.SvnCheckout(full_dir, None, None, None, None)
268
- elif scm_type == 'git':
266
+ if scm_type == 'git':
269
267
  scm_obj = checkout.GitCheckout(full_dir, None, None, None, None)
270
- elif scm_type == None:
271
- scm_obj = checkout.RawCheckout(full_dir, None, None)
272
268
  else:
273
269
  parser.error('Couldn\'t determine the scm')
274
270
 
@@ -306,8 +302,6 @@ def main():
306
302
  '--nohooks',
307
303
  '--delete_unversioned_trees',
308
304
  ]
309
- if scm_type == 'svn':
310
- cmd.extend(['--revision', 'BASE'])
311
305
  if options.revision_mapping:
312
306
  cmd.extend(['--output-json', f])
313
307