Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
build: remove cares header from tarball#10283
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
gibfahn commented Dec 15, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
gibfahn commented Dec 15, 2016
cc/ @richardlau |
gibfahn commented Dec 15, 2016
@bnoordhuis Is the rationale for removing zlib the same as that for c-ares? |
richardlau commented Dec 15, 2016
I'm not so sure about removing the zlib headers. From nodejs/node-gyp#1055 (comment):
|
richardlau commented Dec 15, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Also the important thing here is consistency. At the moment it is possible to write a native addon that |
Fishrock123 commented Dec 15, 2016
This doesn't sound like a good idea to me. |
gibfahn commented Dec 15, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Which part? Removing zlib or c-ares? |
sam-github commented Dec 15, 2016
c-ares sounds like a good idea to remove - not exported on Windows and not kept stable means its not a useable API/ABI zlib sounds like people are using, and its useable |
7ca0fee to f9e4e5eComparegibfahn commented Dec 15, 2016
Okay, I've left zlib in and just removed c-ares. Thoughts @Fishrock123@sam-github@richardlau ? |
Fishrock123 commented Dec 15, 2016
Still semver-major, idk... we might need some ecosystem stats? I'm fairly certain I've heard of addons using c-ares before. |
richardlau commented Dec 15, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
From my point of view I just want some consistency (hence the referenced pull request in Whatever we decide, we should also tidy up the addons docs. |
bnoordhuis commented Dec 16, 2016
It's pretty broken, though. I receive the occasional bug report and I always end up steering people into bundling c-ares with their add-on. |
richardlau commented Dec 16, 2016
@gibfahn Maybe remove |
gibfahn commented Dec 23, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@jasnell Is this something that the CTC should look at? EDIT: It's |
gibfahn commented Dec 30, 2016
@ChALkeR Is there an easy way to find out whether modules are using the c-ares headers (rather than bundling c-ares with their addon)? |
gibfahn commented Feb 22, 2017
@ChALkeR ping |
gibfahn commented Feb 27, 2017
cc/ @nodejs/ctc , does anyone object to this? I think we should either remove the headers or support them. If using the bundled version doesn't work properly then I'd vote to remove. cc/ @Fishrock123 any further thoughts? It'd be good to resolve this one way or the other before Node 8. |
jasnell commented Feb 27, 2017
No objection from me. If necessary we can put this on this weeks CTC call agenda to make sure folks look at it. |
mhdawson left a comment
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.
I'd agree that unless we are willing to commit to support/keep consistent we should remove LGTM.
rvagg commented Mar 1, 2017
I'm +1 on this in semver-major. I think we have a fairly high degree of confidence it's not being used and if it is then it's not even being maintained as a stable API. Not a great reason to do so, but removing it will at least smoke out anyone using it and we can reassess if we actually find anyone. The less API we have to maintain the better! |
Trott commented Mar 19, 2017
@gibfahn Are you satisfied at this point that this has received sufficient CTC review that you are comfortable landing it? @Fishrock123 It's unclear (to me, at least) if you are objecting in a "don't do this" kind of way or in a "-0 but I won't stop it if everyone else thinks it's a good idea" kind of way. Can you clarify? |
gibfahn commented Mar 20, 2017
@Trott yeah, I think everyone should at least have been made aware of it by now. |
f9e4e5e to ef57d09CompareThe bundled c-ares isn't very suitable for consumption by addons, isn't kept stable, and isn't exported on windows. PR-URL: nodejs#10283 Refs: nodejs/node-gyp#1055 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
ef57d09 to a1028d5Compare
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
build
Description of change
The bundled c-ares isn't very suitable for consumption by addons,
isn't kept stable, and isn't exported on windows.
Ref: nodejs/node-gyp#1055
CI: https://ci.nodejs.org/job/node-test-commit/6660/