-
Notifications
You must be signed in to change notification settings - Fork 1.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
fix: re-add support for iojs prefixed headers to support Electron 3 #1777
Conversation
cc @bnoordhuis |
#1777 prevents Electron builds on existing supported versions of Electron. I'd be great if this PR would get a bit more attention, please. cc @richardlau and @rvagg who reviewed and merged #1670. |
"still a supported release line" using io.js? Seriously? That's a very very bad idea. I can think of just a few vulnerabilities off the top of my head in the last couple of years, let alone the many since we dropped io.js 4 years ago. We never had an LTS strategy in place for io.js, that came with the merge & Node 4. I think this might be up to Electron or Electron 3 users to address in a separate space, not node-gyp. It's their call to make it "supported", not ours, we made that call long ago. We're even moving beyond Node 4 around here. If someone wants to support old technologies then that maybe that burden should be taken on elsewhere. A fork of node-gyp is not unreasonable. An even better option is to just use an older version, maybe with an older version of npm as well. You're stretching things that were never intended to be stretched that way. This is not a final say of course, you're welcome to make more of a case here and maybe you can get others on board, but as it stands I don't think node-gyp should be burdened with supporting io.js. |
@rvagg Sorry I think that there is a misunderstanding here, Electron 3 does not use iojs. It does in fact use Node.JS For context, Electron v3 with Node.js v10.2.0 has somewhere in the neighborhood of ~500,000 total downloads that effectively equates to ~500,000 unique developer machines due to how we cache. This is a supported version of Electron using a still supported version of node (v10) and IMO the maintenance burden of supporting this code path in node-gyp is relatively small. Heck, I'll personally take ownership of this code path if that's what is required. But for now due to Legacy Assumptions of asset naming and version schemes we have a bunch of assets published with the "iojs" name in them that as of |
Ahhh sorry for not grokking this @MarshallOfSound, I see you also explained that in #1778, my bad. What set of If you could add another commit that does some removal that would be great. A note underneath the |
The mirror URLs afaik do not impact Electron in any way, I just did a simple
I can add those details in the comments on the EOL of electron@3 👍 |
OK, I get it now. That |
3e74227
to
13ca3a3
Compare
13ca3a3
to
dc4278d
Compare
@rvagg Updated the PR to only do the |
Co-Authored-By: Richard Lau <riclau@uk.ibm.com>
@MarshallOfSound you can confirm this works for Electron 3? |
@rvagg Yup, I |
For Electron 3 PR-URL: #1777 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Landed in 1cfdb28, will get a release proposal up soon |
@rvagg Thanks 👍 |
This reverts commit 4748f6a.
The original commit broke support for Electron 3 which is still a supported release line. For more details please see #1778
Please note I haven't yet tested if this revert functions, I just ran
git revert
at 2am and went to bed. Hopefully we can get this landed and fixed tomorrow 👍