libv8 7.3.492.27.1 → 7.3.492.27.3beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/ext/libv8/builder.rb +1 -2
  4. data/lib/libv8/version.rb +1 -1
  5. data/vendor/depot_tools/.gitignore +4 -1
  6. data/vendor/depot_tools/autoninja.bat +8 -0
  7. data/vendor/depot_tools/autoninja.py +1 -1
  8. data/vendor/depot_tools/cipd_manifest.txt +2 -2
  9. data/vendor/depot_tools/cipd_manifest.versions +52 -52
  10. data/vendor/depot_tools/gclient.py +4 -1
  11. data/vendor/depot_tools/gclient_scm.py +17 -6
  12. data/vendor/depot_tools/git_cache.py +109 -128
  13. data/vendor/depot_tools/git_cl.py +98 -26
  14. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  15. data/vendor/depot_tools/man/src/filter_demo_output.py +1 -1
  16. data/vendor/depot_tools/metrics.README.md +3 -3
  17. data/vendor/depot_tools/metrics.py +3 -2
  18. data/vendor/depot_tools/metrics_utils.py +1 -11
  19. data/vendor/depot_tools/owners.py +109 -32
  20. data/vendor/depot_tools/patch.py +1 -1
  21. data/vendor/depot_tools/recipes/README.recipes.md +23 -20
  22. data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +1 -0
  23. data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +67 -51
  24. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic.json +7 -0
  25. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_luci.json +7 -0
  26. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/basic_with_branch_heads.json +7 -0
  27. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/clobber.json +7 -0
  28. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +1 -1
  29. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_rebase_patch_ref.json +7 -0
  30. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/gerrit_no_reset.json +7 -0
  31. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/input_commit_with_id_without_repo.json +7 -0
  32. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/multiple_patch_refs.json +7 -0
  33. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_apply_patch_on_gclient.json +8 -1
  34. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_HEAD.json +57 -0
  35. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_a_branch_head.json +59 -0
  36. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_a_specific_commit.json +57 -0
  37. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_master.json +59 -0
  38. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/refs.json +7 -0
  39. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/reset_root_solution_revision.json +7 -0
  40. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +1 -1
  41. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +9 -2
  42. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +8 -1
  43. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle.json +8 -1
  44. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_branch_heads.json +8 -1
  45. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_feature_branch.json +11 -2
  46. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_v8_feature_branch.json +9 -2
  47. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_webrtc.json +8 -1
  48. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +8 -1
  49. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +8 -1
  50. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_manifest_name.json +0 -7
  51. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/with_tags.json +7 -0
  52. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py +92 -3
  53. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +2 -2
  54. data/vendor/depot_tools/scm.py +1 -1
  55. data/vendor/depot_tools/upload_to_google_storage.py +1 -1
  56. metadata +8 -4
@@ -96,6 +96,13 @@
96
96
  "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@@"
97
97
  ]
98
98
  },
99
+ {
100
+ "cmd": [],
101
+ "name": "set_output_gitiles_commit",
102
+ "~followup_annotations": [
103
+ "@@@SET_BUILD_PROPERTY@$recipe_engine/buildbucket/output_gitiles_commit@{\"host\": \"fake.org\", \"id\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", \"position\": 170242, \"project\": \"src\", \"ref\": \"refs/heads/master\"}@@@"
104
+ ]
105
+ },
99
106
  {
100
107
  "cmd": [
101
108
  "python",
@@ -15,6 +15,8 @@ DEPS = [
15
15
  'recipe_engine/runtime',
16
16
  ]
17
17
 
18
+ from recipe_engine import types
19
+
18
20
  from PB.go.chromium.org.luci.buildbucket.proto.build import Build
19
21
 
20
22
  def RunSteps(api):
@@ -55,8 +57,12 @@ def RunSteps(api):
55
57
  api.properties.get('gerrit_no_rebase_patch_ref'))
56
58
  manifest_name = api.properties.get('manifest_name')
57
59
  patch_refs = api.properties.get('patch_refs')
58
- set_output_commit = api.properties.get('set_output_commit', False)
60
+ set_output_commit = api.properties.get('set_output_commit', True)
59
61
 
62
+ step_test_data = None
63
+ bot_update_output = types.thaw(api.properties.get('bot_update_output'))
64
+ if bot_update_output:
65
+ step_test_data = lambda: api.json.test_api.output(bot_update_output)
60
66
  bot_update_step = api.bot_update.ensure_checkout(
61
67
  patch=patch,
62
68
  with_branch_heads=with_branch_heads,
@@ -71,6 +77,7 @@ def RunSteps(api):
71
77
  manifest_name=manifest_name,
72
78
  patch_refs=patch_refs,
73
79
  set_output_commit=set_output_commit,
80
+ step_test_data=step_test_data,
74
81
  )
75
82
  if patch:
76
83
  api.bot_update.deapply_patch(bot_update_step)
@@ -118,7 +125,10 @@ def GenTests(api):
118
125
  yield (
119
126
  api.test('with_manifest_name') +
120
127
  ci_build() +
121
- api.properties(manifest_name='checkout', set_output_commit=True) +
128
+ api.properties(
129
+ manifest_name='checkout',
130
+ set_output_commit=False,
131
+ ) +
122
132
  api.step_data('bot_update (without patch)', api.json.output({
123
133
  'source_manifest': {
124
134
  'directories': {
@@ -148,7 +158,10 @@ def GenTests(api):
148
158
  yield (
149
159
  api.test('deprecated_got_revision_mapping') +
150
160
  try_build() +
151
- api.properties(deprecated_got_revision_mapping=True)
161
+ api.properties(
162
+ deprecated_got_revision_mapping=True,
163
+ set_output_commit=False,
164
+ )
152
165
  )
153
166
  yield (
154
167
  api.test('refs') +
@@ -233,3 +246,79 @@ def GenTests(api):
233
246
  ],
234
247
  )
235
248
  )
249
+
250
+ yield (
251
+ api.test('no_cp_checkout_a_specific_commit') +
252
+ ci_build(revision='a' * 40) +
253
+ api.properties(
254
+ revisions={'got_revision': 'src'},
255
+ bot_update_output={
256
+ 'properties': {
257
+ 'got_revision': 'a' * 40,
258
+ },
259
+ 'manifest': {
260
+ 'src': {
261
+ 'revision': 'a' * 40,
262
+ 'repository': 'https://chromium.googlesource.com/chromium/src',
263
+ }
264
+ }
265
+ }
266
+ )
267
+ )
268
+
269
+ yield (
270
+ api.test('no_cp_checkout_master') +
271
+ ci_build(revision='') +
272
+ api.properties(
273
+ revisions={'got_revision': 'src'},
274
+ bot_update_output={
275
+ 'properties': {
276
+ 'got_revision': 'a' * 40,
277
+ },
278
+ 'manifest': {
279
+ 'src': {
280
+ 'revision': 'a' * 40,
281
+ 'repository': 'https://chromium.googlesource.com/chromium/src',
282
+ }
283
+ }
284
+ }
285
+ )
286
+ )
287
+
288
+ yield (
289
+ api.test('no_cp_checkout_a_branch_head') +
290
+ ci_build(revision='', git_ref='refs/branch-heads/x') +
291
+ api.properties(
292
+ revisions={'got_revision': 'src'},
293
+ bot_update_output={
294
+ 'properties': {
295
+ 'got_revision': 'a' * 40,
296
+ },
297
+ 'manifest': {
298
+ 'src': {
299
+ 'revision': 'a' * 40,
300
+ 'repository': 'https://chromium.googlesource.com/chromium/src',
301
+ }
302
+ }
303
+ }
304
+ )
305
+ )
306
+
307
+ yield (
308
+ api.test('no_cp_checkout_HEAD') +
309
+ ci_build(revision='HEAD') +
310
+ api.properties(
311
+ revisions={'got_revision': 'src'},
312
+ bot_update_output={
313
+ 'properties': {
314
+ 'got_revision': 'a' * 40,
315
+ },
316
+ 'manifest': {
317
+ 'src': {
318
+ 'revision': 'a' * 40,
319
+ 'repository': 'https://chromium.googlesource.com/chromium/src',
320
+ }
321
+ }
322
+ }
323
+ )
324
+ )
@@ -153,10 +153,10 @@ def wasm_llvm(c):
153
153
  @config_ctx()
154
154
  def emscripten_releases(c):
155
155
  s = c.solutions.add()
156
- s.name = 'emscripten_releases'
156
+ s.name = 'emscripten-releases'
157
157
  s.url = ChromiumGitURL(c, 'emscripten-releases.git')
158
158
  m = c.got_revision_mapping
159
- m['emscripten_releases'] = 'got_revision'
159
+ m['emscripten-releases'] = 'got_revision'
160
160
 
161
161
  @config_ctx()
162
162
  def gyp(c):
@@ -147,7 +147,7 @@ class GIT(object):
147
147
  # 3-way merges can cause the status can be 'MMM' instead of 'M'. This
148
148
  # can happen when the user has 2 local branches and he diffs between
149
149
  # these 2 branches instead diffing to upstream.
150
- m = re.match('^(\w)+\t(.+)$', statusline)
150
+ m = re.match(r'^(\w)+\t(.+)$', statusline)
151
151
  if not m:
152
152
  raise gclient_utils.Error(
153
153
  'status currently unsupported: %s' % statusline)
@@ -77,7 +77,7 @@ def _upload_worker(
77
77
  if gsutil.check_call('ls', file_url)[0] == 0 and not force:
78
78
  # File exists, check MD5 hash.
79
79
  _, out, _ = gsutil.check_call_with_retries('ls', '-L', file_url)
80
- etag_match = re.search('ETag:\s+([a-z0-9]{32})', out)
80
+ etag_match = re.search(r'ETag:\s+([a-z0-9]{32})', out)
81
81
  if etag_match:
82
82
  remote_md5 = etag_match.group(1)
83
83
  # Calculate the MD5 checksum to match it to Google Storage's ETag.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.492.27.1
4
+ version: 7.3.492.27.3beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Lowell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-24 00:00:00.000000000 Z
11
+ date: 2019-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -419,6 +419,10 @@ files:
419
419
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/input_commit_with_id_without_repo.json
420
420
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/multiple_patch_refs.json
421
421
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_apply_patch_on_gclient.json
422
+ - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_HEAD.json
423
+ - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_a_branch_head.json
424
+ - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_a_specific_commit.json
425
+ - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/no_cp_checkout_master.json
422
426
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/refs.json
423
427
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/reset_root_solution_revision.json
424
428
  - vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json
@@ -993,9 +997,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
993
997
  version: '0'
994
998
  required_rubygems_version: !ruby/object:Gem::Requirement
995
999
  requirements:
996
- - - ">="
1000
+ - - ">"
997
1001
  - !ruby/object:Gem::Version
998
- version: '0'
1002
+ version: 1.3.1
999
1003
  requirements: []
1000
1004
  rubygems_version: 3.0.3
1001
1005
  signing_key: