{"action":"created","issue":{"url":"https://api.github.com/repos/Masterminds/glide/issues/599","repository_url":"https://api.github.com/repos/Masterminds/glide","labels_url":"https://api.github.com/repos/Masterminds/glide/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/Masterminds/glide/issues/599/comments","events_url":"https://api.github.com/repos/Masterminds/glide/issues/599/events","html_url":"https://github.com/Masterminds/glide/issues/599","id":175345289,"number":599,"title":"v0.12.0 regression in nested dependencies","user":{"login":"leprechau","id":1444686,"avatar_url":"https://avatars.githubusercontent.com/u/1444686?v=3","gravatar_id":"","url":"https://api.github.com/users/leprechau","html_url":"https://github.com/leprechau","followers_url":"https://api.github.com/users/leprechau/followers","following_url":"https://api.github.com/users/leprechau/following{/other_user}","gists_url":"https://api.github.com/users/leprechau/gists{/gist_id}","starred_url":"https://api.github.com/users/leprechau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leprechau/subscriptions","organizations_url":"https://api.github.com/users/leprechau/orgs","repos_url":"https://api.github.com/users/leprechau/repos","events_url":"https://api.github.com/users/leprechau/events{/privacy}","received_events_url":"https://api.github.com/users/leprechau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-06T20:36:15Z","updated_at":"2016-09-08T00:55:50Z","closed_at":null,"body":"When running glide update with version 0.11.1 we see the following:\r\n\r\n```\r\nahurt1:ena-policy ahurt$ glide -version\r\nglide version 0.11.1\r\nahurt1:ena-policy ahurt$ glide up\r\n[INFO] \tDownloading dependencies. Please wait...\r\n[INFO] \t--> Fetching updates for bitbucket.xxx.xxx/go/ena-session.\r\n[INFO] \t--> Fetching updates for github.com/renstrom/shortuuid.\r\n[INFO] \t--> Fetching updates for github.com/klauspost/crc32.\r\n[INFO] \t--> Fetching updates for github.com/satori/go.uuid.\r\n[INFO] \t--> Fetching updates for github.com/klauspost/compress.\r\n[INFO] \t--> Fetching updates for github.com/go-sql-driver/mysql.\r\n[INFO] \t--> Fetching updates for github.com/lann/builder.\r\n[INFO] \t--> Fetching updates for bitbucket.xxx.xxx/go/ena-common.\r\n[INFO] \t--> Fetching updates for github.com/lann/ps.\r\n[INFO] \t--> Fetching updates for github.com/jmoiron/sqlx.\r\n[INFO] \t--> Fetching updates for github.com/emicklei/go-restful.\r\n[INFO] \t--> Fetching updates for github.com/BurntSushi/toml.\r\n[INFO] \t--> Fetching updates for bitbucket.xxx.xxx/go/ena-community.\r\n[INFO] \t--> Fetching updates for gopkg.in/yaml.v2.\r\n[INFO] \t--> Fetching updates for github.com/couchbase/gocb.\r\n[INFO] \t--> Fetching updates for github.com/Masterminds/squirrel.\r\n[INFO] \t--> Fetching updates for github.com/klauspost/pgzip.\r\n[INFO] \t--> Fetching updates for github.com/klauspost/cpuid.\r\n[INFO] \t--> Fetching updates for bitbucket.xxx.xxx/go/ena-consul.\r\n[INFO] \t--> Fetching updates for github.com/hashicorp/go-cleanhttp.\r\n[INFO] \t--> Fetching updates for github.com/hashicorp/serf.\r\n[INFO] \t--> Setting version for bitbucket.xxx.xxx/go/ena-community to master.\r\n[INFO] \tResolving imports\r\n[INFO] \tFetching github.com/Sirupsen/logrus into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/Sirupsen/logrus to v0.10.0.\r\n[INFO] \tFetching github.com/rifflock/lfshook into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/rifflock/lfshook to v1.0.\r\n[INFO] \tFetching github.com/Masterminds/glide/cfg into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/Masterminds/glide to v0.12.1.\r\n[INFO] \tFetching github.com/mitchellh/cli into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \tFetching github.com/hashicorp/consul/api into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/hashicorp/consul to v0.6.4.\r\n[INFO] \tFound Godeps.json file in vendor/github.com/hashicorp/consul\r\n[INFO] \t--> Parsing Godeps metadata...\r\n[INFO] \t--> Setting version for github.com/hashicorp/go-cleanhttp to 875fb671b3ddc66f8e2f0acc33829c8cb989a38d.\r\n[INFO] \t--> Setting version for github.com/hashicorp/serf to e4ec8cc423bbe20d26584b96efbeb9102e16d05f.\r\n[INFO] \tFetching golang.org/x/sys/unix into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Setting version for golang.org/x/sys to 20457ee8ea8546920d3f4e19e405da45250dc5a5.\r\n[INFO] \tFetching github.com/Masterminds/vcs into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/Masterminds/vcs to v1.8.0.\r\n[INFO] \tFetching github.com/armon/go-radix into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Setting version for github.com/armon/go-radix to 4239b77079c7b5d1243b7b4736304ce8ddb6f0f2.\r\n[INFO] \tFetching github.com/bgentry/speakeasy into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Setting version for github.com/bgentry/speakeasy to 36e9cfdd690967f4f690c6edcc9ffacd006014a0.\r\n[INFO] \tFetching github.com/mattn/go-isatty into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \t--> Setting version for github.com/mattn/go-isatty to 56b76bdf51f7708750eac80fa38b952bb9f32639.\r\n[INFO] \tFetching github.com/stretchr/testify/suite into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \tFetching github.com/davecgh/go-spew/spew into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \tFetching github.com/pmezard/go-difflib/difflib into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor\r\n[INFO] \tDownloading dependencies. Please wait...\r\n[INFO] \tSetting references for remaining imports\r\n[INFO] \tProject relies on 31 dependencies.\r\n```\r\n\r\nWith 0.12.0+ we see something quite different:\r\n\r\n```\r\nahurt1:ena-policy ahurt$ glide up\r\n[INFO] \tDownloading dependencies. Please wait...\r\n[INFO] \t--> Fetching github.com/klauspost/cpuid.\r\n[INFO] \t--> Fetching gopkg.in/yaml.v2.\r\n[INFO] \t--> Fetching github.com/lann/ps.\r\n[INFO] \t--> Fetching github.com/renstrom/shortuuid.\r\n[INFO] \t--> Fetching github.com/hashicorp/go-cleanhttp.\r\n[INFO] \t--> Fetching github.com/jmoiron/sqlx.\r\n[INFO] \t--> Fetching github.com/klauspost/crc32.\r\n[INFO] \t--> Fetching github.com/klauspost/compress.\r\n[INFO] \t--> Fetching github.com/satori/go.uuid.\r\n[INFO] \t--> Fetching github.com/lann/builder.\r\n[INFO] \t--> Fetching bitbucket.xxx.xxx/go/ena-community.\r\n[INFO] \t--> Fetching bitbucket.xxx.xxx/go/ena-common.\r\n[INFO] \t--> Fetching github.com/BurntSushi/toml.\r\n[INFO] \t--> Fetching bitbucket.xxx.xxx/go/ena-session.\r\n[INFO] \t--> Fetching bitbucket.xxx.xxx/go/ena-consul.\r\n[INFO] \t--> Fetching github.com/Masterminds/squirrel.\r\n[INFO] \t--> Fetching github.com/couchbase/gocb.\r\n[INFO] \t--> Fetching github.com/klauspost/pgzip.\r\n[INFO] \t--> Fetching github.com/emicklei/go-restful.\r\n[INFO] \t--> Fetching github.com/go-sql-driver/mysql.\r\n[INFO] \t--> Fetching github.com/hashicorp/serf.\r\n[INFO] \t--> Setting version for bitbucket.xxx.xxx/go/ena-community to master.\r\n[INFO] \tResolving imports\r\n[INFO] \t--> Fetching github.com/Sirupsen/logrus.\r\n[INFO] \t--> Fetching github.com/rifflock/lfshook.\r\n[INFO] \t--> Fetching github.com/Masterminds/glide.\r\n[INFO] \t--> Fetching github.com/mitchellh/cli.\r\n[INFO] \t--> Fetching github.com/hashicorp/consul.\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/hashicorp/consul to v0.6.4.\r\n[INFO] \t--> Fetching golang.org/x/sys.\r\n[INFO] \t--> Fetching github.com/Masterminds/vcs.\r\n[INFO] \t--> Fetching github.com/armon/go-radix.\r\n[INFO] \t--> Fetching github.com/bgentry/speakeasy.\r\n[INFO] \t--> Fetching github.com/mattn/go-isatty.\r\n[INFO] \t--> Fetching github.com/stretchr/testify.\r\n[INFO] \t--> Fetching github.com/davecgh/go-spew.\r\n[INFO] \t--> Fetching github.com/pmezard/go-difflib.\r\n[INFO] \tDownloading dependencies. Please wait...\r\n[INFO] \tSetting references for remaining imports\r\n[INFO] \tExporting resolved dependencies...\r\n[INFO] \t--> Exporting bitbucket.xxx.xxx/go/ena-community\r\n[INFO] \t--> Exporting bitbucket.xxx.xxx/go/ena-session\r\n[INFO] \t--> Exporting github.com/Masterminds/squirrel\r\n[INFO] \t--> Exporting github.com/hashicorp/go-cleanhttp\r\n[INFO] \t--> Exporting github.com/go-sql-driver/mysql\r\n[INFO] \t--> Exporting github.com/klauspost/pgzip\r\n[INFO] \t--> Exporting github.com/couchbase/gocb\r\n[INFO] \t--> Exporting github.com/hashicorp/serf\r\n[INFO] \t--> Exporting github.com/Sirupsen/logrus\r\n[INFO] \t--> Exporting github.com/klauspost/crc32\r\n[INFO] \t--> Exporting github.com/rifflock/lfshook\r\n[INFO] \t--> Exporting github.com/emicklei/go-restful\r\n[INFO] \t--> Exporting github.com/satori/go.uuid\r\n[INFO] \t--> Exporting github.com/hashicorp/consul\r\n[INFO] \t--> Exporting github.com/Masterminds/vcs\r\n[INFO] \t--> Exporting github.com/jmoiron/sqlx\r\n[INFO] \t--> Exporting github.com/armon/go-radix\r\n[INFO] \t--> Exporting github.com/klauspost/compress\r\n[INFO] \t--> Exporting github.com/BurntSushi/toml\r\n[INFO] \t--> Exporting github.com/bgentry/speakeasy\r\n[INFO] \t--> Exporting github.com/mattn/go-isatty\r\n[INFO] \t--> Exporting github.com/renstrom/shortuuid\r\n[INFO] \t--> Exporting github.com/lann/ps\r\n[INFO] \t--> Exporting github.com/stretchr/testify\r\n[INFO] \t--> Exporting github.com/mitchellh/cli\r\n[INFO] \t--> Exporting github.com/klauspost/cpuid\r\n[INFO] \t--> Exporting github.com/pmezard/go-difflib\r\n[INFO] \t--> Exporting bitbucket.xxx.xxx/go/ena-consul\r\n[INFO] \t--> Exporting golang.org/x/sys\r\n[INFO] \t--> Exporting github.com/lann/builder\r\n[INFO] \t--> Exporting github.com/davecgh/go-spew\r\n[INFO] \t--> Exporting bitbucket.xxx.xxx/go/ena-common\r\n[INFO] \t--> Exporting github.com/Masterminds/glide\r\n[INFO] \t--> Exporting gopkg.in/yaml.v2\r\n[INFO] \tReplacing existing vendor dependencies\r\n[INFO] \tProject relies on 31 dependencies.\r\n```\r\n\r\nThe exact same ```glide.yaml``` is being used and does not explicitly pin the version of any packages other than ```ena-community```.  The versions are pinned by included packages that have their own ```glide.yaml``` files checked into the repository.  The 0.11.1 code properly finds and handles the nested dependencies whereas the 0.12.0+ does not.\r\n"},"comment":{"url":"https://api.github.com/repos/Masterminds/glide/issues/comments/245464021","html_url":"https://github.com/Masterminds/glide/issues/599#issuecomment-245464021","issue_url":"https://api.github.com/repos/Masterminds/glide/issues/599","id":245464021,"user":{"login":"mattfarina","id":62991,"avatar_url":"https://avatars.githubusercontent.com/u/62991?v=3","gravatar_id":"","url":"https://api.github.com/users/mattfarina","html_url":"https://github.com/mattfarina","followers_url":"https://api.github.com/users/mattfarina/followers","following_url":"https://api.github.com/users/mattfarina/following{/other_user}","gists_url":"https://api.github.com/users/mattfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/mattfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattfarina/subscriptions","organizations_url":"https://api.github.com/users/mattfarina/orgs","repos_url":"https://api.github.com/users/mattfarina/repos","events_url":"https://api.github.com/users/mattfarina/events{/privacy}","received_events_url":"https://api.github.com/users/mattfarina/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T00:55:50Z","updated_at":"2016-09-08T00:55:50Z","body":"@leprechau I created an example project at https://github.com/mattfarina/go-test2. With this I can't reproduce the problem. What I see is...\r\n\r\n```sh\r\n[INFO] \tDownloading dependencies. Please wait...\r\n[INFO] \t--> Fetching updates for github.com/Masterminds/vcs.\r\n[INFO] \t--> Fetching updates for github.com/mattfarina/go-test.\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/Masterminds/vcs to 1.7.0.\r\n[INFO] \tResolving imports\r\n[INFO] \t--> Fetching updates for github.com/Masterminds/semver.\r\n[INFO] \t--> Detected semantic version. Setting version for github.com/Masterminds/semver to v1.1.1.\r\n[INFO] \tDownloading dependencies. Please wait...\r\n[INFO] \tSetting references for remaining imports\r\n[INFO] \tExporting resolved dependencies...\r\n[INFO] \t--> Exporting github.com/Masterminds/vcs\r\n[INFO] \t--> Exporting github.com/mattfarina/go-test\r\n[INFO] \t--> Exporting github.com/Masterminds/semver\r\n[INFO] \tReplacing existing vendor dependencies\r\n[INFO] \tProject relies on 3 dependencies.\r\n```\r\n\r\nWhat am I missing? Can you show me how to tweak this to reproduce the problem?"}}
{"actor":{"display_login":"mattfarina"}}