-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "win,msi: install tools for native modules" #24344
Revert "win,msi: install tools for native modules" #24344
Conversation
/CC @nodejs/lts @nodejs/platform-windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note the last two commits never made it to a release, we can't really judge their impact. I'm OK with doing this only in v11 for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I feel bad for saying this, but imo they weren't needed in the first place
@joaocgreis I targeted this for v10. Is that Ok? |
@cfanoulis for the record, making it easier for Windows users to install native-addons has been a long time goal. With this PR I'm not advocating removing the new script, it just needs more work, and it probably just not ready for our LTS release line. |
I have been discussing this with other developers over other media upon the releasing of v10.12.0 , and everyone was questioning themselves: You may say, but they didn't select an NPM installation. Wouldn't hurt (always in my belief) to briefly install npm, get the build tools, then uninstall npm |
@refack This is OK, I'm sorry I was not clear. By "I'm OK with doing this only in v11 for now" I meant judging the impact of the last 2 commits, that should be included in the next v11 release. |
That's a fair question. See #22311 (comment) for some discussion. Short answer is we are looking for a formula were we control its lifecycle, and that will get Microsoft's blessing. We are going to continue improving |
@cfanoulis I also talked about |
Release CI as test: https://ci-release.nodejs.org/job/iojs+release/3928/nodes=vs2017-x64/ |
Since this is on an LTS release line, I guess someone from @nodejs/releasers has to land it. FWIW, IMO it would be nice if this landed sooner rather than later. |
@nodejs/lts |
So it's fine for any collaborator to land in
I'm not sure when we're planning the next 10.x release, @nodejs/lts? |
This reverts: Revision: 257a5e9 win: add prompt to tools installation script Revision: e9a2915 win: clarify Boxstarter behavior on install tools Revision: 3b895d1 win,msi: display license notes before installing tools Revision: cf284c8 win,msi: install Boxstarter from elevated shell Revision: 2b7e18d win,msi: highlight installation of 3rd-party tools Revision: ebf36cd win,msi: install tools for native modules PR-URL: nodejs#24344 Refs: nodejs#22645 Refs: nodejs#23987 Refs: nodejs/Release#369 Refs: nodejs#23838 Refs: nodejs/security-wg#439 Reviewed-By: João Reis <[email protected]> Reviewed-By: Richard Lau <[email protected]>
5e835a7
to
469473d
Compare
@refack you are not a member of @nodejs/backporters and as such should not have landed this on a staging branch. If you are not seeing things move fast enough please feel free to ping someone directly. |
@MylesBorins Please read comment above by @richardlau |
@refack that is a misreading imho... we have never allowed for non LTS members to backport to the staging branch |
Then the documentation should be fixed. We cannot assume that every collaborator knows that we do not effectively follow the rule as it is written. |
So I'll take responsibility here as per my comment above. IMO it's not a misreading -- the documented process is plainly wrong if we're restricting landing commits on staging branches. (#24465 will address this for the collaborator guide). Neither the collaborator guide nor the release README (https://github.com/nodejs/Release/blob/20ff702661d11d5ceeeb495764e575ba13e5fc17/README.md#lts-staging-branches) forbid non-LTS members from landing in the LTS staging branches. The language in both makes distinctions between the release branches (e.g. |
Current language is a bit confusing PR-URL: #24465 Refs: #24344 (comment) Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Current language is a bit confusing PR-URL: #24465 Refs: #24344 (comment) Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Hi, can this be reopened? While it removes the damaging scripts, no documentation is added to address reverting PC's that have already been modified by these scripts. A documentation update should be included with this change as a good number of the people I have polled have experienced some form of system corruption (many were not even aware Node.JS was the source until I brought this to their attention!). This change currently only prevents further damage to users systems. I would like to see it go further to help repair the corrupted systems that now exist. The current best option is reinstalling the OS which is an awful one. |
Hello @runewake2, |
Hey @runewake2, Would you be willing to clarify what you mean by saying
Whilst I was again this change, I tried this installation method on different hardware and/or different OS versions (Windows 7/8.1/10) and I never experienced any errors and/or system corruptions. ~Charalampos |
This enrolled my PC in group policy, disabled UAC and disabled automatic updates at a minimum (I haven't fully looked into the extent of the changes, one person mentioned their Windows Store no longer functioning though I don't have that issue). See #24637, happy to discuss further over there. A number of my viewers have reached out to confirm this same policy had been added to their PC's as well after installing Node.JS. The fact that these changes may have occurred is extremely unclear (hidden in a ~9000 line log file under |
Not answering for @runewake2, but in my POV, boot loops, or system left with UAC / auto-update disabled, is some measure of corruption. |
Oh, I see. Thanks @runewake2 and @refhack , I see good reasoning now behind this revert |
This reverts: Revision: 257a5e9 win: add prompt to tools installation script Revision: e9a2915 win: clarify Boxstarter behavior on install tools Revision: 3b895d1 win,msi: display license notes before installing tools Revision: cf284c8 win,msi: install Boxstarter from elevated shell Revision: 2b7e18d win,msi: highlight installation of 3rd-party tools Revision: ebf36cd win,msi: install tools for native modules PR-URL: #24344 Refs: #22645 Refs: #23987 Refs: nodejs/Release#369 Refs: #23838 Refs: nodejs/security-wg#439 Reviewed-By: João Reis <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Current language is a bit confusing PR-URL: #24465 Refs: #24344 (comment) Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
This reverts: Revision: 257a5e9 win: add prompt to tools installation script Revision: e9a2915 win: clarify Boxstarter behavior on install tools Revision: 3b895d1 win,msi: display license notes before installing tools Revision: cf284c8 win,msi: install Boxstarter from elevated shell Revision: 2b7e18d win,msi: highlight installation of 3rd-party tools Revision: ebf36cd win,msi: install tools for native modules PR-URL: #24344 Refs: #22645 Refs: #23987 Refs: nodejs/Release#369 Refs: #23838 Refs: nodejs/security-wg#439 Reviewed-By: João Reis <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Current language is a bit confusing PR-URL: #24465 Refs: #24344 (comment) Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Current language is a bit confusing PR-URL: nodejs#24465 Refs: nodejs#24344 (comment) Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Current language is a bit confusing PR-URL: #24465 Refs: #24344 (comment) Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Current language is a bit confusing PR-URL: #24465 Refs: #24344 (comment) Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
This reverts #22645 and subsequent patches for the v10.x branch.
Revision: 257a5e9
win: add prompt to tools installation script
Revision: e9a2915
win: clarify Boxstarter behavior on install tools
Revision: 3b895d1
win,msi: display license notes before installing tools
Revision: cf284c8
win,msi: install Boxstarter from elevated shell
Revision: 2b7e18d
win,msi: highlight installation of 3rd-party tools
Revision: ebf36cd
win,msi: install tools for native modules
Refs: #22645
Refs: #23987
Refs: nodejs/Release#369
Refs: #23838
Refs: nodejs/security-wg#439
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes