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.

vendor.orig causes subsequent dep ensure's to explode #1304

@davecheney

Description

@davecheney

What version of dep are you using (dep version)?

v0.3.1-122-g98f625e

What dep command did you run?

dep ensure -v
^C
dep ensure -v

What did you expect to see?

Normal dep ensure stuff

What did you see instead?

% dep ensure -v                                                                                                                                                                                        
found 170 errors in the package tree:
import root "github.com/heptio/zzz" is not a prefix for the package's declared canonical path "golang.org/x/crypto/ssh/testdata"
import root "github.com/heptio/zzz" is not a prefix for the package's declared canonical path "golang.org/x/oauth2/paypal"
import root "github.com/heptio/zzz" is not a prefix for the package's declared canonical path "golang.org/x/crypto/openpgp/elgamal"

and on and on and on for pages

This was caused by the vendor.orig/ folder left around by the first dep ensure which was canceled.

Dep should abort if it finds this folder, or at least ignore it.

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