Skip to content

Vendoring issue when importing from gopkg.in #123

@calvn

Description

@calvn

I am seeing vendoring issues after the dockerclient package was moved internally. Vendoring is done with govendor and the import is based off gopkg.in.

package github.com/hashicorp/vault/builtin/logical/mysql (test)
	imports gopkg.in/ory-am/dockertest.v3
	imports github.com/ory/dockertest/docker: cannot find package "github.com/ory/dockertest/docker" in any of:
	/Users/cleung/go/src/github.com/hashicorp/vault/vendor/github.com/ory/dockertest/docker (vendor tree)
	/usr/local/Cellar/go/1.10.1/libexec/src/github.com/ory/dockertest/docker (from $GOROOT)
	/Users/cleung/go/src/github.com/ory/dockertest/docker (from $GOPATH)
FAIL	github.com/hashicorp/vault/builtin/logical/mysql [setup failed]

The package is also not able to be downloaded with go get

go get -d github.com/ory/dockertest/docker
package github.com/ory/dockertest/docker: cannot find package "github.com/ory/dockertest/docker" in any of:
	/usr/local/Cellar/go/1.10.1/libexec/src/github.com/ory/dockertest/docker (from $GOROOT)
	/Users/cleung/go/src/github.com/ory/dockertest/docker (from $GOPATH)

I think the issue might be that package docker is not an actual fetch-able package so anything that is external to dockertest will not be able to resolve dockertest/docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions