Skip to content

glide get github.com/Azure/go-autorest/autorest fails #287

@colemickens

Description

@colemickens

Steps:

  • Removed glide.lock.
  • Removed vendor/.
  • Execute glide get github.com/Azure/go-autorest/autorest

Expected, it works.

Actual, it fails:

$ glide get github.com/Azure/go-autorest/autorest
[INFO] Preparing to install 1 package.
[INFO] Importing github.com/Azure/go-autorest
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for github.com/Azure/azure-sdk-for-go.
[INFO] Fetching updates for github.com/golang/glog.
[INFO] Fetching updates for github.com/spf13/cobra.
[INFO] Fetching updates for github.com/pborman/uuid.
[INFO] Fetching updates for github.com/Azure/go-autorest.
[INFO] Resolving imports
[INFO] Fetching updates for github.com/spf13/pflag.
[INFO] Fetching updates for github.com/Azure/go-autorest.
[INFO] Fetching updates for golang.org/x/crypto.
[INFO] Fetching updates for github.com/dgrijalva/jwt-go.
[ERROR] Error scanning github.com/Azure/go-autorest/azure: open /home/cole/code/azure/azkube_gopath/src/github.com/colemickens/azkube/vendor/github.com/Azure/go-autorest/azure: no such file or directory
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for github.com/Azure/azure-sdk-for-go.
[INFO] Fetching updates for github.com/pborman/uuid.
[INFO] Fetching updates for github.com/golang/glog.
[INFO] Fetching updates for github.com/spf13/cobra.
An Error has occured

I don't know where glide came up with this import path in the ERROR line. It's simply wrong: github.com/Azure/go-autorest/azure. (Note it's missing the autorest segment between go-autorest and azure.)

It seems to have gotten confused, I'm guessing because the "top package" is not at the top of the repo.

glide is from whatever is on master at this very instant (bff8b50).

Any advice for unblocking would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions