Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Issue 2744663005: Add script to update relevant changes to Node.js. (Closed)

Created:
3 years, 9 months ago by Yang
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add script to update relevant changes to Node.js. NOTRY=true BUG=v8:6091 R=franzih@chromium.org, machenbach@chromium.org, ofrobots@google.com Review-Url: https://codereview.chromium.org/2744663005 Cr-Commit-Position: refs/heads/master@{#43764} Committed: https://chromium.googlesource.com/v8/v8/+/f52a483305b2c524b6f2fa9066c8fb097fc11a47

Patch Set 1 #

Total comments: 17

Patch Set 2 : address comments #

Patch Set 3 : address comments #

Total comments: 4

Patch Set 4 : added test #

Total comments: 5

Patch Set 5 : address nits #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, --2 lines) Patch
A tools/release/test_update_node.py View 1 2 3 1 chunk +91 lines, -0 lines 3 comments Download
A tools/release/testdata/node/deps/v8/.gitignore View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A tools/release/testdata/node/deps/v8/baz/delete_me View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/node/deps/v8/baz/v8_foo View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/node/deps/v8/delete_me View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/node/deps/v8/v8_foo View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/.gitignore View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A tools/release/testdata/v8/baz/v8_foo View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/baz/v8_new View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/new/v8_new View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/testing/gtest/baz/gtest_foo View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/testing/gtest/baz/gtest_new View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/testing/gtest/gtest_bar View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/testing/gtest/gtest_new View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/testing/gtest/new/gtest_new View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/third_party/jinja2/jinja2 View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/release/testdata/v8/third_party/markupsafe/markupsafe View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/release/testdata/v8/v8_foo View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/testdata/v8/v8_new View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/release/update_node.py View 1 2 3 4 1 chunk +113 lines, -0 lines 1 comment Download

Messages

Total messages: 30 (9 generated)
Yang
3 years, 9 months ago (2017-03-10 11:03:21 UTC) #1
Michael Achenbach
Could you maybe add some simple system tests? Or I could also give it a ...
3 years, 9 months ago (2017-03-10 13:35:06 UTC) #2
Yang
I'm not sure how to create a system test like the one you have in ...
3 years, 9 months ago (2017-03-13 08:25:49 UTC) #3
Michael Achenbach
Working on a test... will send you the patch. https://codereview.chromium.org/2744663005/diff/1/tools/release/update_node.py File tools/release/update_node.py (right): https://codereview.chromium.org/2744663005/diff/1/tools/release/update_node.py#newcode30 tools/release/update_node.py:30: ...
3 years, 9 months ago (2017-03-13 10:33:23 UTC) #4
Michael Achenbach
Fun fact: In gerrit I could have uploaded a patchset with the test to your ...
3 years, 9 months ago (2017-03-13 10:41:02 UTC) #5
Michael Achenbach
Reupped the CL with a test here: https://codereview.chromium.org/2748623003 - maybe you can incorporate it? Required ...
3 years, 9 months ago (2017-03-13 10:46:50 UTC) #6
Yang
On 2017/03/13 10:46:50, Michael Achenbach wrote: > Reupped the CL with a test here: https://codereview.chromium.org/2748623003 ...
3 years, 9 months ago (2017-03-13 13:07:35 UTC) #7
Franzi
lgtm
3 years, 9 months ago (2017-03-13 17:02:32 UTC) #8
Michael Achenbach
lgtm for the script as is. the test could also land separately, up to you. ...
3 years, 9 months ago (2017-03-13 17:13:20 UTC) #9
Yang
https://codereview.chromium.org/2744663005/diff/40001/tools/release/update_node.py File tools/release/update_node.py (right): https://codereview.chromium.org/2744663005/diff/40001/tools/release/update_node.py#newcode21 tools/release/update_node.py:21: ADD_TO_GITIGNORE = [ "/testing/gtest/*", On 2017/03/13 17:13:20, Michael Achenbach ...
3 years, 9 months ago (2017-03-14 07:49:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2744663005/60001
3 years, 9 months ago (2017-03-14 08:02:00 UTC) #13
Michael Achenbach
https://codereview.chromium.org/2744663005/diff/60001/tools/release/update_node.py File tools/release/update_node.py (right): https://codereview.chromium.org/2744663005/diff/60001/tools/release/update_node.py#newcode35 tools/release/update_node.py:35: if subprocess.call("gclient sync --nohooks", cwd=path, shell=True) != 0: nit: ...
3 years, 9 months ago (2017-03-14 08:20:25 UTC) #14
Yang
Addressed nits. https://codereview.chromium.org/2744663005/diff/60001/tools/release/update_node.py File tools/release/update_node.py (right): https://codereview.chromium.org/2744663005/diff/60001/tools/release/update_node.py#newcode35 tools/release/update_node.py:35: if subprocess.call("gclient sync --nohooks", cwd=path, shell=True) != ...
3 years, 9 months ago (2017-03-14 08:24:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2744663005/80001
3 years, 9 months ago (2017-03-14 08:24:30 UTC) #20
Michael Achenbach
I assume markupsafe and jinja test files are only added for the script to not ...
3 years, 9 months ago (2017-03-14 08:24:50 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/v8/v8/+/f52a483305b2c524b6f2fa9066c8fb097fc11a47
3 years, 9 months ago (2017-03-14 08:26:19 UTC) #24
Yang
https://codereview.chromium.org/2744663005/diff/80001/tools/release/test_update_node.py File tools/release/test_update_node.py (right): https://codereview.chromium.org/2744663005/diff/80001/tools/release/test_update_node.py#newcode71 tools/release/test_update_node.py:71: gitify(os.path.join(v8_cwd, *repository)) They are gitified here :)
3 years, 9 months ago (2017-03-14 08:26:27 UTC) #25
Michael Achenbach
https://codereview.chromium.org/2744663005/diff/60001/tools/release/update_node.py File tools/release/update_node.py (right): https://codereview.chromium.org/2744663005/diff/60001/tools/release/update_node.py#newcode49 tools/release/update_node.py:49: if not os.path.exists(target): On 2017/03/14 08:24:12, Yang wrote: > ...
3 years, 9 months ago (2017-03-14 08:37:26 UTC) #26
Michael Achenbach
Any tracker bug for work on this?
3 years, 9 months ago (2017-03-14 08:50:58 UTC) #27
Yang
On 2017/03/14 08:50:58, Michael Achenbach wrote: > Any tracker bug for work on this? It ...
3 years, 9 months ago (2017-03-14 09:28:03 UTC) #28
Michael Achenbach
3 years, 9 months ago (2017-03-16 11:29:19 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/2744663005/diff/80001/tools/release/update_no...
File tools/release/update_node.py (right):

https://codereview.chromium.org/2744663005/diff/80001/tools/release/update_no...
tools/release/update_node.py:15: ["third_party", "jinja2"],
Why isn't base/trace_event/common added here? It's depsed into V8:
https://cs.chromium.org/chromium/src/v8/DEPS?l=20

And it is checked into node. I assume we would miss updates to it? The clean
command below is executed before altering the .gitignore, like that, node's
version of it is not cleaned up.

Powered by Google App Engine
This is Rietveld 408576698