Closed rgaskill closed 4 years ago
Do you have a public repo I can reproduce this on, or can you email one to me?
Basically you had a project in the vendor directory, then added it to ignored, and it didn't get removed?
I made this one to demonstrate the issue. https://github.com/rgaskill/testdep
After running dep ensure
you will see the go file in the github.com/rgaskill/ignoreme/nothing
package is excluded from the vendor directory but not the copyright.js
file
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
)?v0.5.0
What
dep
command did you run?dep ensure
What did you expect to see?
I have specified an ignored package e.g.
ignored = ["github.com/user/repo/ignoreme"]
The packageignoreme
tree contains the filecopyright.js
. I expect the entireignoreme
package structure to be pruned out of the vendor dir.What did you see instead?
An empty package structure only containing the
copyright.js
file.