Skip to content

Conversation

@arcanis
Copy link
Member

@arcanis arcanis commented Apr 21, 2017

Summary

The offline mirror feature accidentally disabled the codepath that was used for installing packages from file: protocol. The tests didn't caught this error because they're using a wrapper class, LocalTarballFetcher, that wasn't affected by this issue.

@arcanis arcanis requested a review from bestander April 21, 2017 14:03
@arcanis
Copy link
Member Author

arcanis commented Apr 21, 2017

Wait, the revert shouldn't be there, I'll strip it

@arcanis
Copy link
Member Author

arcanis commented Apr 21, 2017

👍

@bestander
Copy link
Member

Looks like a few tests failed

@arcanis
Copy link
Member Author

arcanis commented Apr 25, 2017

Should be fine now


jasmine.DEFAULT_TIMEOUT_INTERVAL = 150000;

test.concurrent = test.skip;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱

@bestander
Copy link
Member

@arcanis, you forgot to reenable tests

@bestander bestander merged commit d54fff3 into yarnpkg:master Apr 26, 2017
bestander pushed a commit that referenced this pull request May 2, 2017
* Fixes #3168 * Adds tests * Fixes linting
@DanBuild DanBuild mentioned this pull request May 2, 2017
@bestander
Copy link
Member

This PR fixes relative paths but not absolute ones both on Windows and Unix.
Is it safe to add a root path to the regex, @arcanis?

@arcanis
Copy link
Member Author

arcanis commented May 3, 2017

I could change the regex to: /^(?=(?:\.{1,2}|[a-z]:)?[\\\/])/i, what do you think?

@arcanis
Copy link
Member Author

arcanis commented May 3, 2017

It seems to catch everything: https://regex101.com/r/zS5bmW/1

@bestander
Copy link
Member

Looks good to me, can you send a PR when you have a chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants