Closed prateeknayak closed 4 years ago
Agreed! This is a poor user experience.
When I run into this, as a workaround I turn off the prune unused packages setting, and then pick any package with go-code in it and run dep ensure -add github.com/PROJECT/RANDO/PACKAGE
.
I think that when we fix the ability to add a constraint for a package without go code, that will help. We should circle back and make sure that is enough once that's in.
Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!
What version of
dep
are you using (dep version
)?What
dep
command did you run?dep ensure -v
What did you expect to see?
I expect to see the
aws-sdk-go
with itsaws
pkg vendored in.What did you see instead?
Unfortunately, all I see is the root of the
aws-sdk-go
project and not theaws
pkg (which is what i really want). I understand, I may not be yet importing it in my code hencedep
does not resolve it for me . But at this point I am not entirely sure what pkgs out of mydependecy
I would use (sure I can read the documentation) but I want to use autocomplete, Intelisense features of my IDE. For that I would require all the pkgs ahead of time wouldn't I ?