Skip to content

Am I doing something wrong here? #3

@rhugga

Description

@rhugga

I'm trying to run "dep ensure" and get these warnings:

`
Warning: the following project(s) have [[constraint]] stanzas in Gopkg.toml:

✗ github.com/davecgh/go-spew
✗ github.com/ghodss/yaml
✗ github.com/gogo/protobuf
✗ github.com/golang/glog
✗ github.com/golang/protobuf
✗ github.com/google/gofuzz
✗ github.com/googleapis/gnostic
✗ github.com/hashicorp/golang-lru
✗ github.com/json-iterator/go
✗ github.com/modern-go/concurrent
✗ github.com/modern-go/reflect2
✗ github.com/spf13/pflag
✗ golang.org/x/crypto
✗ golang.org/x/net
✗ golang.org/x/sys
✗ golang.org/x/text
✗ golang.org/x/time
✗ gopkg.in/inf.v0
✗ gopkg.in/yaml.v2
✗ k8s.io/code-generator
✗ k8s.io/gengo
✗ k8s.io/kube-openapi

However, these projects are not direct dependencies of the current project:
they are not imported in any .go files, nor are they in the 'required' list in
Gopkg.toml. Dep only applies [[constraint]] rules to direct dependencies, so
these rules will have no effect.

Either import/require packages from these projects so that they become direct
dependencies, or convert each [[constraint]] to an [[override]] to enforce rules
on these projects, if they happen to be transitive dependencies.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions