{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/beats/issues/5645","repository_url":"https://api.github.com/repos/elastic/beats","labels_url":"https://api.github.com/repos/elastic/beats/issues/5645/labels{/name}","comments_url":"https://api.github.com/repos/elastic/beats/issues/5645/comments","events_url":"https://api.github.com/repos/elastic/beats/issues/5645/events","html_url":"https://github.com/elastic/beats/pull/5645","id":275253233,"number":5645,"title":"Fix for #5644 - Clone from github caused build_before to fail","user":{"login":"dlasrado","id":5210866,"avatar_url":"https://avatars1.githubusercontent.com/u/5210866?v=4","gravatar_id":"","url":"https://api.github.com/users/dlasrado","html_url":"https://github.com/dlasrado","followers_url":"https://api.github.com/users/dlasrado/followers","following_url":"https://api.github.com/users/dlasrado/following{/other_user}","gists_url":"https://api.github.com/users/dlasrado/gists{/gist_id}","starred_url":"https://api.github.com/users/dlasrado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlasrado/subscriptions","organizations_url":"https://api.github.com/users/dlasrado/orgs","repos_url":"https://api.github.com/users/dlasrado/repos","events_url":"https://api.github.com/users/dlasrado/events{/privacy}","received_events_url":"https://api.github.com/users/dlasrado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-20T06:52:05Z","updated_at":"2017-11-21T00:39:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/5645","html_url":"https://github.com/elastic/beats/pull/5645","diff_url":"https://github.com/elastic/beats/pull/5645.diff","patch_url":"https://github.com/elastic/beats/pull/5645.patch"},"body":"The clone from Githup repo (when source == '') goes into $GOPATH/src/${GIT_REPO} which is beats folder. It should be rather at github.com/elastic folder.\r\nThis bug causes the build_before.sh to fail during Make."},"comment":{"url":"https://api.github.com/repos/elastic/beats/issues/comments/345878228","html_url":"https://github.com/elastic/beats/pull/5645#issuecomment-345878228","issue_url":"https://api.github.com/repos/elastic/beats/issues/5645","id":345878228,"user":{"login":"dlasrado","id":5210866,"avatar_url":"https://avatars1.githubusercontent.com/u/5210866?v=4","gravatar_id":"","url":"https://api.github.com/users/dlasrado","html_url":"https://github.com/dlasrado","followers_url":"https://api.github.com/users/dlasrado/followers","following_url":"https://api.github.com/users/dlasrado/following{/other_user}","gists_url":"https://api.github.com/users/dlasrado/gists{/gist_id}","starred_url":"https://api.github.com/users/dlasrado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlasrado/subscriptions","organizations_url":"https://api.github.com/users/dlasrado/orgs","repos_url":"https://api.github.com/users/dlasrado/repos","events_url":"https://api.github.com/users/dlasrado/events{/privacy}","received_events_url":"https://api.github.com/users/dlasrado/received_events","type":"User","site_admin":false},"created_at":"2017-11-21T00:39:04Z","updated_at":"2017-11-21T00:39:04Z","author_association":"NONE","body":"@ruflin This issue occurred when I was trying to build my own output plugin for filebeat (within libbeats/outputs). I dont need to fork or modify the actual code at elastic/beats. I only need the Makefile to build a rpm.\r\nThe option to clone the beats code directly from Github is used during docker build. This is achieved by sending SOURCE variable as empty (-e SOURCE=\\).\r\nxgo-image/base/build.sh has a condition to get the source from Github directly into docker rather than use from a volume (line 48).\r\nThe folder in which code is checkout (Cloned) is github.com/elastic/beats rather than github.com/elastic. Its a small bug, but it stalls the build process.\r\n"}}
{"actor":{"display_login":"dlasrado"}}