Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

vendor: allow ~ in import path #535

Merged
merged 1 commit into from
Jan 9, 2016

Conversation

FiloSottile
Copy link
Contributor

~ is an allowed character in the import path, and it's used in the wild for user repositories

~ is an allowed character in the import path, and it's used in the wild for user repositories
@davecheney
Copy link
Contributor

This looks ok, but I'd like to add a test, preferably in vendor/repo_test.go (from memory) to check that this works. Do you have a url that has a ~ in it that I can add as a test case ?

@FiloSottile
Copy link
Contributor Author

Makes sense, but sadly I don't have a valid public one.

@davecheney
Copy link
Contributor

That's ok. We'll just have to live with it if I break it in the future.

davecheney added a commit that referenced this pull request Jan 9, 2016
vendor: allow ~ in import path
@davecheney davecheney merged commit f3f3414 into constabulary:master Jan 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants