{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/alco/chatty/pulls/8","id":46752370,"html_url":"https://github.com/alco/chatty/pull/8","diff_url":"https://github.com/alco/chatty/pull/8.diff","patch_url":"https://github.com/alco/chatty/pull/8.patch","issue_url":"https://api.github.com/repos/alco/chatty/issues/8","number":8,"state":"open","locked":false,"title":"Architecture revamp","user":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"body":"This is where all the OTP goodness comes in.\r\n\r\nSo far the connection process has been rewritten to a GenServer and it works.\r\n\r\nWhat's still left to be done:\r\n\r\n  * [ ] Hook up the hook manager with the updated connection server. Hooks are no longer stored in the connection process but in a dedicated `HookManager` process. The connection should probably emit incoming messages as `GenEvent` events.\r\n\r\n  * [ ] The hook manager listens on events and processes them by invoking each hook in a separate `Task`. This approach leads to isolation of all of the system's components from each other so that one thing crashing doesn't have any adverse effects on the rest of the system.","created_at":"2015-10-05T07:57:53Z","updated_at":"2015-10-05T07:57:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alco/chatty/pulls/8/commits","review_comments_url":"https://api.github.com/repos/alco/chatty/pulls/8/comments","review_comment_url":"https://api.github.com/repos/alco/chatty/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alco/chatty/issues/8/comments","statuses_url":"https://api.github.com/repos/alco/chatty/statuses/03dca8d2d73e660bc3547a2c5d9096f742887a57","head":{"label":"alco:otp","ref":"otp","sha":"03dca8d2d73e660bc3547a2c5d9096f742887a57","user":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"repo":{"id":21479702,"name":"chatty","full_name":"alco/chatty","owner":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alco/chatty","description":"Basic IRC client for writing bots","fork":false,"url":"https://api.github.com/repos/alco/chatty","forks_url":"https://api.github.com/repos/alco/chatty/forks","keys_url":"https://api.github.com/repos/alco/chatty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alco/chatty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alco/chatty/teams","hooks_url":"https://api.github.com/repos/alco/chatty/hooks","issue_events_url":"https://api.github.com/repos/alco/chatty/issues/events{/number}","events_url":"https://api.github.com/repos/alco/chatty/events","assignees_url":"https://api.github.com/repos/alco/chatty/assignees{/user}","branches_url":"https://api.github.com/repos/alco/chatty/branches{/branch}","tags_url":"https://api.github.com/repos/alco/chatty/tags","blobs_url":"https://api.github.com/repos/alco/chatty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alco/chatty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alco/chatty/git/refs{/sha}","trees_url":"https://api.github.com/repos/alco/chatty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alco/chatty/statuses/{sha}","languages_url":"https://api.github.com/repos/alco/chatty/languages","stargazers_url":"https://api.github.com/repos/alco/chatty/stargazers","contributors_url":"https://api.github.com/repos/alco/chatty/contributors","subscribers_url":"https://api.github.com/repos/alco/chatty/subscribers","subscription_url":"https://api.github.com/repos/alco/chatty/subscription","commits_url":"https://api.github.com/repos/alco/chatty/commits{/sha}","git_commits_url":"https://api.github.com/repos/alco/chatty/git/commits{/sha}","comments_url":"https://api.github.com/repos/alco/chatty/comments{/number}","issue_comment_url":"https://api.github.com/repos/alco/chatty/issues/comments{/number}","contents_url":"https://api.github.com/repos/alco/chatty/contents/{+path}","compare_url":"https://api.github.com/repos/alco/chatty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alco/chatty/merges","archive_url":"https://api.github.com/repos/alco/chatty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alco/chatty/downloads","issues_url":"https://api.github.com/repos/alco/chatty/issues{/number}","pulls_url":"https://api.github.com/repos/alco/chatty/pulls{/number}","milestones_url":"https://api.github.com/repos/alco/chatty/milestones{/number}","notifications_url":"https://api.github.com/repos/alco/chatty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alco/chatty/labels{/name}","releases_url":"https://api.github.com/repos/alco/chatty/releases{/id}","created_at":"2014-07-03T23:16:50Z","updated_at":"2015-07-09T03:39:02Z","pushed_at":"2015-10-05T07:51:50Z","git_url":"git://github.com/alco/chatty.git","ssh_url":"git@github.com:alco/chatty.git","clone_url":"https://github.com/alco/chatty.git","svn_url":"https://github.com/alco/chatty","homepage":null,"size":169,"stargazers_count":17,"watchers_count":17,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":17,"default_branch":"master"}},"base":{"label":"alco:master","ref":"master","sha":"61f08631c133733e9e2f98a5c5fa37c2fd5b6eda","user":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"repo":{"id":21479702,"name":"chatty","full_name":"alco/chatty","owner":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alco/chatty","description":"Basic IRC client for writing bots","fork":false,"url":"https://api.github.com/repos/alco/chatty","forks_url":"https://api.github.com/repos/alco/chatty/forks","keys_url":"https://api.github.com/repos/alco/chatty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alco/chatty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alco/chatty/teams","hooks_url":"https://api.github.com/repos/alco/chatty/hooks","issue_events_url":"https://api.github.com/repos/alco/chatty/issues/events{/number}","events_url":"https://api.github.com/repos/alco/chatty/events","assignees_url":"https://api.github.com/repos/alco/chatty/assignees{/user}","branches_url":"https://api.github.com/repos/alco/chatty/branches{/branch}","tags_url":"https://api.github.com/repos/alco/chatty/tags","blobs_url":"https://api.github.com/repos/alco/chatty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alco/chatty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alco/chatty/git/refs{/sha}","trees_url":"https://api.github.com/repos/alco/chatty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alco/chatty/statuses/{sha}","languages_url":"https://api.github.com/repos/alco/chatty/languages","stargazers_url":"https://api.github.com/repos/alco/chatty/stargazers","contributors_url":"https://api.github.com/repos/alco/chatty/contributors","subscribers_url":"https://api.github.com/repos/alco/chatty/subscribers","subscription_url":"https://api.github.com/repos/alco/chatty/subscription","commits_url":"https://api.github.com/repos/alco/chatty/commits{/sha}","git_commits_url":"https://api.github.com/repos/alco/chatty/git/commits{/sha}","comments_url":"https://api.github.com/repos/alco/chatty/comments{/number}","issue_comment_url":"https://api.github.com/repos/alco/chatty/issues/comments{/number}","contents_url":"https://api.github.com/repos/alco/chatty/contents/{+path}","compare_url":"https://api.github.com/repos/alco/chatty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alco/chatty/merges","archive_url":"https://api.github.com/repos/alco/chatty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alco/chatty/downloads","issues_url":"https://api.github.com/repos/alco/chatty/issues{/number}","pulls_url":"https://api.github.com/repos/alco/chatty/pulls{/number}","milestones_url":"https://api.github.com/repos/alco/chatty/milestones{/number}","notifications_url":"https://api.github.com/repos/alco/chatty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alco/chatty/labels{/name}","releases_url":"https://api.github.com/repos/alco/chatty/releases{/id}","created_at":"2014-07-03T23:16:50Z","updated_at":"2015-07-09T03:39:02Z","pushed_at":"2015-10-05T07:51:50Z","git_url":"git://github.com/alco/chatty.git","ssh_url":"git@github.com:alco/chatty.git","clone_url":"https://github.com/alco/chatty.git","svn_url":"https://github.com/alco/chatty","homepage":null,"size":169,"stargazers_count":17,"watchers_count":17,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alco/chatty/pulls/8"},"html":{"href":"https://github.com/alco/chatty/pull/8"},"issue":{"href":"https://api.github.com/repos/alco/chatty/issues/8"},"comments":{"href":"https://api.github.com/repos/alco/chatty/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/alco/chatty/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/alco/chatty/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alco/chatty/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/alco/chatty/statuses/03dca8d2d73e660bc3547a2c5d9096f742887a57"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":337,"deletions":290,"changed_files":17}}