Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

dep init failed to convert github.com/boz/kail from govendor to dep #1047

@dcheney-atlassian

Description

@dcheney-atlassian

What version of Go (go version) and dep (git describe --tags) are you using?

% go version
go version devel +1a2ac46 Mon Aug 21 21:08:17 2017 +0000 linux/amd64

What dep command did you run?

% go get -d github.com/boz/kail
% cd $GOPATH/src/github.com/boz/tail
% govendor sync
% go build ./cmd/kail

# builds successfully

% dep init
% rm -rf vendor
% dep ensure
% go build ./cmd/kail
github.com/boz/kail/vendor/k8s.io/client-go/pkg/apis/settings
# github.com/boz/kail/vendor/k8s.io/api/core/v1
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:897:15: in.ObjectMeta.DeepCopyInto undefined (type v1.ObjectMeta has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1013:15: in.ObjectMeta.DeepCopyInto undefined (type v1.ObjectMeta has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1079:15: in.ObjectMeta.DeepCopyInto undefined (type v1.ObjectMeta has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1440:14: in.StartedAt.DeepCopyInto undefined (type v1.Time has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1457:14: in.StartedAt.DeepCopyInto undefined (type v1.Time has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1458:15: in.FinishedAt.DeepCopyInto undefined (type v1.Time has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1788:15: in.ObjectMeta.DeepCopyInto undefined (type v1.ObjectMeta has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1967:15: in.ObjectMeta.DeepCopyInto undefined (type v1.ObjectMeta has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1970:19: in.FirstTimestamp.DeepCopyInto undefined (type v1.Time has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1971:18: in.LastTimestamp.DeepCopyInto undefined (type v1.Time has no field or method DeepCopyInto)
vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go:1971:18: too many errors
github.com/boz/kail/vendor/k8s.io/client-go/pkg/api/v1
github.com/boz/kail/vendor/k8s.io/client-go/pkg/apis/apps
github.com/boz/kail/vendor/k8s.io/client-go/pkg/apis/apps/v1beta1

What did you expect to see?

./kail built correctly both times.

What did you see instead?

See above, looks like dep init didn't match the exact revisions from govendor

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions