-
Notifications
You must be signed in to change notification settings - Fork 536
Closed
Description
When running glide update with version 0.11.1 we see the following:
ahurt1:ena-policy ahurt$ glide -version
glide version 0.11.1
ahurt1:ena-policy ahurt$ glide up
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for bitbucket.xxx.xxx/go/ena-session.
[INFO] --> Fetching updates for github.com/renstrom/shortuuid.
[INFO] --> Fetching updates for github.com/klauspost/crc32.
[INFO] --> Fetching updates for github.com/satori/go.uuid.
[INFO] --> Fetching updates for github.com/klauspost/compress.
[INFO] --> Fetching updates for github.com/go-sql-driver/mysql.
[INFO] --> Fetching updates for github.com/lann/builder.
[INFO] --> Fetching updates for bitbucket.xxx.xxx/go/ena-common.
[INFO] --> Fetching updates for github.com/lann/ps.
[INFO] --> Fetching updates for github.com/jmoiron/sqlx.
[INFO] --> Fetching updates for github.com/emicklei/go-restful.
[INFO] --> Fetching updates for github.com/BurntSushi/toml.
[INFO] --> Fetching updates for bitbucket.xxx.xxx/go/ena-community.
[INFO] --> Fetching updates for gopkg.in/yaml.v2.
[INFO] --> Fetching updates for github.com/couchbase/gocb.
[INFO] --> Fetching updates for github.com/Masterminds/squirrel.
[INFO] --> Fetching updates for github.com/klauspost/pgzip.
[INFO] --> Fetching updates for github.com/klauspost/cpuid.
[INFO] --> Fetching updates for bitbucket.xxx.xxx/go/ena-consul.
[INFO] --> Fetching updates for github.com/hashicorp/go-cleanhttp.
[INFO] --> Fetching updates for github.com/hashicorp/serf.
[INFO] --> Setting version for bitbucket.xxx.xxx/go/ena-community to master.
[INFO] Resolving imports
[INFO] Fetching github.com/Sirupsen/logrus into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Detected semantic version. Setting version for github.com/Sirupsen/logrus to v0.10.0.
[INFO] Fetching github.com/rifflock/lfshook into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Detected semantic version. Setting version for github.com/rifflock/lfshook to v1.0.
[INFO] Fetching github.com/Masterminds/glide/cfg into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Detected semantic version. Setting version for github.com/Masterminds/glide to v0.12.1.
[INFO] Fetching github.com/mitchellh/cli into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] Fetching github.com/hashicorp/consul/api into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Detected semantic version. Setting version for github.com/hashicorp/consul to v0.6.4.
[INFO] Found Godeps.json file in vendor/github.com/hashicorp/consul
[INFO] --> Parsing Godeps metadata...
[INFO] --> Setting version for github.com/hashicorp/go-cleanhttp to 875fb671b3ddc66f8e2f0acc33829c8cb989a38d.
[INFO] --> Setting version for github.com/hashicorp/serf to e4ec8cc423bbe20d26584b96efbeb9102e16d05f.
[INFO] Fetching golang.org/x/sys/unix into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Setting version for golang.org/x/sys to 20457ee8ea8546920d3f4e19e405da45250dc5a5.
[INFO] Fetching github.com/Masterminds/vcs into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Detected semantic version. Setting version for github.com/Masterminds/vcs to v1.8.0.
[INFO] Fetching github.com/armon/go-radix into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Setting version for github.com/armon/go-radix to 4239b77079c7b5d1243b7b4736304ce8ddb6f0f2.
[INFO] Fetching github.com/bgentry/speakeasy into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Setting version for github.com/bgentry/speakeasy to 36e9cfdd690967f4f690c6edcc9ffacd006014a0.
[INFO] Fetching github.com/mattn/go-isatty into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] --> Setting version for github.com/mattn/go-isatty to 56b76bdf51f7708750eac80fa38b952bb9f32639.
[INFO] Fetching github.com/stretchr/testify/suite into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] Fetching github.com/davecgh/go-spew/spew into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] Fetching github.com/pmezard/go-difflib/difflib into /Users/ahurt/Projects/go/src/bitbucket.xxx.xxx/ws/ena-policy/vendor
[INFO] Downloading dependencies. Please wait...
[INFO] Setting references for remaining imports
[INFO] Project relies on 31 dependencies.
With 0.12.0+ we see something quite different:
ahurt1:ena-policy ahurt$ glide up
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching github.com/klauspost/cpuid.
[INFO] --> Fetching gopkg.in/yaml.v2.
[INFO] --> Fetching github.com/lann/ps.
[INFO] --> Fetching github.com/renstrom/shortuuid.
[INFO] --> Fetching github.com/hashicorp/go-cleanhttp.
[INFO] --> Fetching github.com/jmoiron/sqlx.
[INFO] --> Fetching github.com/klauspost/crc32.
[INFO] --> Fetching github.com/klauspost/compress.
[INFO] --> Fetching github.com/satori/go.uuid.
[INFO] --> Fetching github.com/lann/builder.
[INFO] --> Fetching bitbucket.xxx.xxx/go/ena-community.
[INFO] --> Fetching bitbucket.xxx.xxx/go/ena-common.
[INFO] --> Fetching github.com/BurntSushi/toml.
[INFO] --> Fetching bitbucket.xxx.xxx/go/ena-session.
[INFO] --> Fetching bitbucket.xxx.xxx/go/ena-consul.
[INFO] --> Fetching github.com/Masterminds/squirrel.
[INFO] --> Fetching github.com/couchbase/gocb.
[INFO] --> Fetching github.com/klauspost/pgzip.
[INFO] --> Fetching github.com/emicklei/go-restful.
[INFO] --> Fetching github.com/go-sql-driver/mysql.
[INFO] --> Fetching github.com/hashicorp/serf.
[INFO] --> Setting version for bitbucket.xxx.xxx/go/ena-community to master.
[INFO] Resolving imports
[INFO] --> Fetching github.com/Sirupsen/logrus.
[INFO] --> Fetching github.com/rifflock/lfshook.
[INFO] --> Fetching github.com/Masterminds/glide.
[INFO] --> Fetching github.com/mitchellh/cli.
[INFO] --> Fetching github.com/hashicorp/consul.
[INFO] --> Detected semantic version. Setting version for github.com/hashicorp/consul to v0.6.4.
[INFO] --> Fetching golang.org/x/sys.
[INFO] --> Fetching github.com/Masterminds/vcs.
[INFO] --> Fetching github.com/armon/go-radix.
[INFO] --> Fetching github.com/bgentry/speakeasy.
[INFO] --> Fetching github.com/mattn/go-isatty.
[INFO] --> Fetching github.com/stretchr/testify.
[INFO] --> Fetching github.com/davecgh/go-spew.
[INFO] --> Fetching github.com/pmezard/go-difflib.
[INFO] Downloading dependencies. Please wait...
[INFO] Setting references for remaining imports
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting bitbucket.xxx.xxx/go/ena-community
[INFO] --> Exporting bitbucket.xxx.xxx/go/ena-session
[INFO] --> Exporting github.com/Masterminds/squirrel
[INFO] --> Exporting github.com/hashicorp/go-cleanhttp
[INFO] --> Exporting github.com/go-sql-driver/mysql
[INFO] --> Exporting github.com/klauspost/pgzip
[INFO] --> Exporting github.com/couchbase/gocb
[INFO] --> Exporting github.com/hashicorp/serf
[INFO] --> Exporting github.com/Sirupsen/logrus
[INFO] --> Exporting github.com/klauspost/crc32
[INFO] --> Exporting github.com/rifflock/lfshook
[INFO] --> Exporting github.com/emicklei/go-restful
[INFO] --> Exporting github.com/satori/go.uuid
[INFO] --> Exporting github.com/hashicorp/consul
[INFO] --> Exporting github.com/Masterminds/vcs
[INFO] --> Exporting github.com/jmoiron/sqlx
[INFO] --> Exporting github.com/armon/go-radix
[INFO] --> Exporting github.com/klauspost/compress
[INFO] --> Exporting github.com/BurntSushi/toml
[INFO] --> Exporting github.com/bgentry/speakeasy
[INFO] --> Exporting github.com/mattn/go-isatty
[INFO] --> Exporting github.com/renstrom/shortuuid
[INFO] --> Exporting github.com/lann/ps
[INFO] --> Exporting github.com/stretchr/testify
[INFO] --> Exporting github.com/mitchellh/cli
[INFO] --> Exporting github.com/klauspost/cpuid
[INFO] --> Exporting github.com/pmezard/go-difflib
[INFO] --> Exporting bitbucket.xxx.xxx/go/ena-consul
[INFO] --> Exporting golang.org/x/sys
[INFO] --> Exporting github.com/lann/builder
[INFO] --> Exporting github.com/davecgh/go-spew
[INFO] --> Exporting bitbucket.xxx.xxx/go/ena-common
[INFO] --> Exporting github.com/Masterminds/glide
[INFO] --> Exporting gopkg.in/yaml.v2
[INFO] Replacing existing vendor dependencies
[INFO] Project relies on 31 dependencies.
The 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.