I'm playing around with glide for dbxcli (https://github.com/dropbox/dbxcli). I deleted the vendor directory, then ran glide init followed by glide up. Then running glide list shows me many warnings like:
[INFO] Package github.com/inconshreveable/mousetrap found in vendor/ folder
[WARN] Version not set for package github.com/inconshreveable/mousetrap
[INFO] Package github.com/spf13/pflag found in vendor/ folder
[WARN] Version not set for package github.com/spf13/pflag
[INFO] Package github.com/dropbox/dropbox-sdk-go-unofficial/apierror found in vendor/ folder
[WARN] Version not set for package github.com/dropbox/dropbox-sdk-go-unofficial/apierror
[INFO] Package github.com/dropbox/dropbox-sdk-go-unofficial/async found in vendor/ folder
[WARN] Version not set for package github.com/dropbox/dropbox-sdk-go-unofficial/async
[INFO] Package github.com/dropbox/dropbox-sdk-go-unofficial/files found in vendor/ folder
[WARN] Version not set for package github.com/dropbox/dropbox-sdk-go-unofficial/files
[INFO] Package github.com/dropbox/dropbox-sdk-go-unofficial/sharing found in vendor/ folder
[WARN] Version not set for package github.com/dropbox/dropbox-sdk-go-unofficial/sharing
[INFO] Package github.com/dropbox/dropbox-sdk-go-unofficial/team found in vendor/ folder
[WARN] Version not set for package github.com/dropbox/dropbox-sdk-go-unofficial/team
[INFO] Package github.com/dropbox/dropbox-sdk-go-unofficial/users found in vendor/ folder
[WARN] Version not set for package github.com/dropbox/dropbox-sdk-go-unofficial/users
[INFO] Package golang.org/x/oauth2 found in vendor/ folder
[WARN] Version not set for package golang.org/x/oauth2
...
This is followed by a package list that contains many duplicates:
github.com/dropbox/dropbox-sdk-go-unofficial/team
github.com/dropbox/dropbox-sdk-go-unofficial/team
github.com/dropbox/dropbox-sdk-go-unofficial/users
github.com/dropbox/dropbox-sdk-go-unofficial/users
github.com/dropbox/dropbox-sdk-go-unofficial/users
github.com/dropbox/dropbox-sdk-go-unofficial/users
...
golang.org/x/net/context
golang.org/x/net/context
golang.org/x/oauth2
golang.org/x/oauth2
golang.org/x/oauth2/internal
golang.org/x/oauth2/internal
google.golang.org/appengine/internal
google.golang.org/appengine/internal
google.golang.org/appengine/internal/base
google.golang.org/appengine/internal/base
google.golang.org/appengine/internal/datastore
google.golang.org/appengine/internal/datastore
google.golang.org/appengine/internal/log
google.golang.org/appengine/internal/log
google.golang.org/appengine/internal/remote_api
google.golang.org/appengine/internal/remote_api
google.golang.org/appengine/internal/urlfetch
google.golang.org/appengine/internal/urlfetch
google.golang.org/appengine/urlfetch
google.golang.org/appengine/urlfetch
Are these known issues? There are definitely non-intuitive and surprising. Glide looks great but making new project onboarding seamless will be crucial for adoption.
FYI, even after I add version information to glide.yaml (copying over from glide.lock after first run), I still get the same errors. cc/ @mattfarina to your comment in another issue, this has very high WTF-factor IMO.
@diwakergupta Have you stripped the VCS metadata from the projects in your vendor/ directory? I have an idea what this might be (and it may be a legitimate bug).
@mattfarina I tried with and without stripping VCS metadata -- get the same warnings.
@mattfarina any update on this? I'd love to start using glide, but am blocked behind this.
I have the same problem. I just created a new project and I included some deps:
package: testtt
import:
- package: github.com/spf13/pflag
- package: k8s.io/client-go
version: ^2.0.0-alpha.0
subpackages:
- kubernetes
- pkg/api
- pkg/api/errors
- pkg/api/meta
- pkg/api/unversioned
- pkg/api/v1
- pkg/apis/extensions/v1beta1
- pkg/fields
- pkg/runtime
- pkg/runtime/serializer
- pkg/util/strategicpatch
- rest
- tools/clientcmd
- package: k8s.io/kubernetes
version: ~1.4.x
subpackages:
- pkg/api/annotations
And I have the same problem when I run glide list. I'm in Mac OS X 10.11.6 with glide version 0.12.3 from homebrew.
Same problem here!
Most helpful comment
@mattfarina any update on this? I'd love to start using glide, but am blocked behind this.