-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
deps: remove unnecessary files #5212
Conversation
@mscdex is there a test we could write that could check the npm tree for file lengths? |
@thealphanerd As far as I can tell, these files got added during the merge process, they were not part of the original npm 3.6.0 PR. |
super odd This should be fixed by #5211 then. |
I don't think the problem in this case is filename length, but the characters in the name (e.g. |
Ahhhhh... I've been dealing with filename length fun all day so I was seeing what I wanted to see. Both seem like reasonable tests to add though 😄 |
Also I'm not sure that merging newer versions of npm would actually remove these existing problematic files. |
@mscdex is this something that we could test for in the future? |
Short of having a pre-commit hook or something, I'm not sure what could have stopped this particular case since the files seemingly did not come from the original npm PR. |
we would have caught it before shipping though |
This is extremely odd indeed. PR LGTM |
Can we check if npm tests are passing with this change? |
@thefourtheye Is there a way to do that via CI or ? |
In CI we don't run that. We need to manually run the tests with |
for landing npm I usually do a local test + citgm. |
Oh this issue has been a nightmare for me, and I have no idea how to clean it up. If this PR doesn't land, or this issue isn't fixed via npm, is there a resource, or does anyone have steps, on cleaning this up? It oddly is only affecting my windows machine. |
This is extra weird because npm PRs are produced by removing I would expect any of the npm updates to have fixed this... |
89af018
to
ee3b1e7
Compare
citgm again after rebasing: https://ci.nodejs.org/job/thealphanerd-smoker/80/ The |
This commit removes some unnecessary files introduced in 76cb81b whose filenames are also not valid on Windows, causing problems when checking out the repository on that platform. Fixes: nodejs#5094
ee3b1e7
to
cfbbb83
Compare
citgm yet again after pushing the fix for the It looks like the only failure (for @thealphanerd @thefourtheye LGTY? |
lgtm I've landed this on v5.x as 18c94e5 but suggest we don't land it on master and wait for the npm update instead. Testing suggests that the problem only impacts on people using the source, either from git or the full source tarball. While that's inconvenient for Windows users doing dev off master, unless the npm update is delayed by too much I think it'd probably be cleaner to hold off. npm@3 update is @ #5369 Unless anyone's super put out by the breakage? From what I understand it's just a warning when using |
closing as this is no longer relevant |
This commit removes some unnecessary files introduced in 76cb81b whose filenames are also not valid on Windows, causing problems when checking out the repository on that platform.
Fixes #5094