Fix NormalizeName for subpackage of unknown host - #487
Merged
mattfarina merged 1 commit intoAug 3, 2016
Conversation
hori-ryota
force-pushed
the
feature/fix-unknown-packageroot
branch
from
June 22, 2016 21:37
8e6b4a6 to
f5fab01
Compare
Member
|
I'm pondering this approach and some deviations from it with semantic differences from it. We have some cases in the past where something similar caused problems problems. I want to test those scenarios. |
Contributor
Author
|
@mattfarina Can I have an example if there is a useless pattern? |
Contributor
Author
|
@7imon7ays ping |
Member
|
I ran some tests and found:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When import unknown host package with sub, glide show following error.
when,
then,
Because
getRootFromGoGet(pkg string) stringmethod gethttps://otherurl/example/root/suband it failed.But, fetching root is success and cached in
remotePackageCache, so compare prefix to cached packages.Does this resolve #469 ?