So I have two go projects name them A and B. So A has its own vendor folder and Godeps and has a dependency :
{
"ImportPath": "gopkg.in/mgo.v2",
"Comment": "r2016.08.01-5-g3f83fa5",
"Rev": "3f83fa5005286a7fe593b055f0d7771a7dce4655"
},
{
"ImportPath": "gopkg.in/mgo.v2/bson",
"Comment": "r2016.08.01-5-g3f83fa5",
"Rev": "3f83fa5005286a7fe593b055f0d7771a7dce4655"
},
Now project B has a dependency on A and has its own dependency as well on:
So lets say I do an update on project A that I want B to have it as well and is not linked with the bson dep. So what I am trying to do is try to update only the A dependency on project B by doing:
godep update A/...
But after doing that the project B fails to build because now the Godeps folder has as well:
Hello,
So I have two go projects name them A and B. So A has its own vendor folder and Godeps and has a dependency : { "ImportPath": "gopkg.in/mgo.v2", "Comment": "r2016.08.01-5-g3f83fa5", "Rev": "3f83fa5005286a7fe593b055f0d7771a7dce4655" }, { "ImportPath": "gopkg.in/mgo.v2/bson", "Comment": "r2016.08.01-5-g3f83fa5", "Rev": "3f83fa5005286a7fe593b055f0d7771a7dce4655" },
Now project B has a dependency on A and has its own dependency as well on:
{ "ImportPath": "gopkg.in/mgo.v2/bson", "Comment": "r2016.08.01-5-g3f83fa5", "Rev": "3f83fa5005286a7fe593b055f0d7771a7dce4655" },
So lets say I do an update on project A that I want B to have it as well and is not linked with the bson dep. So what I am trying to do is try to update only the A dependency on project B by doing:
godep update A/...
But after doing that the project B fails to build because now the Godeps folder has as well:
Any idea how to avoid that? As it seems is trying to get the bson of the vendor and not its own.