{"action":"created","issue":{"url":"https://api.github.com/repos/cloudwan/gohan/issues/29","labels_url":"https://api.github.com/repos/cloudwan/gohan/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/cloudwan/gohan/issues/29/comments","events_url":"https://api.github.com/repos/cloudwan/gohan/issues/29/events","html_url":"https://github.com/cloudwan/gohan/pull/29","id":115926635,"number":29,"title":"Issue #28: Convert build to using gb","user":{"login":"leifmadsen","id":768751,"avatar_url":"https://avatars.githubusercontent.com/u/768751?v=3","gravatar_id":"","url":"https://api.github.com/users/leifmadsen","html_url":"https://github.com/leifmadsen","followers_url":"https://api.github.com/users/leifmadsen/followers","following_url":"https://api.github.com/users/leifmadsen/following{/other_user}","gists_url":"https://api.github.com/users/leifmadsen/gists{/gist_id}","starred_url":"https://api.github.com/users/leifmadsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leifmadsen/subscriptions","organizations_url":"https://api.github.com/users/leifmadsen/orgs","repos_url":"https://api.github.com/users/leifmadsen/repos","events_url":"https://api.github.com/users/leifmadsen/events{/privacy}","received_events_url":"https://api.github.com/users/leifmadsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloudwan/gohan/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-09T17:34:46Z","updated_at":"2015-11-10T23:33:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cloudwan/gohan/pulls/29","html_url":"https://github.com/cloudwan/gohan/pull/29","diff_url":"https://github.com/cloudwan/gohan/pull/29.diff","patch_url":"https://github.com/cloudwan/gohan/pull/29.patch"},"body":"Use http://getgb.io/ as the builder. Allows for vendoring imports to control the versions in use (no surprises when building).\r\n\r\nMakes the build process a bit easier too. Once you install gb, you just need to run: `gb build` which will result in a binary in the bin/ directory.\r\n\r\nPurpose of this pull request to see if the maintainer of the project likes this approach. If so, I can keep working through some of the other things that are required to make this work, such as:\r\n\r\n* documentation updates\r\n* update / remove the Makefile (as necessary)\r\n* update wercker.yml to build using gb (may require changes to the base docker image? Probably just needs gb installed on it, then updated yml file to run specific commands)\r\n\r\nAnything else I'm missing?"},"comment":{"url":"https://api.github.com/repos/cloudwan/gohan/issues/comments/155602243","html_url":"https://github.com/cloudwan/gohan/pull/29#issuecomment-155602243","issue_url":"https://api.github.com/repos/cloudwan/gohan/issues/29","id":155602243,"user":{"login":"leifmadsen","id":768751,"avatar_url":"https://avatars.githubusercontent.com/u/768751?v=3","gravatar_id":"","url":"https://api.github.com/users/leifmadsen","html_url":"https://github.com/leifmadsen","followers_url":"https://api.github.com/users/leifmadsen/followers","following_url":"https://api.github.com/users/leifmadsen/following{/other_user}","gists_url":"https://api.github.com/users/leifmadsen/gists{/gist_id}","starred_url":"https://api.github.com/users/leifmadsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leifmadsen/subscriptions","organizations_url":"https://api.github.com/users/leifmadsen/orgs","repos_url":"https://api.github.com/users/leifmadsen/repos","events_url":"https://api.github.com/users/leifmadsen/events{/privacy}","received_events_url":"https://api.github.com/users/leifmadsen/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T23:33:57Z","updated_at":"2015-11-10T23:33:57Z","body":"Should we open separate tasks for those 3 items you mention? We could work them independently. I don't think they should be too difficult.\r\n\r\nAdditionally, I don't think you need to `cd src` for the `gb` commands, as it assumes the base code is in the `src/` directory. I haven't tested yet though to see if removing `cd src/` works."}}