{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/10210","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/10210/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/10210/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/10210/events","html_url":"https://github.com/openshift/origin/pull/10210","id":169360080,"number":10210,"title":"go-binddata can not found when GOPATH is a list of directories","user":{"login":"guangxuli","id":17472298,"avatar_url":"https://avatars.githubusercontent.com/u/17472298?v=3","gravatar_id":"","url":"https://api.github.com/users/guangxuli","html_url":"https://github.com/guangxuli","followers_url":"https://api.github.com/users/guangxuli/followers","following_url":"https://api.github.com/users/guangxuli/following{/other_user}","gists_url":"https://api.github.com/users/guangxuli/gists{/gist_id}","starred_url":"https://api.github.com/users/guangxuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guangxuli/subscriptions","organizations_url":"https://api.github.com/users/guangxuli/orgs","repos_url":"https://api.github.com/users/guangxuli/repos","events_url":"https://api.github.com/users/guangxuli/events{/privacy}","received_events_url":"https://api.github.com/users/guangxuli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"assignees":[{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-04T12:14:44Z","updated_at":"2016-08-05T13:10:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/10210","html_url":"https://github.com/openshift/origin/pull/10210","diff_url":"https://github.com/openshift/origin/pull/10210.diff","patch_url":"https://github.com/openshift/origin/pull/10210.patch"},"body":"when run `$ make verify`, there are some erros:\r\n\r\n```\r\n===== Verifying Generated Bootstrap Bindata =====\r\nGenerating bootstrap bindata...\r\nFAILURE: Generation of fresh bindata failed:\r\n/root/go/src/github.com/openshift/origin/hack/gen-bootstrap-bindata.sh: line 20: **/root/go:/home/test/bin/go-bindata**: No such file or directory\r\n[ERROR] PID 18518: hack/gen-bootstrap-bindata.sh:20: `\"${GOPATH}/bin/go-bindata\" -nocompress -nometadata -prefix \"bootstrap\" -pkg \"bootstrap\" -o \"${OUTPUT_PARENT}/pkg/bootstrap/bindata.go\" -ignore \"README.md\" ${EXAMPLES}/image-streams/... ${EXAMPLES}/db-templates/... ${EXAMPLES}/jenkins/pipeline/... ${EXAMPLES}/quickstarts/...` exited with status 1.\r\n[INFO]          Stack Trace:\r\n[INFO]            1: hack/gen-bootstrap-bindata.sh:20: `\"${GOPATH}/bin/go-bindata\" -nocompress -nometadata -prefix \"bootstrap\" -pkg \"bootstrap\" -o \"${OUTPUT_PARENT}/pkg/bootstrap/bindata.go\" -ignore \"README.md\" ${EXAMPLES}/image-streams/... ${EXAMPLES}/db-templates/... ${EXAMPLES}/jenkins/pipeline/... ${EXAMPLES}/quickstarts/...`\r\n[INFO]   Exiting with code 1.\r\nmake: *** [verify] Error 1            \r\n```\r\n\r\nI found the 'go-bindata' directory is incorrect, because my GOPATH is a list of directories.\r\nI think we can make our script more generic when there is not only one directory for GOPATH.\r\nWhen run 'go install' command, the binaries will be installed in first directory of GOPATH by default, so I add one line code that can get first GOPATH directory. It looks like work well after my testing.\r\n\r\n```\r\n===== Verifying Generated Bootstrap Bindata =====\r\nGenerating bootstrap bindata...\r\nDiffing current bootstrap bindata against freshly generated bindata\r\nSUCCESS: Generated bootstrap bindata up to date.\r\n```\r\n\r\n@stevekuznetsov PTAL, thanks!\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/237846088","html_url":"https://github.com/openshift/origin/pull/10210#issuecomment-237846088","issue_url":"https://api.github.com/repos/openshift/origin/issues/10210","id":237846088,"user":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T13:10:36Z","updated_at":"2016-08-05T13:10:36Z","body":"@guangxuli Thanks! Just some small comments."}}
{"actor":{"display_login":"stevekuznetsov"}}