-
Notifications
You must be signed in to change notification settings - Fork 1k
dep ensure doesn't always seem to ensure that lock file holds all deps #1471
Comments
Removing the lock file and running |
huh. weird. the most concerning thing here is that dep seems to think the lock was in sync, even though it was lacking some items. is there any chance the lock was the product of a merge, and thus the value of |
It is entirely possible that I encountered this issue after doing a rebase, though I can't be sure. Given that merge/rebase is a very common operation, I would hope that dep would still cope - doesn't the input digest include a hash of all the files in the repo? |
the it's actually not necessary to store the so yeah, it's slated to go away entirely and be replaced by more robust checking routines, which will also address whatever underlying issue you had here - dep will no longer be able to be duped about whether or not |
What version of
dep
are you using (dep version
)?v0.3.2-161-ga926781
What
dep
command did you run?What did you expect to see?
I expected to see the Gopkg.lock updated to the latest compatible version for all dependencies, and that it would have an entry for all dependencies that are in the project.
What did you see instead?
In case it makes a difference, I had accidentally run
dep ensure
previously (forgetting to use the-no-vendor
flag), and then manually didrm -r vendor
to remove the unwanted vendor directory.The text was updated successfully, but these errors were encountered: