{"action":"created","issue":{"url":"https://api.github.com/repos/Masterminds/glide/issues/273","repository_url":"https://api.github.com/repos/Masterminds/glide","labels_url":"https://api.github.com/repos/Masterminds/glide/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/Masterminds/glide/issues/273/comments","events_url":"https://api.github.com/repos/Masterminds/glide/issues/273/events","html_url":"https://github.com/Masterminds/glide/issues/273","id":134973243,"number":273,"title":"Glide fails on two packages in same dir","user":{"login":"LK4D4","id":101445,"avatar_url":"https://avatars.githubusercontent.com/u/101445?v=3","gravatar_id":"","url":"https://api.github.com/users/LK4D4","html_url":"https://github.com/LK4D4","followers_url":"https://api.github.com/users/LK4D4/followers","following_url":"https://api.github.com/users/LK4D4/following{/other_user}","gists_url":"https://api.github.com/users/LK4D4/gists{/gist_id}","starred_url":"https://api.github.com/users/LK4D4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LK4D4/subscriptions","organizations_url":"https://api.github.com/users/LK4D4/orgs","repos_url":"https://api.github.com/users/LK4D4/repos","events_url":"https://api.github.com/users/LK4D4/events{/privacy}","received_events_url":"https://api.github.com/users/LK4D4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-19T20:58:38Z","updated_at":"2016-02-19T21:20:34Z","closed_at":null,"body":"Not sure if I should post issues against a master, but there is a pretty bad bug, which was brought by `UseAllFiles`. I encountered it as well when tried to write vendoring tool.\r\nError is next:\r\n```\r\nFailed to build an initial list of packages to scan: found packages archive (archive.go) and main (example_changes.go) in /home/moroz/project/workspace/src/github.com/docker/docker/pkg/archive\r\n```\r\nIt's pretty obvious what's going on here, and it can happen in any dependency too. A possible way to avoid this is to catch that specific error and parse all files and collect all tags by hands except `ignore` and import it with custom `context`.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Masterminds/glide/issues/comments/186411236","html_url":"https://github.com/Masterminds/glide/issues/273#issuecomment-186411236","issue_url":"https://api.github.com/repos/Masterminds/glide/issues/273","id":186411236,"user":{"login":"bwiggs","id":7358,"avatar_url":"https://avatars.githubusercontent.com/u/7358?v=3","gravatar_id":"","url":"https://api.github.com/users/bwiggs","html_url":"https://github.com/bwiggs","followers_url":"https://api.github.com/users/bwiggs/followers","following_url":"https://api.github.com/users/bwiggs/following{/other_user}","gists_url":"https://api.github.com/users/bwiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/bwiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwiggs/subscriptions","organizations_url":"https://api.github.com/users/bwiggs/orgs","repos_url":"https://api.github.com/users/bwiggs/repos","events_url":"https://api.github.com/users/bwiggs/events{/privacy}","received_events_url":"https://api.github.com/users/bwiggs/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T21:20:34Z","updated_at":"2016-02-19T21:20:34Z","body":"We're having a similar issue:\r\n\r\n```\r\n[ERROR] Error scanning github.com/lib/pq/oid: found packages oid (doc.go) and main (gen.go) in /home/ubuntu/.go_workspace/src/github.com/evosure/kraken/vendor/github.com/lib/pq/oid\r\n```"}}