You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Creating a simple app with a testing dependency adds the entire project, not just the requested package.
I've created a simple repository with a use case:
https://github.com/jgeiger/dep_bug/tree/single_package_include
If you remove the 2nd commit and run
You see it includes all of onsi/gomega and not just onsi/gomega/format. It seems the lock file is also specifically showing only the format package.
Gopkg.lock
What version of Go (
go version
) anddep
(git describe --tags
) are you using?What
dep
command did you run?What did you expect to see?
It should only vendor the single package I've required and is listed in the Gopkg.lock file.
What did you see instead?
All of github.com/onsi/gomega has been vendored when I commit via git.
The text was updated successfully, but these errors were encountered: