{"action":"opened","number":218,"pull_request":{"url":"https://api.github.com/repos/hybridgroup/gobot/pulls/218","id":40500673,"html_url":"https://github.com/hybridgroup/gobot/pull/218","diff_url":"https://github.com/hybridgroup/gobot/pull/218.diff","patch_url":"https://github.com/hybridgroup/gobot/pull/218.patch","issue_url":"https://api.github.com/repos/hybridgroup/gobot/issues/218","number":218,"state":"open","locked":false,"title":"Stop the robot","user":{"login":"joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/joushou","html_url":"https://github.com/joushou","followers_url":"https://api.github.com/users/joushou/followers","following_url":"https://api.github.com/users/joushou/following{/other_user}","gists_url":"https://api.github.com/users/joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joushou/subscriptions","organizations_url":"https://api.github.com/users/joushou/orgs","repos_url":"https://api.github.com/users/joushou/repos","events_url":"https://api.github.com/users/joushou/events{/privacy}","received_events_url":"https://api.github.com/users/joushou/received_events","type":"User","site_admin":false},"body":"Gobot no longer hijacks the os.Interrupt signal handler, leaving any\r\nshutdown logic to the user.\r\n\r\nI have based this PR on the dev branch, which is currently a bit behind master. I suggest merging master into dev before this PR, just to make the history more correct.","created_at":"2015-07-21T20:27:18Z","updated_at":"2015-07-21T20:27:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hybridgroup/gobot/pulls/218/commits","review_comments_url":"https://api.github.com/repos/hybridgroup/gobot/pulls/218/comments","review_comment_url":"https://api.github.com/repos/hybridgroup/gobot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hybridgroup/gobot/issues/218/comments","statuses_url":"https://api.github.com/repos/hybridgroup/gobot/statuses/4da3b8ecb78c00a6d55b6c93d01f548e95d2f175","head":{"label":"joushou:stoptherobot","ref":"stoptherobot","sha":"4da3b8ecb78c00a6d55b6c93d01f548e95d2f175","user":{"login":"joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/joushou","html_url":"https://github.com/joushou","followers_url":"https://api.github.com/users/joushou/followers","following_url":"https://api.github.com/users/joushou/following{/other_user}","gists_url":"https://api.github.com/users/joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joushou/subscriptions","organizations_url":"https://api.github.com/users/joushou/orgs","repos_url":"https://api.github.com/users/joushou/repos","events_url":"https://api.github.com/users/joushou/events{/privacy}","received_events_url":"https://api.github.com/users/joushou/received_events","type":"User","site_admin":false},"repo":{"id":39408585,"name":"gobot","full_name":"joushou/gobot","owner":{"login":"joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/joushou","html_url":"https://github.com/joushou","followers_url":"https://api.github.com/users/joushou/followers","following_url":"https://api.github.com/users/joushou/following{/other_user}","gists_url":"https://api.github.com/users/joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joushou/subscriptions","organizations_url":"https://api.github.com/users/joushou/orgs","repos_url":"https://api.github.com/users/joushou/repos","events_url":"https://api.github.com/users/joushou/events{/privacy}","received_events_url":"https://api.github.com/users/joushou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joushou/gobot","description":"Golang framework for robotics, physical computing, and the Internet of Things","fork":true,"url":"https://api.github.com/repos/joushou/gobot","forks_url":"https://api.github.com/repos/joushou/gobot/forks","keys_url":"https://api.github.com/repos/joushou/gobot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joushou/gobot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joushou/gobot/teams","hooks_url":"https://api.github.com/repos/joushou/gobot/hooks","issue_events_url":"https://api.github.com/repos/joushou/gobot/issues/events{/number}","events_url":"https://api.github.com/repos/joushou/gobot/events","assignees_url":"https://api.github.com/repos/joushou/gobot/assignees{/user}","branches_url":"https://api.github.com/repos/joushou/gobot/branches{/branch}","tags_url":"https://api.github.com/repos/joushou/gobot/tags","blobs_url":"https://api.github.com/repos/joushou/gobot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joushou/gobot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joushou/gobot/git/refs{/sha}","trees_url":"https://api.github.com/repos/joushou/gobot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joushou/gobot/statuses/{sha}","languages_url":"https://api.github.com/repos/joushou/gobot/languages","stargazers_url":"https://api.github.com/repos/joushou/gobot/stargazers","contributors_url":"https://api.github.com/repos/joushou/gobot/contributors","subscribers_url":"https://api.github.com/repos/joushou/gobot/subscribers","subscription_url":"https://api.github.com/repos/joushou/gobot/subscription","commits_url":"https://api.github.com/repos/joushou/gobot/commits{/sha}","git_commits_url":"https://api.github.com/repos/joushou/gobot/git/commits{/sha}","comments_url":"https://api.github.com/repos/joushou/gobot/comments{/number}","issue_comment_url":"https://api.github.com/repos/joushou/gobot/issues/comments{/number}","contents_url":"https://api.github.com/repos/joushou/gobot/contents/{+path}","compare_url":"https://api.github.com/repos/joushou/gobot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joushou/gobot/merges","archive_url":"https://api.github.com/repos/joushou/gobot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joushou/gobot/downloads","issues_url":"https://api.github.com/repos/joushou/gobot/issues{/number}","pulls_url":"https://api.github.com/repos/joushou/gobot/pulls{/number}","milestones_url":"https://api.github.com/repos/joushou/gobot/milestones{/number}","notifications_url":"https://api.github.com/repos/joushou/gobot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joushou/gobot/labels{/name}","releases_url":"https://api.github.com/repos/joushou/gobot/releases{/id}","created_at":"2015-07-20T21:10:52Z","updated_at":"2015-07-20T21:10:53Z","pushed_at":"2015-07-21T20:25:56Z","git_url":"git://github.com/joushou/gobot.git","ssh_url":"git@github.com:joushou/gobot.git","clone_url":"https://github.com/joushou/gobot.git","svn_url":"https://github.com/joushou/gobot","homepage":"http://gobot.io","size":5128,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hybridgroup:dev","ref":"dev","sha":"36777f681dc377326852580101ceea8dde5bb0cb","user":{"login":"hybridgroup","id":212109,"avatar_url":"https://avatars.githubusercontent.com/u/212109?v=3","gravatar_id":"","url":"https://api.github.com/users/hybridgroup","html_url":"https://github.com/hybridgroup","followers_url":"https://api.github.com/users/hybridgroup/followers","following_url":"https://api.github.com/users/hybridgroup/following{/other_user}","gists_url":"https://api.github.com/users/hybridgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/hybridgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hybridgroup/subscriptions","organizations_url":"https://api.github.com/users/hybridgroup/orgs","repos_url":"https://api.github.com/users/hybridgroup/repos","events_url":"https://api.github.com/users/hybridgroup/events{/privacy}","received_events_url":"https://api.github.com/users/hybridgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":12996196,"name":"gobot","full_name":"hybridgroup/gobot","owner":{"login":"hybridgroup","id":212109,"avatar_url":"https://avatars.githubusercontent.com/u/212109?v=3","gravatar_id":"","url":"https://api.github.com/users/hybridgroup","html_url":"https://github.com/hybridgroup","followers_url":"https://api.github.com/users/hybridgroup/followers","following_url":"https://api.github.com/users/hybridgroup/following{/other_user}","gists_url":"https://api.github.com/users/hybridgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/hybridgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hybridgroup/subscriptions","organizations_url":"https://api.github.com/users/hybridgroup/orgs","repos_url":"https://api.github.com/users/hybridgroup/repos","events_url":"https://api.github.com/users/hybridgroup/events{/privacy}","received_events_url":"https://api.github.com/users/hybridgroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hybridgroup/gobot","description":"Golang framework for robotics, physical computing, and the Internet of Things","fork":false,"url":"https://api.github.com/repos/hybridgroup/gobot","forks_url":"https://api.github.com/repos/hybridgroup/gobot/forks","keys_url":"https://api.github.com/repos/hybridgroup/gobot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hybridgroup/gobot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hybridgroup/gobot/teams","hooks_url":"https://api.github.com/repos/hybridgroup/gobot/hooks","issue_events_url":"https://api.github.com/repos/hybridgroup/gobot/issues/events{/number}","events_url":"https://api.github.com/repos/hybridgroup/gobot/events","assignees_url":"https://api.github.com/repos/hybridgroup/gobot/assignees{/user}","branches_url":"https://api.github.com/repos/hybridgroup/gobot/branches{/branch}","tags_url":"https://api.github.com/repos/hybridgroup/gobot/tags","blobs_url":"https://api.github.com/repos/hybridgroup/gobot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hybridgroup/gobot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hybridgroup/gobot/git/refs{/sha}","trees_url":"https://api.github.com/repos/hybridgroup/gobot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hybridgroup/gobot/statuses/{sha}","languages_url":"https://api.github.com/repos/hybridgroup/gobot/languages","stargazers_url":"https://api.github.com/repos/hybridgroup/gobot/stargazers","contributors_url":"https://api.github.com/repos/hybridgroup/gobot/contributors","subscribers_url":"https://api.github.com/repos/hybridgroup/gobot/subscribers","subscription_url":"https://api.github.com/repos/hybridgroup/gobot/subscription","commits_url":"https://api.github.com/repos/hybridgroup/gobot/commits{/sha}","git_commits_url":"https://api.github.com/repos/hybridgroup/gobot/git/commits{/sha}","comments_url":"https://api.github.com/repos/hybridgroup/gobot/comments{/number}","issue_comment_url":"https://api.github.com/repos/hybridgroup/gobot/issues/comments{/number}","contents_url":"https://api.github.com/repos/hybridgroup/gobot/contents/{+path}","compare_url":"https://api.github.com/repos/hybridgroup/gobot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hybridgroup/gobot/merges","archive_url":"https://api.github.com/repos/hybridgroup/gobot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hybridgroup/gobot/downloads","issues_url":"https://api.github.com/repos/hybridgroup/gobot/issues{/number}","pulls_url":"https://api.github.com/repos/hybridgroup/gobot/pulls{/number}","milestones_url":"https://api.github.com/repos/hybridgroup/gobot/milestones{/number}","notifications_url":"https://api.github.com/repos/hybridgroup/gobot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hybridgroup/gobot/labels{/name}","releases_url":"https://api.github.com/repos/hybridgroup/gobot/releases{/id}","created_at":"2013-09-21T14:09:19Z","updated_at":"2015-07-21T15:32:11Z","pushed_at":"2015-07-20T21:57:17Z","git_url":"git://github.com/hybridgroup/gobot.git","ssh_url":"git@github.com:hybridgroup/gobot.git","clone_url":"https://github.com/hybridgroup/gobot.git","svn_url":"https://github.com/hybridgroup/gobot","homepage":"http://gobot.io","size":14602,"stargazers_count":1414,"watchers_count":1414,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":140,"mirror_url":null,"open_issues_count":30,"forks":140,"open_issues":30,"watchers":1414,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hybridgroup/gobot/pulls/218"},"html":{"href":"https://github.com/hybridgroup/gobot/pull/218"},"issue":{"href":"https://api.github.com/repos/hybridgroup/gobot/issues/218"},"comments":{"href":"https://api.github.com/repos/hybridgroup/gobot/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/hybridgroup/gobot/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/hybridgroup/gobot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hybridgroup/gobot/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/hybridgroup/gobot/statuses/4da3b8ecb78c00a6d55b6c93d01f548e95d2f175"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":50,"deletions":42,"changed_files":3}}