-
Notifications
You must be signed in to change notification settings - Fork 1k
dep ensure --dry-run
seems broken
#971
Comments
it certainly shouldn't! problem is, we can't actually check if in the meantime, we've had to opt for the safe approach - just regenerating |
If you regenerate vendor/ now, the easiest thing would be to compare the new directory with the old one. With that said if that solution should change shortly it might not worth the effort... |
hmm, i suppose we could generate some sort of diff output for this. if there's a lib out there that produces readable output, given two trees of input, then we could integrate it, for now. and that might be worth it, because while the verification work is progressing nicely right now, it's still complex work. my conservative estimate is that it probably won't be fully wrapped up and in place for another couple months. |
It seems like you're looking for the functionality described here: #950 |
doing some queue-cleaning - the output here is now a fair bit clearer. |
What version of Go (
go version
) anddep
(git describe --tags
) are you using?go version go1.8.3 linux/amd64
dep - v0.3.0-22-g11758a7
What
dep
command did you run?What did you expect to see?
Empty output
What did you see instead?
Would have populated vendor/ directory from Gopkg.lock
The reason to use
--dry-run
is to see if there would be any changes done to e.g. check if vendor/ corresponds to current state of Gopkg.toml and .lock. It shouldn't say it would populate vendor/ if there are no changes.The text was updated successfully, but these errors were encountered: