You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is what it gives with the new master (aaf314c):
$ glide up
[INFO] Fetching updates for github.com/coreos/etcd.
[INFO] Detected semantic version. Setting version for github.com/coreos/etcd to v2.2.4.
[INFO] Resolving imports
[INFO] Found Godeps.json file.
[INFO] Setting version for google.golang.org/cloud to f20d6dcccb44ed49de45ae3703312cb46e627db1.
[INFO] Setting version for golang.org/x/net to 7dbad50ab5b31073856416cdcfeb2796d682f844.
[INFO] Setting version for github.com/golang/protobuf to 5677a0e3d5e89854c9974e1256839ee23f8233ca.
[INFO] Setting version for golang.org/x/oauth2 to 3046bc76d6dfd7d3707f6640f85e42d9c4050f50.
[ERROR] Dependency /tmp/gopath/src/testEtcdGlide/vendor/google.golang.org/api/container/v1beta1 failed to resolve: lstat /tmp/gopath/src/testEtcdGlide/vendor/google.golang.org/api/container/v1beta1: no such file or directory.
[ERROR] Failed to retrieve a list of dependencies: lstat /tmp/gopath/src/testEtcdGlide/vendor/google.golang.org/api/container/v1beta1: no such file or directory
There is a problem here. I'm trying to figure out the best way to handle it.
Under Glide 0.8.3 there are no errors. But google.golang.org/cloud is set to f20d6dcccb44ed49de45ae3703312cb46e627db1 and it has an import of google.golang.org/api/container/v1beta1. Glide 0.8.3 checkout out google.golang.org/api as master where this package doesn't exist. So, it's not catching the problem even though it is present.
Glide on master catches this problem.
coreos, using Godep, vendors google.golang.org/cloud and it is listed in the Godeps.json file. But, google.golang.org/api is not vendored.
I think the fix is for Glide to walk the used dependency tree rather than all possibilities. Coreos must not be using the part of google.golang.org/cloud that calls to google.golang.org/api/container/v1beta1.
This may be solved by #220 or some of the other work we've talked about.
You can check with this glide.yaml:
Here is what it gives with the new master (aaf314c):
But it works if I revert Glide to f8f0647
The text was updated successfully, but these errors were encountered: