{"action":"created","issue":{"url":"https://api.github.com/repos/seccomp/libseccomp-golang/issues/6","repository_url":"https://api.github.com/repos/seccomp/libseccomp-golang","labels_url":"https://api.github.com/repos/seccomp/libseccomp-golang/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/seccomp/libseccomp-golang/issues/6/comments","events_url":"https://api.github.com/repos/seccomp/libseccomp-golang/issues/6/events","html_url":"https://github.com/seccomp/libseccomp-golang/pull/6","id":134422009,"number":6,"title":"BUG: don't exit in package init for version check","user":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars.githubusercontent.com/u/749551?v=3","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/seccomp/libseccomp-golang/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/seccomp/libseccomp-golang/milestones/2","html_url":"https://github.com/seccomp/libseccomp-golang/milestones/v2.3","labels_url":"https://api.github.com/repos/seccomp/libseccomp-golang/milestones/2/labels","id":1589622,"number":2,"title":"v2.3","description":null,"creator":{"login":"pcmoore","id":8494929,"avatar_url":"https://avatars.githubusercontent.com/u/8494929?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmoore","html_url":"https://github.com/pcmoore","followers_url":"https://api.github.com/users/pcmoore/followers","following_url":"https://api.github.com/users/pcmoore/following{/other_user}","gists_url":"https://api.github.com/users/pcmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoore/subscriptions","organizations_url":"https://api.github.com/users/pcmoore/orgs","repos_url":"https://api.github.com/users/pcmoore/repos","events_url":"https://api.github.com/users/pcmoore/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoore/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":4,"state":"open","created_at":"2016-02-17T22:44:06Z","updated_at":"2016-05-31T18:37:08Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-02-17T22:38:10Z","updated_at":"2016-06-01T21:46:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/seccomp/libseccomp-golang/pulls/6","html_url":"https://github.com/seccomp/libseccomp-golang/pull/6","diff_url":"https://github.com/seccomp/libseccomp-golang/pull/6.diff","patch_url":"https://github.com/seccomp/libseccomp-golang/pull/6.patch"},"body":"It is horrible to have a package exit your application in its init\r\nwithout the consumer being able to do anything about it.  It is better\r\nto return and error if the lib version is too low and have the consumer\r\nof your package decide what to do instead of exit their application.\r\nThis changes it to return a typed error if the lib is to low whenever\r\nyou try to create a filter instead of doing this check in init()\r\n\r\nSigned-off-by: Michael Crosby <crosbymichael@gmail.com>"},"comment":{"url":"https://api.github.com/repos/seccomp/libseccomp-golang/issues/comments/223134730","html_url":"https://github.com/seccomp/libseccomp-golang/pull/6#issuecomment-223134730","issue_url":"https://api.github.com/repos/seccomp/libseccomp-golang/issues/6","id":223134730,"user":{"login":"pcmoore","id":8494929,"avatar_url":"https://avatars.githubusercontent.com/u/8494929?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmoore","html_url":"https://github.com/pcmoore","followers_url":"https://api.github.com/users/pcmoore/followers","following_url":"https://api.github.com/users/pcmoore/following{/other_user}","gists_url":"https://api.github.com/users/pcmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoore/subscriptions","organizations_url":"https://api.github.com/users/pcmoore/orgs","repos_url":"https://api.github.com/users/pcmoore/repos","events_url":"https://api.github.com/users/pcmoore/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoore/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T21:46:05Z","updated_at":"2016-06-01T21:46:05Z","body":"@mheon Me again, being annoying ... thoughts on this?"}}
{"actor":{"display_login":"pcmoore"}}