{"action":"closed","issue":{"url":"https://api.github.com/repos/Masterminds/glide/issues/287","repository_url":"https://api.github.com/repos/Masterminds/glide","labels_url":"https://api.github.com/repos/Masterminds/glide/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/Masterminds/glide/issues/287/comments","events_url":"https://api.github.com/repos/Masterminds/glide/issues/287/events","html_url":"https://github.com/Masterminds/glide/issues/287","id":136278115,"number":287,"title":"glide get github.com/Azure/go-autorest/autorest fails","user":{"login":"colemickens","id":327028,"avatar_url":"https://avatars.githubusercontent.com/u/327028?v=3","gravatar_id":"","url":"https://api.github.com/users/colemickens","html_url":"https://github.com/colemickens","followers_url":"https://api.github.com/users/colemickens/followers","following_url":"https://api.github.com/users/colemickens/following{/other_user}","gists_url":"https://api.github.com/users/colemickens/gists{/gist_id}","starred_url":"https://api.github.com/users/colemickens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemickens/subscriptions","organizations_url":"https://api.github.com/users/colemickens/orgs","repos_url":"https://api.github.com/users/colemickens/repos","events_url":"https://api.github.com/users/colemickens/events{/privacy}","received_events_url":"https://api.github.com/users/colemickens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Masterminds/glide/milestones/10","html_url":"https://github.com/Masterminds/glide/milestones/0.12","labels_url":"https://api.github.com/repos/Masterminds/glide/milestones/10/labels","id":1857592,"number":10,"title":"0.12","description":"","creator":{"login":"mattfarina","id":62991,"avatar_url":"https://avatars.githubusercontent.com/u/62991?v=3","gravatar_id":"","url":"https://api.github.com/users/mattfarina","html_url":"https://github.com/mattfarina","followers_url":"https://api.github.com/users/mattfarina/followers","following_url":"https://api.github.com/users/mattfarina/following{/other_user}","gists_url":"https://api.github.com/users/mattfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/mattfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattfarina/subscriptions","organizations_url":"https://api.github.com/users/mattfarina/orgs","repos_url":"https://api.github.com/users/mattfarina/repos","events_url":"https://api.github.com/users/mattfarina/events{/privacy}","received_events_url":"https://api.github.com/users/mattfarina/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":11,"state":"open","created_at":"2016-06-30T14:53:23Z","updated_at":"2016-08-19T16:54:00Z","due_on":"2016-08-23T00:00:00Z","closed_at":null},"comments":5,"created_at":"2016-02-25T04:36:00Z","updated_at":"2016-08-19T16:54:00Z","closed_at":"2016-08-19T16:54:00Z","body":"Steps:\r\n* Removed `glide.lock`.\r\n* Removed `vendor/`.\r\n* Execute `glide get github.com/Azure/go-autorest/autorest`\r\n\r\nExpected, it works.\r\n\r\nActual, it fails:\r\n\r\n```\r\n$ glide get github.com/Azure/go-autorest/autorest\r\n[INFO] Preparing to install 1 package.\r\n[INFO] Importing github.com/Azure/go-autorest\r\n[INFO] Downloading dependencies. Please wait...\r\n[INFO] Fetching updates for github.com/Azure/azure-sdk-for-go.\r\n[INFO] Fetching updates for github.com/golang/glog.\r\n[INFO] Fetching updates for github.com/spf13/cobra.\r\n[INFO] Fetching updates for github.com/pborman/uuid.\r\n[INFO] Fetching updates for github.com/Azure/go-autorest.\r\n[INFO] Resolving imports\r\n[INFO] Fetching updates for github.com/spf13/pflag.\r\n[INFO] Fetching updates for github.com/Azure/go-autorest.\r\n[INFO] Fetching updates for golang.org/x/crypto.\r\n[INFO] Fetching updates for github.com/dgrijalva/jwt-go.\r\n[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\r\n[INFO] Downloading dependencies. Please wait...\r\n[INFO] Fetching updates for github.com/Azure/azure-sdk-for-go.\r\n[INFO] Fetching updates for github.com/pborman/uuid.\r\n[INFO] Fetching updates for github.com/golang/glog.\r\n[INFO] Fetching updates for github.com/spf13/cobra.\r\nAn Error has occured\r\n```\r\n\r\nI 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`.)\r\n\r\nIt seems to have gotten confused, I'm guessing because the \"top package\" is not at the top of the repo.\r\n\r\n`glide` is from whatever is on master at this very instant (bff8b50d232e5005b452de18d54ca7439c596415).\r\n\r\nAny advice for unblocking would be greatly appreciated."}}
{"actor":{"display_login":"mattfarina"}}