-
Notifications
You must be signed in to change notification settings - Fork 454
godep save ./... on v54 and go1.6 not creating vendor/ dir #417
Comments
Did you start out with a |
Tried it, but same results |
The process I've used several times is : https://github.com/tools/godep#migrating-to-vendor There could be bad revisions being restored though. For instance hashicorp/terraform#5248 needed to update a google cloud library because the code was using a local version and hadn't updated the vendored version yet. Can you provide a copy of you Godeps/Godeps.json file? |
|
Having the same problem with v54.
Had to switch the older version to get it resolved. |
@sunheng that's probably because you have 2 different revs recorded, which is invalid. Fix all Revs to be the same for all |
@gracedo Are you outside of your $GOPATH and/or using symlinks? |
@freeformz Nope. Fwiw, I updated |
@gracedo when the above output says |
@freeformz I omitted the actual path haha didn't want that extra information being out here :) but I guess it doesn't really matter.. it's |
@gracedo what is the output of |
|
Is your fs case sensitive or not? It's part of the output of |
@freeformz Looks like it's not case-sensitive
|
At this point I think I either need access to the code or the full dump of |
Actually wait. I got that backwards. So it's not case sensitive. What do you get from the following 2 commands run inside of
|
Both still show |
Hmm. then I'm not really sure what's going on w/o the dump or the ability to reproduce it. Sorry. |
So you can't reproduce it after removing Here's the dump (ran |
I haven't been able to. I've done this now with a bunch of projects w/o incident (aside from stuff that was otherwise inflicted). I need the |
Note all of the "skipping untracked file" output. That's telling me that symlinks may be used somewhere. If you go to |
Also what is the output of |
And also |
Bah, dump is too large at 88MB heh. Here's a zip? |
So here's the problem: I added a simple check of == recently. Please update and try with v55 (just pushed). I bet that fixes it. |
@freeformz Ahh, that makes sense.. it's all good now 😄 Thanks! Closing this out |
@gracedo thanks for working through this and sorry for all of the back and forth. |
@freeformz No worries! Thanks for walking through it with me, glad we figured it out :) |
I've recently upgraded to Go1.6 and just grabbed the newest Godep v54.
I deleted my
Godeps/
andvendor/
dirs to vendor fresh.Saw my
Godeps.json
file significantly modified (added a ton more deps, namely looks like it included all of theaws-sdk-go
packages), but novendor/
dir was created.Tried a couple of different things. Started over and did not remove previous
Godeps
/ orvendor/
but just rangodep save ./...
--> spit out a ton of these errors:etc...
The same modifications were made to
Godeps.json
as stated above, but a ton of deps were also deleted fromvendor/
. I tried building the project on Jenkins with these changes but it failed.Not sure what's going on?
The text was updated successfully, but these errors were encountered: