-
Notifications
You must be signed in to change notification settings - Fork 1k
Cannot vendor github.com/lib/pq #790
Comments
Cleaning out $GOPATH (removing $GOPATH/pkg and everything in $GOPATH/src that isn't mine) got it working. Something being used as a cache in here must have been bogus. |
Thanks for reporting. I think we had similar issues before dep v0.1.0, which was fixed before the release. |
I have been testing trunk, so probably 77df563 . govendor and 'go get' where the other tools that might have pulled things in. |
Same go file, with current dep master g4bfa359
@stub42 probably you use git submodules, inside docker maybe. I saw such case when .git inside container gets detached from it's main database. |
No submodules or containers involved. Per #790 (comment) vendoring with dep worked again after I cleared out $GOPATH/pkg, so I'm assuming something non-standard ended up in here (like an empty directory where dep expected a git repo). Any evidence has been destroyed, so maybe just close this issue unless recovery can be done (ignore or remove the broken local copy and use the remote repo). |
yeah, this is most likely a case of failure to terminate subprocesses gracefully on interrupt. it's a known issue - we just went for a lowest-common-denominator that would work cross platform, but it's too harsh, using |
What version of Go (
go version
) anddep
(git describe --tags
) are you using?go version go1.8.3 linux/amd64
What
dep
command did you run?In a hello world example:
I ran:
What did you expect to see?
github.com/lib/pq vendored like any other dependency
What did you see instead?
A confusing failure. Not a git repository, but enough of a git repository to see the remote branches?
The text was updated successfully, but these errors were encountered: