-
Notifications
You must be signed in to change notification settings - Fork 3k
fixes Unsupported URL Type: git+git+ssh bug #7296
Conversation
Thank you! Is it too much to ask for a test? |
Should have a test, yes. I'd like to knock something up. However, when I
My inclination would be to refactor the code that generates Too invasive for this small change? |
I think so. Tests should go into Thanks for your patience! |
That's embarrassing. I ran the test on the wrong file. That's what I get for working on this after... 🍷 OK, I'll see about adding something to |
Hiya, The current test, test/tap/add-remote-git.js, tests that a mock package can install a mock dep against a real git server. To test a dependency that uses the Not saying I'm not going to do it, but seems like a lot of rigmarole for a change that a simple unit test would cover. It would be a nice integration test to have, but tying it to this change seems somewhat arbitrary to me. Best, |
Since the underlying bug also affects every other kind of git dependency including |
Ah. Good point. I can try that. On Fri, Feb 20, 2015 at 11:37 AM, Forrest L Norvell <
TIM WHID__DEN 1stdibs http://www.1stdibs.com/ - T__he Most Beautiful Things On |
I went ahead and wrote a test and landed it as 5334207. While doing so, I had to do some digging, and realized that there actually was a problem in the GitHub-specific caching code, which I fixed in 0f87f5e. Finally, I tweaked the wording and rebased your patch and landed it as a2e04bd. Thanks for putting this together, and for your patience in working with me to get it merged! |
Thanks! Sorry I didn't find the time to write the test. |
I was having the same issue of having tmp path in my "from" and I realized I was using npm 2.7.0. |
More details here: #6422 and here: #7294.