{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/rules_go/issues/114","repository_url":"https://api.github.com/repos/bazelbuild/rules_go","labels_url":"https://api.github.com/repos/bazelbuild/rules_go/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/rules_go/issues/114/comments","events_url":"https://api.github.com/repos/bazelbuild/rules_go/issues/114/events","html_url":"https://github.com/bazelbuild/rules_go/issues/114","id":178503814,"number":114,"title":"gazelle vendor support","user":{"login":"hochhaus","id":5508784,"avatar_url":"https://avatars.githubusercontent.com/u/5508784?v=3","gravatar_id":"","url":"https://api.github.com/users/hochhaus","html_url":"https://github.com/hochhaus","followers_url":"https://api.github.com/users/hochhaus/followers","following_url":"https://api.github.com/users/hochhaus/following{/other_user}","gists_url":"https://api.github.com/users/hochhaus/gists{/gist_id}","starred_url":"https://api.github.com/users/hochhaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hochhaus/subscriptions","organizations_url":"https://api.github.com/users/hochhaus/orgs","repos_url":"https://api.github.com/users/hochhaus/repos","events_url":"https://api.github.com/users/hochhaus/events{/privacy}","received_events_url":"https://api.github.com/users/hochhaus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-09-22T02:09:40Z","updated_at":"2016-12-21T22:24:24Z","closed_at":null,"body":"Is vendoring automatically supported when using gazelle/`new_go_repository()`?\n\nAs a specific example, when using `new_go_repository()` with a repository that uses vendoring (eg: https://github.com/rsc/letsencrypt) I see that gazelle creates BUILD files for the vendored repositories.\n\nFor example, adding the following to my WORKSPACE:\n\n```\nnew_go_repository(\n    name = \"io_rsc_letsencrypt\",\n    commit = \"a18c646c3d0772313b7b53c78847bb3eb6463f0b\",\n    importpath = \"rsc.io/letsencrypt\",\n)\n```\n\ngenerates the following BUILD files:\n\n```\nahochhaus@ahochhaus-pc:~/ll$ find -L bazel-* -name BUILD | grep letsen\nbazel-ll/external/io_rsc_letsencrypt/BUILD\nbazel-ll/external/io_rsc_letsencrypt/vendor/github.com/xenolf/lego/acme/BUILD\n```\n\nHowever when I build, the vendored repository (`com_github_xenolf_lego`) can't be found.\n"},"comment":{"url":"https://api.github.com/repos/bazelbuild/rules_go/issues/comments/268659039","html_url":"https://github.com/bazelbuild/rules_go/issues/114#issuecomment-268659039","issue_url":"https://api.github.com/repos/bazelbuild/rules_go/issues/114","id":268659039,"user":{"login":"pcj","id":50580,"avatar_url":"https://avatars.githubusercontent.com/u/50580?v=3","gravatar_id":"","url":"https://api.github.com/users/pcj","html_url":"https://github.com/pcj","followers_url":"https://api.github.com/users/pcj/followers","following_url":"https://api.github.com/users/pcj/following{/other_user}","gists_url":"https://api.github.com/users/pcj/gists{/gist_id}","starred_url":"https://api.github.com/users/pcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcj/subscriptions","organizations_url":"https://api.github.com/users/pcj/orgs","repos_url":"https://api.github.com/users/pcj/repos","events_url":"https://api.github.com/users/pcj/events{/privacy}","received_events_url":"https://api.github.com/users/pcj/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T22:24:24Z","updated_at":"2016-12-21T22:24:24Z","body":"@mikedanese Nit: will render better as `README.md`"}}
{"actor":{"display_login":"pcj"}}