-
Notifications
You must be signed in to change notification settings - Fork 1k
dep ensure -update
doesn't realize when a vendored directory has been removed
#1276
Comments
hi, welcome! sorry you ran into this - it's quite odd. also, i can't replicate it on tip - could you try it with the latest dep and see if you can replicate, to make sure i'm not suffering from the curse of knowledge on this one? also, a side note - all variants of |
It still behaves this way for me using the bleeding edge version of dep from Not sure if this helps, but this is how we constrain gopherjs in the Gopkg.toml: [[constraint]]
revision = "415225646bb92c4449bb484646f2c95a98402f6f"
name = "github.com/gopherjs/gopherjs" giving this in Gopkg.lock [[projects]]
name = "github.com/gopherjs/gopherjs"
packages = ["js"]
revision = "415225646bb92c4449bb484646f2c95a98402f6f" |
Also, thanks for clarifying the intent and behavior of the |
I am getting the same behavior on tip as well. My
My Gopkg.toml has no constraints for this particular dependency. My vendor dir does not have the
Running |
Hmm, its fixed now on tip, I must not have actually updated to tip when I tried a few minutes ago. Sorry for the confusion. |
@nathanielc well, i'm glad we're back down to just one instance of this :) and, ahh, i've now replicated it. ok, we definitely have a bug. |
ahh, ok, i see what's going on here. right now, we're inferring from |
hmm, so, thoughts? |
I'm fine with addressing this in #121. Hopefully available soon :) |
@markcampanelli-wf yeah, the contributors for it have dropped off a bit recently, but it's one of my highest priority things. i'll have to step in by end of Nov if we haven't seen it through, i think. |
What version of
dep
are you using (dep version
)?What
dep
command did you run?After a
dep ensure
, I movedvendor/github.com/gopherjs/gopherjs
outside of my project directory (gopherjs doesn't support being vendored), then I tried to regenerate it in the vendor directory usingWhat did you expect to see?
The reappearance of
vendor/github.com/gopherjs/gopherjs
in my project directory.What did you see instead?
Nothing new appeared. Running in verbose mode suggests that
dep
determines that nothing should be done. However, running a fulldep ensure
does regeneratevendor/github.com/gopherjs/gopherjs
.The text was updated successfully, but these errors were encountered: