{"action":"opened","number":139,"pull_request":{"url":"https://api.github.com/repos/chihaya/chihaya/pulls/139","id":64041838,"html_url":"https://github.com/chihaya/chihaya/pull/139","diff_url":"https://github.com/chihaya/chihaya/pull/139.diff","patch_url":"https://github.com/chihaya/chihaya/pull/139.patch","issue_url":"https://api.github.com/repos/chihaya/chihaya/issues/139","number":139,"state":"open","locked":false,"title":"tracker: added a way for middleware constructors to fail","user":{"login":"mrd0ll4r","id":15063379,"avatar_url":"https://avatars.githubusercontent.com/u/15063379?v=3","gravatar_id":"","url":"https://api.github.com/users/mrd0ll4r","html_url":"https://github.com/mrd0ll4r","followers_url":"https://api.github.com/users/mrd0ll4r/followers","following_url":"https://api.github.com/users/mrd0ll4r/following{/other_user}","gists_url":"https://api.github.com/users/mrd0ll4r/gists{/gist_id}","starred_url":"https://api.github.com/users/mrd0ll4r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrd0ll4r/subscriptions","organizations_url":"https://api.github.com/users/mrd0ll4r/orgs","repos_url":"https://api.github.com/users/mrd0ll4r/repos","events_url":"https://api.github.com/users/mrd0ll4r/events{/privacy}","received_events_url":"https://api.github.com/users/mrd0ll4r/received_events","type":"User","site_admin":false},"body":"If for example the config is invalid, a *MiddlewareConstructor should be able to fail without panicking","created_at":"2016-03-24T14:31:55Z","updated_at":"2016-03-24T14:31:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc5c16fd8d5a83abd25c3eef0b297ebd40f1e73a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chihaya/chihaya/pulls/139/commits","review_comments_url":"https://api.github.com/repos/chihaya/chihaya/pulls/139/comments","review_comment_url":"https://api.github.com/repos/chihaya/chihaya/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chihaya/chihaya/issues/139/comments","statuses_url":"https://api.github.com/repos/chihaya/chihaya/statuses/230e0573c01f83e2a75ad24adb355ae9cbca655c","head":{"label":"mrd0ll4r:middleware-config-smallfix","ref":"middleware-config-smallfix","sha":"230e0573c01f83e2a75ad24adb355ae9cbca655c","user":{"login":"mrd0ll4r","id":15063379,"avatar_url":"https://avatars.githubusercontent.com/u/15063379?v=3","gravatar_id":"","url":"https://api.github.com/users/mrd0ll4r","html_url":"https://github.com/mrd0ll4r","followers_url":"https://api.github.com/users/mrd0ll4r/followers","following_url":"https://api.github.com/users/mrd0ll4r/following{/other_user}","gists_url":"https://api.github.com/users/mrd0ll4r/gists{/gist_id}","starred_url":"https://api.github.com/users/mrd0ll4r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrd0ll4r/subscriptions","organizations_url":"https://api.github.com/users/mrd0ll4r/orgs","repos_url":"https://api.github.com/users/mrd0ll4r/repos","events_url":"https://api.github.com/users/mrd0ll4r/events{/privacy}","received_events_url":"https://api.github.com/users/mrd0ll4r/received_events","type":"User","site_admin":false},"repo":{"id":44922097,"name":"chihaya","full_name":"mrd0ll4r/chihaya","owner":{"login":"mrd0ll4r","id":15063379,"avatar_url":"https://avatars.githubusercontent.com/u/15063379?v=3","gravatar_id":"","url":"https://api.github.com/users/mrd0ll4r","html_url":"https://github.com/mrd0ll4r","followers_url":"https://api.github.com/users/mrd0ll4r/followers","following_url":"https://api.github.com/users/mrd0ll4r/following{/other_user}","gists_url":"https://api.github.com/users/mrd0ll4r/gists{/gist_id}","starred_url":"https://api.github.com/users/mrd0ll4r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrd0ll4r/subscriptions","organizations_url":"https://api.github.com/users/mrd0ll4r/orgs","repos_url":"https://api.github.com/users/mrd0ll4r/repos","events_url":"https://api.github.com/users/mrd0ll4r/events{/privacy}","received_events_url":"https://api.github.com/users/mrd0ll4r/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrd0ll4r/chihaya","description":"This is my personal fork of chihaya, a high-performance BitTorrent tracker in Go.","fork":true,"url":"https://api.github.com/repos/mrd0ll4r/chihaya","forks_url":"https://api.github.com/repos/mrd0ll4r/chihaya/forks","keys_url":"https://api.github.com/repos/mrd0ll4r/chihaya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrd0ll4r/chihaya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrd0ll4r/chihaya/teams","hooks_url":"https://api.github.com/repos/mrd0ll4r/chihaya/hooks","issue_events_url":"https://api.github.com/repos/mrd0ll4r/chihaya/issues/events{/number}","events_url":"https://api.github.com/repos/mrd0ll4r/chihaya/events","assignees_url":"https://api.github.com/repos/mrd0ll4r/chihaya/assignees{/user}","branches_url":"https://api.github.com/repos/mrd0ll4r/chihaya/branches{/branch}","tags_url":"https://api.github.com/repos/mrd0ll4r/chihaya/tags","blobs_url":"https://api.github.com/repos/mrd0ll4r/chihaya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrd0ll4r/chihaya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrd0ll4r/chihaya/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrd0ll4r/chihaya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrd0ll4r/chihaya/statuses/{sha}","languages_url":"https://api.github.com/repos/mrd0ll4r/chihaya/languages","stargazers_url":"https://api.github.com/repos/mrd0ll4r/chihaya/stargazers","contributors_url":"https://api.github.com/repos/mrd0ll4r/chihaya/contributors","subscribers_url":"https://api.github.com/repos/mrd0ll4r/chihaya/subscribers","subscription_url":"https://api.github.com/repos/mrd0ll4r/chihaya/subscription","commits_url":"https://api.github.com/repos/mrd0ll4r/chihaya/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrd0ll4r/chihaya/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrd0ll4r/chihaya/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrd0ll4r/chihaya/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrd0ll4r/chihaya/contents/{+path}","compare_url":"https://api.github.com/repos/mrd0ll4r/chihaya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrd0ll4r/chihaya/merges","archive_url":"https://api.github.com/repos/mrd0ll4r/chihaya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrd0ll4r/chihaya/downloads","issues_url":"https://api.github.com/repos/mrd0ll4r/chihaya/issues{/number}","pulls_url":"https://api.github.com/repos/mrd0ll4r/chihaya/pulls{/number}","milestones_url":"https://api.github.com/repos/mrd0ll4r/chihaya/milestones{/number}","notifications_url":"https://api.github.com/repos/mrd0ll4r/chihaya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrd0ll4r/chihaya/labels{/name}","releases_url":"https://api.github.com/repos/mrd0ll4r/chihaya/releases{/id}","deployments_url":"https://api.github.com/repos/mrd0ll4r/chihaya/deployments","created_at":"2015-10-25T17:59:14Z","updated_at":"2016-02-13T11:39:28Z","pushed_at":"2016-03-24T14:30:21Z","git_url":"git://github.com/mrd0ll4r/chihaya.git","ssh_url":"git@github.com:mrd0ll4r/chihaya.git","clone_url":"https://github.com/mrd0ll4r/chihaya.git","svn_url":"https://github.com/mrd0ll4r/chihaya","homepage":"","size":2788,"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":"chihaya:middleware-refactor","ref":"middleware-refactor","sha":"1874584eae431f90837b7d5d76fbac946d646b8c","user":{"login":"chihaya","id":6076200,"avatar_url":"https://avatars.githubusercontent.com/u/6076200?v=3","gravatar_id":"","url":"https://api.github.com/users/chihaya","html_url":"https://github.com/chihaya","followers_url":"https://api.github.com/users/chihaya/followers","following_url":"https://api.github.com/users/chihaya/following{/other_user}","gists_url":"https://api.github.com/users/chihaya/gists{/gist_id}","starred_url":"https://api.github.com/users/chihaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chihaya/subscriptions","organizations_url":"https://api.github.com/users/chihaya/orgs","repos_url":"https://api.github.com/users/chihaya/repos","events_url":"https://api.github.com/users/chihaya/events{/privacy}","received_events_url":"https://api.github.com/users/chihaya/received_events","type":"Organization","site_admin":false},"repo":{"id":7399031,"name":"chihaya","full_name":"chihaya/chihaya","owner":{"login":"chihaya","id":6076200,"avatar_url":"https://avatars.githubusercontent.com/u/6076200?v=3","gravatar_id":"","url":"https://api.github.com/users/chihaya","html_url":"https://github.com/chihaya","followers_url":"https://api.github.com/users/chihaya/followers","following_url":"https://api.github.com/users/chihaya/following{/other_user}","gists_url":"https://api.github.com/users/chihaya/gists{/gist_id}","starred_url":"https://api.github.com/users/chihaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chihaya/subscriptions","organizations_url":"https://api.github.com/users/chihaya/orgs","repos_url":"https://api.github.com/users/chihaya/repos","events_url":"https://api.github.com/users/chihaya/events{/privacy}","received_events_url":"https://api.github.com/users/chihaya/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chihaya/chihaya","description":"A high-performance BitTorrent tracker in Go.","fork":false,"url":"https://api.github.com/repos/chihaya/chihaya","forks_url":"https://api.github.com/repos/chihaya/chihaya/forks","keys_url":"https://api.github.com/repos/chihaya/chihaya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chihaya/chihaya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chihaya/chihaya/teams","hooks_url":"https://api.github.com/repos/chihaya/chihaya/hooks","issue_events_url":"https://api.github.com/repos/chihaya/chihaya/issues/events{/number}","events_url":"https://api.github.com/repos/chihaya/chihaya/events","assignees_url":"https://api.github.com/repos/chihaya/chihaya/assignees{/user}","branches_url":"https://api.github.com/repos/chihaya/chihaya/branches{/branch}","tags_url":"https://api.github.com/repos/chihaya/chihaya/tags","blobs_url":"https://api.github.com/repos/chihaya/chihaya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chihaya/chihaya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chihaya/chihaya/git/refs{/sha}","trees_url":"https://api.github.com/repos/chihaya/chihaya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chihaya/chihaya/statuses/{sha}","languages_url":"https://api.github.com/repos/chihaya/chihaya/languages","stargazers_url":"https://api.github.com/repos/chihaya/chihaya/stargazers","contributors_url":"https://api.github.com/repos/chihaya/chihaya/contributors","subscribers_url":"https://api.github.com/repos/chihaya/chihaya/subscribers","subscription_url":"https://api.github.com/repos/chihaya/chihaya/subscription","commits_url":"https://api.github.com/repos/chihaya/chihaya/commits{/sha}","git_commits_url":"https://api.github.com/repos/chihaya/chihaya/git/commits{/sha}","comments_url":"https://api.github.com/repos/chihaya/chihaya/comments{/number}","issue_comment_url":"https://api.github.com/repos/chihaya/chihaya/issues/comments{/number}","contents_url":"https://api.github.com/repos/chihaya/chihaya/contents/{+path}","compare_url":"https://api.github.com/repos/chihaya/chihaya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chihaya/chihaya/merges","archive_url":"https://api.github.com/repos/chihaya/chihaya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chihaya/chihaya/downloads","issues_url":"https://api.github.com/repos/chihaya/chihaya/issues{/number}","pulls_url":"https://api.github.com/repos/chihaya/chihaya/pulls{/number}","milestones_url":"https://api.github.com/repos/chihaya/chihaya/milestones{/number}","notifications_url":"https://api.github.com/repos/chihaya/chihaya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chihaya/chihaya/labels{/name}","releases_url":"https://api.github.com/repos/chihaya/chihaya/releases{/id}","deployments_url":"https://api.github.com/repos/chihaya/chihaya/deployments","created_at":"2013-01-01T21:08:47Z","updated_at":"2016-03-24T10:32:27Z","pushed_at":"2016-03-24T14:31:56Z","git_url":"git://github.com/chihaya/chihaya.git","ssh_url":"git@github.com:chihaya/chihaya.git","clone_url":"https://github.com/chihaya/chihaya.git","svn_url":"https://github.com/chihaya/chihaya","homepage":"","size":2967,"stargazers_count":355,"watchers_count":355,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":30,"forks":41,"open_issues":30,"watchers":355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chihaya/chihaya/pulls/139"},"html":{"href":"https://github.com/chihaya/chihaya/pull/139"},"issue":{"href":"https://api.github.com/repos/chihaya/chihaya/issues/139"},"comments":{"href":"https://api.github.com/repos/chihaya/chihaya/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/chihaya/chihaya/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/chihaya/chihaya/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chihaya/chihaya/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/chihaya/chihaya/statuses/230e0573c01f83e2a75ad24adb355ae9cbca655c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":8,"changed_files":2}}