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

Issue 2574033002: Downloading Node and NPM deps via gclient sync. (Closed)

Created:
4 years ago by dpapad
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Downloading Node and NPM deps via gclient sync. This is necessary for WebUI to harness several Node based tools to speed up performance, as well as remove generated code that is currently checked in as source code. Discussion occurred at: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/H2IqgqwdUqs/yn_6_z0cDwAJ BUG=673825 Review-Url: https://codereview.chromium.org/2574033002 Cr-Commit-Position: refs/heads/master@{#443777} Committed: https://chromium.googlesource.com/chromium/src/+/cbee6ab37edb7df0d8d5354fd2af29e968f33e94

Patch Set 1 : update gitignore #

Patch Set 2 : Add windows. #

Patch Set 3 : Merge conflicts. #

Patch Set 4 : Add README.chromium #

Patch Set 5 : fix win #

Patch Set 6 : Add LICENSE file #

Patch Set 7 : expect checklicenses to blow up. #

Patch Set 8 : Pull down NPM dependencies too. #

Patch Set 9 : Avoid unnecessary re-downloading . #

Patch Set 10 : Reduce NPM deps size #

Total comments: 4

Patch Set 11 : Add update scripts #

Total comments: 7

Patch Set 12 : Address comments + some fixes. #

Patch Set 13 : Nit #

Total comments: 10

Patch Set 14 : Nits. #

Patch Set 15 : Add quotes around bash variables. #

Patch Set 16 : Update node_modules sha1 #

Total comments: 7

Patch Set 17 : Address comments. #

Total comments: 2

Patch Set 18 : Nits. #

Total comments: 6

Patch Set 19 : Nits. #

Patch Set 20 : Add missing sha1 file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1427 lines, -0 lines) Patch
M .gitignore View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/node/LICENSE View 1 2 3 4 5 1 chunk +1192 lines, -0 lines 0 comments Download
A third_party/node/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/node/README.chromium View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/node/linux/node-linux-x64.tar.gz.sha1 View 1 2 3 4 5 6 7 8 9 10 11 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
A third_party/node/mac/node-darwin-x64.tar.gz.sha1 View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A third_party/node/node_modules.tar.gz.sha1 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
A third_party/node/npm_exclude.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/node/package.json View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/node/update_node_binaries View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +93 lines, -0 lines 0 comments Download
A third_party/node/update_npm_deps View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/node/win/node.exe.sha1 View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 81 (50 generated)
Dirk Pranke
This basically looks okay, except we need to know how to be able to recreate ...
3 years, 11 months ago (2017-01-09 02:09:48 UTC) #26
dpapad
dbeam: Feel free to suggest bash scripts improvements. https://codereview.chromium.org/2574033002/diff/240001/third_party/node/README.chromium File third_party/node/README.chromium (right): https://codereview.chromium.org/2574033002/diff/240001/third_party/node/README.chromium#newcode3 third_party/node/README.chromium:3: URL: ...
3 years, 11 months ago (2017-01-10 19:59:49 UTC) #29
scottchen
https://codereview.chromium.org/2574033002/diff/280001/third_party/node/npm_exclude.txt File third_party/node/npm_exclude.txt (right): https://codereview.chromium.org/2574033002/diff/280001/third_party/node/npm_exclude.txt#newcode8 third_party/node/npm_exclude.txt:8: *.png would we run into issues excluding .png, .svg, ...
3 years, 11 months ago (2017-01-10 21:56:05 UTC) #31
Dan Beam
https://codereview.chromium.org/2574033002/diff/280001/third_party/node/npm_exclude.txt File third_party/node/npm_exclude.txt (right): https://codereview.chromium.org/2574033002/diff/280001/third_party/node/npm_exclude.txt#newcode8 third_party/node/npm_exclude.txt:8: *.png On 2017/01/10 21:56:05, scottchen wrote: > would we ...
3 years, 11 months ago (2017-01-10 22:03:28 UTC) #32
Dan Beam
you might want to start using python instead of shell for the update scripts. i ...
3 years, 11 months ago (2017-01-10 22:09:13 UTC) #33
dpapad
On 2017/01/10 at 22:09:13, dbeam wrote: > you might want to start using python instead ...
3 years, 11 months ago (2017-01-10 22:35:13 UTC) #34
dpapad
Updated bash scripts to conform to the bash styleguide, as well as addressed issue with ...
3 years, 11 months ago (2017-01-11 19:08:11 UTC) #35
Dan Beam
On 2017/01/11 19:08:11, dpapad wrote: > Updated bash scripts to conform to the bash styleguide, ...
3 years, 11 months ago (2017-01-11 19:09:37 UTC) #36
dpapad
On 2017/01/11 at 19:09:37, dbeam wrote: > On 2017/01/11 19:08:11, dpapad wrote: > > Updated ...
3 years, 11 months ago (2017-01-11 19:17:31 UTC) #39
Dan Beam
i didn't review the bash with an insanely fine-toothed comb because i doubt there will ...
3 years, 11 months ago (2017-01-11 20:17:50 UTC) #40
palmer
Note for the future: It's best to send a note to security@chromium.org about the CL, ...
3 years, 11 months ago (2017-01-11 20:44:39 UTC) #42
palmer
https://codereview.chromium.org/2574033002/diff/320001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/320001/third_party/node/update_node_binaries#newcode28 third_party/node/update_node_binaries:28: rm ${FOLDER}/${FILENAME} > rm -f "${FOLDER}/${FILENAME}" It's crucial to ...
3 years, 11 months ago (2017-01-11 20:53:51 UTC) #43
Dan Beam
https://codereview.chromium.org/2574033002/diff/320001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/320001/third_party/node/update_node_binaries#newcode28 third_party/node/update_node_binaries:28: rm ${FOLDER}/${FILENAME} On 2017/01/11 20:53:51, palmer wrote: > > ...
3 years, 11 months ago (2017-01-11 20:58:58 UTC) #44
dpapad
https://codereview.chromium.org/2574033002/diff/320001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/320001/third_party/node/update_node_binaries#newcode28 third_party/node/update_node_binaries:28: rm ${FOLDER}/${FILENAME} On 2017/01/11 at 20:17:50, Dan Beam wrote: ...
3 years, 11 months ago (2017-01-11 21:58:10 UTC) #45
Dirk Pranke
Hi all, I haven't been able to get to this yet, my apologies! I will ...
3 years, 11 months ago (2017-01-12 03:07:05 UTC) #54
dpapad
@palmer ping. Is there anything else to address related to security?
3 years, 11 months ago (2017-01-13 00:30:51 UTC) #55
palmer
https://codereview.chromium.org/2574033002/diff/380001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/380001/third_party/node/update_node_binaries#newcode28 third_party/node/update_node_binaries:28: wget -P "${FOLDER}/" "${URL}" Might be good to check ...
3 years, 11 months ago (2017-01-13 01:02:28 UTC) #56
Dirk Pranke
lgtm.
3 years, 11 months ago (2017-01-13 01:40:43 UTC) #57
M-A Ruel
https://codereview.chromium.org/2574033002/diff/380001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/380001/third_party/node/update_node_binaries#newcode28 third_party/node/update_node_binaries:28: wget -P "${FOLDER}/" "${URL}" On 2017/01/13 01:02:27, palmer wrote: ...
3 years, 11 months ago (2017-01-13 02:25:04 UTC) #59
dpapad
Addressed comments. PTAL. Also, after looking at the SHA256SUM file I realized that there was ...
3 years, 11 months ago (2017-01-13 03:28:10 UTC) #60
Dan Beam
still lgtm https://codereview.chromium.org/2574033002/diff/400001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/400001/third_party/node/update_node_binaries#newcode70 third_party/node/update_node_binaries:70: echo $sha256_expected $sha256_actual debug statement?
3 years, 11 months ago (2017-01-13 03:34:12 UTC) #61
dpapad
https://codereview.chromium.org/2574033002/diff/400001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/400001/third_party/node/update_node_binaries#newcode70 third_party/node/update_node_binaries:70: echo $sha256_expected $sha256_actual On 2017/01/13 at 03:34:12, Dan Beam ...
3 years, 11 months ago (2017-01-13 03:36:29 UTC) #62
M-A Ruel
rs lgtm
3 years, 11 months ago (2017-01-13 14:17:54 UTC) #63
palmer
LGTM % nits and quotes https://codereview.chromium.org/2574033002/diff/420001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/420001/third_party/node/update_node_binaries#newcode31 third_party/node/update_node_binaries:31: sha256_expected="$(cat SHASUMS256.txt | grep ...
3 years, 11 months ago (2017-01-13 20:56:28 UTC) #64
dpapad
https://codereview.chromium.org/2574033002/diff/420001/third_party/node/update_node_binaries File third_party/node/update_node_binaries (right): https://codereview.chromium.org/2574033002/diff/420001/third_party/node/update_node_binaries#newcode31 third_party/node/update_node_binaries:31: sha256_expected="$(cat SHASUMS256.txt | grep ${FILENAME} | cut -d ' ...
3 years, 11 months ago (2017-01-13 22:35:15 UTC) #65
dpapad
FYI open source licensing review completed.
3 years, 11 months ago (2017-01-14 01:34:45 UTC) #68
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/2574033002/440001
3 years, 11 months ago (2017-01-14 01:45:03 UTC) #71
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/193826) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 11 months ago (2017-01-14 01:49:11 UTC) #73
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/2574033002/460001
3 years, 11 months ago (2017-01-14 01:55:56 UTC) #76
commit-bot: I haz the power
Committed patchset #20 (id:460001) as https://chromium.googlesource.com/chromium/src/+/cbee6ab37edb7df0d8d5354fd2af29e968f33e94
3 years, 11 months ago (2017-01-14 03:06:35 UTC) #79
Wez
3 years, 10 months ago (2017-02-07 19:52:44 UTC) #81
Message was sent while issue was closed.
Hallo sky@chromium.org!
Due to a depot_tools patch which mistakenly removed the OWNERS check for
non-source files (see crbug.com/684270), the following files landed in this CL
and need a retrospective review from you:
	third_party/node/LICENSE
	third_party/node/OWNERS
	third_party/node/README.chromium
	third_party/node/linux/node-linux-x64.tar.gz.sha1
	third_party/node/mac/node-darwin-x64.tar.gz.sha1
	third_party/node/node_modules.tar.gz.sha1
	third_party/node/npm_exclude.txt
	third_party/node/package.json
	third_party/node/update_node_binaries
	third_party/node/update_npm_deps
	third_party/node/win/node.exe.sha1
Thanks,
Wez

Powered by Google App Engine
This is Rietveld 408576698