This dep appears to be in vendor/, but Go is having trouble finding it for some reason. Perhaps the vendoring of that pkg is incomplete.
github.com/onsi/ginkgo
The real problem
You thought everything was vendored because you have everything in your Godeps.json manifest and you ran godep restore. Unfortunately, godep is a first-gen vendoring tool with all sorts of surprising behavior. I could submit a PR to just add the missing deps, but that still leaves us with the problem of why ginkgo isn't being found, and it doesn't prevent future problems should you decide to add/remove deps.
The real solution
A better solution is to revendor the deps using a better vendoring tool, such as Glide or gvt, so that this problem doesn't happen again. This is what I've done in #17 . In the process of revendoring gojsondiff I discovered some other issues which are detailed in the PR notes.
Who I am
I'm the "vendoring guy" at a company called Apcera. We're using gojsondiff internally (thanks very much for writing it!). I discovered this issue when I tried to vendor gojsondiff itself and it didn't work.
This is with a clean $GOPATH (a $GOPATH that contains
gojsondiff
and nothing else).The problem
These deps are not in
vendor/
.This dep appears to be in
vendor/
, but Go is having trouble finding it for some reason. Perhaps the vendoring of that pkg is incomplete.The real problem
You thought everything was vendored because you have everything in your
Godeps.json
manifest and you rangodep restore
. Unfortunately,godep
is a first-gen vendoring tool with all sorts of surprising behavior. I could submit a PR to just add the missing deps, but that still leaves us with the problem of why ginkgo isn't being found, and it doesn't prevent future problems should you decide to add/remove deps.The real solution
A better solution is to revendor the deps using a better vendoring tool, such as Glide or gvt, so that this problem doesn't happen again. This is what I've done in #17 . In the process of revendoring
gojsondiff
I discovered some other issues which are detailed in the PR notes.Who I am
I'm the "vendoring guy" at a company called Apcera. We're using
gojsondiff
internally (thanks very much for writing it!). I discovered this issue when I tried to vendorgojsondiff
itself and it didn't work.