-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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 "fs: add a temporary fix for re-evaluation support" #6413
Conversation
LGTM |
LGTM. |
LGTM |
Has anyone tried running the npm in node master with this? |
|
@Fishrock123 eslint should also work, as it uses a newer version of graceful-fs. |
@Fishrock123 ... yeah, I had tested it last night right before opening the PR. Everything appeared to be ok but if there's any doubt there's no harm in leaving this PR open for a bit until we're sure. I just didn't want it to go un-done. |
Also, I marked this semver-major defensively. It probably does not need to be semver-major but it definitely likely should be don't land on v6 and below. |
I agree, let's just use the other labels, unless we really think it should be in a v7 (probably more like LTS 3/ v8) changelog. |
@nodejs/ctc ... are we ready to land this or no? |
I'm a little hesitant, maybe for v8? |
I'm definitely -1 on waiting until v8. The original decision was to revert this in v7. I have no issues letting this sit a while longer but definitely don't want to push it out that far (largely because there's simply no reason to) |
@jasnell I will try to create a list of packages currently affected by this. |
lgtm but don't see reason to hurry landing it to introduce code churn making cherry-picking harder |
@rvagg One reason for landing this sooner than later would be so that people who test nightlies and ignored the deprecation message will actually notice things being broken if something still uses old graceful-fs versions. |
The cherry-picking impact of this should be minimal and fairly easy to deal
|
I'm +1 for unblocking but I'd rather land #8166 than this one. |
@jasnell I believe we could do both, but the one that gets landed later should get manually rebased. |
Well, the other PR also reverts this but in a different way. If that one landed, there'd be no reason to also land this one. |
@jasnell No, that one keeps it as a deprecation warning, while the idea here is to remove the warning and turn it into a throw. We could either:
|
Ah.. I see what you're saying. I can update #8166 to make it a throw if that's what we want it to do. |
/cc @nodejs/ctc. I am pretty sure this was blocked by gulp and graceful-fs@3 not being compatible. They are fine now. I propose to unblock and land this for v7.0, we already have a bunch of other PRs blocked by this: #6749, #6573, #7162, #2025, See current usage data in #6413 (comment). |
Unblocking should be fine |
Once again: LGTM =). |
@nodejs/ctc ... because graceful-fs v3 has now been updated to avoid this issue, I'd like to go ahead and land this revert. Any objections? |
lgtm On Fri, Aug 26, 2016, 5:59 PM James M Snell notifications@github.com
|
@nodejs/ctc ... if there are no objections, I will land this on Monday. |
LGTM |
Still LGTM. |
Red in the last run, seemingly unrelated but just in case: https://ci.nodejs.org/job/node-test-pull-request/3875/ |
As planned, This reverts commit 1d79787. Fixes: #5213 PR-URL: #6413 Reviewed-By: Ben Noordhuis <info@noordhuis.nl> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: JungMinu - Minwoo Jung <jmwsoft@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Landed (finally) in 49ef3ae |
At long last =) @jasnell, thanks for taking care of this! |
As an alternative to nodejs#6413, use process.emitWarning() instead of the internal printDeprecationMessage in order to avoid use of an internal only API.
PR-URL: nodejs#7162 Refs: nodejs#6413 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
This upgrades the transitive dep graceful-fs@3 to v4 which gets around the breakage caused by: nodejs/node#6413
Checklist
Affected core subsystem(s)
fs
Description of change
As planned, This reverts commit 1d79787.
Fixes: #5213
Refs: #5102
@nodejs/ctc