GitHub PullRequestEvent at 2014-10-16 03:24:57
Repository: clj-hacker-news
Actor: tracym
Payload: {"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/3","id":22830373,"html_url":"https://github.com/nickmcdonnough/clj-hacker-news/pull/3","diff_url":"https://github.com/nickmcdonnough/clj-hacker-news/pull/3.diff","patch_url":"https://github.com/nickmcdonnough/clj-hacker-news/pull/3.patch","issue_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/issues/3","number":3,"state":"open","locked":false,"title":"remove exception handling when getting items and return error maps instead.","user":{"login":"tracym","id":1516725,"avatar_url":"https://avatars.githubusercontent.com/u/1516725?v=2","gravatar_id":"","url":"https://api.github.com/users/tracym","html_url":"https://github.com/tracym","followers_url":"https://api.github.com/users/tracym/followers","following_url":"https://api.github.com/users/tracym/following{/other_user}","gists_url":"https://api.github.com/users/tracym/gists{/gist_id}","starred_url":"https://api.github.com/users/tracym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracym/subscriptions","organizations_url":"https://api.github.com/users/tracym/orgs","repos_url":"https://api.github.com/users/tracym/repos","events_url":"https://api.github.com/users/tracym/events{/privacy}","received_events_url":"https://api.github.com/users/tracym/received_events","type":"User","site_admin":false},"body":"Probably not the most ideal re-working of the code to address issue #1, but with a slight change we could always return maps from the retrieve functions which might be a little more helpful than raising exceptions or returning misleading 200 responses for missing users/items.\r\n\r\n","created_at":"2014-10-16T03:24:56Z","updated_at":"2014-10-16T03:24:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/3/commits","review_comments_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/3/comments","review_comment_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/issues/3/comments","statuses_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/statuses/a337e6db004b09fa364959881bc8f089417a0c53","head":{"label":"tracym:http_exceptions","ref":"http_exceptions","sha":"a337e6db004b09fa364959881bc8f089417a0c53","user":{"login":"tracym","id":1516725,"avatar_url":"https://avatars.githubusercontent.com/u/1516725?v=2","gravatar_id":"","url":"https://api.github.com/users/tracym","html_url":"https://github.com/tracym","followers_url":"https://api.github.com/users/tracym/followers","following_url":"https://api.github.com/users/tracym/following{/other_user}","gists_url":"https://api.github.com/users/tracym/gists{/gist_id}","starred_url":"https://api.github.com/users/tracym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracym/subscriptions","organizations_url":"https://api.github.com/users/tracym/orgs","repos_url":"https://api.github.com/users/tracym/repos","events_url":"https://api.github.com/users/tracym/events{/privacy}","received_events_url":"https://api.github.com/users/tracym/received_events","type":"User","site_admin":false},"repo":{"id":25270306,"name":"clj-hacker-news","full_name":"tracym/clj-hacker-news","owner":{"login":"tracym","id":1516725,"avatar_url":"https://avatars.githubusercontent.com/u/1516725?v=2","gravatar_id":"","url":"https://api.github.com/users/tracym","html_url":"https://github.com/tracym","followers_url":"https://api.github.com/users/tracym/followers","following_url":"https://api.github.com/users/tracym/following{/other_user}","gists_url":"https://api.github.com/users/tracym/gists{/gist_id}","starred_url":"https://api.github.com/users/tracym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracym/subscriptions","organizations_url":"https://api.github.com/users/tracym/orgs","repos_url":"https://api.github.com/users/tracym/repos","events_url":"https://api.github.com/users/tracym/events{/privacy}","received_events_url":"https://api.github.com/users/tracym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tracym/clj-hacker-news","description":"A Clojure library for interacting with the new Hacker News API.","fork":true,"url":"https://api.github.com/repos/tracym/clj-hacker-news","forks_url":"https://api.github.com/repos/tracym/clj-hacker-news/forks","keys_url":"https://api.github.com/repos/tracym/clj-hacker-news/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tracym/clj-hacker-news/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tracym/clj-hacker-news/teams","hooks_url":"https://api.github.com/repos/tracym/clj-hacker-news/hooks","issue_events_url":"https://api.github.com/repos/tracym/clj-hacker-news/issues/events{/number}","events_url":"https://api.github.com/repos/tracym/clj-hacker-news/events","assignees_url":"https://api.github.com/repos/tracym/clj-hacker-news/assignees{/user}","branches_url":"https://api.github.com/repos/tracym/clj-hacker-news/branches{/branch}","tags_url":"https://api.github.com/repos/tracym/clj-hacker-news/tags","blobs_url":"https://api.github.com/repos/tracym/clj-hacker-news/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tracym/clj-hacker-news/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tracym/clj-hacker-news/git/refs{/sha}","trees_url":"https://api.github.com/repos/tracym/clj-hacker-news/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tracym/clj-hacker-news/statuses/{sha}","languages_url":"https://api.github.com/repos/tracym/clj-hacker-news/languages","stargazers_url":"https://api.github.com/repos/tracym/clj-hacker-news/stargazers","contributors_url":"https://api.github.com/repos/tracym/clj-hacker-news/contributors","subscribers_url":"https://api.github.com/repos/tracym/clj-hacker-news/subscribers","subscription_url":"https://api.github.com/repos/tracym/clj-hacker-news/subscription","commits_url":"https://api.github.com/repos/tracym/clj-hacker-news/commits{/sha}","git_commits_url":"https://api.github.com/repos/tracym/clj-hacker-news/git/commits{/sha}","comments_url":"https://api.github.com/repos/tracym/clj-hacker-news/comments{/number}","issue_comment_url":"https://api.github.com/repos/tracym/clj-hacker-news/issues/comments/{number}","contents_url":"https://api.github.com/repos/tracym/clj-hacker-news/contents/{+path}","compare_url":"https://api.github.com/repos/tracym/clj-hacker-news/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tracym/clj-hacker-news/merges","archive_url":"https://api.github.com/repos/tracym/clj-hacker-news/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tracym/clj-hacker-news/downloads","issues_url":"https://api.github.com/repos/tracym/clj-hacker-news/issues{/number}","pulls_url":"https://api.github.com/repos/tracym/clj-hacker-news/pulls{/number}","milestones_url":"https://api.github.com/repos/tracym/clj-hacker-news/milestones{/number}","notifications_url":"https://api.github.com/repos/tracym/clj-hacker-news/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tracym/clj-hacker-news/labels{/name}","releases_url":"https://api.github.com/repos/tracym/clj-hacker-news/releases{/id}","created_at":"2014-10-15T19:36:03Z","updated_at":"2014-10-15T03:00:11Z","pushed_at":"2014-10-16T03:16:07Z","git_url":"git://github.com/tracym/clj-hacker-news.git","ssh_url":"git@github.com:tracym/clj-hacker-news.git","clone_url":"https://github.com/tracym/clj-hacker-news.git","svn_url":"https://github.com/tracym/clj-hacker-news","homepage":null,"size":64,"stargazers_count":0,"watchers_count":0,"language":null,"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":"nickmcdonnough:master","ref":"master","sha":"e26aa49687369ce4e0198dccf22a3b78eaff36ec","user":{"login":"nickmcdonnough","id":5671182,"avatar_url":"https://avatars.githubusercontent.com/u/5671182?v=2","gravatar_id":"","url":"https://api.github.com/users/nickmcdonnough","html_url":"https://github.com/nickmcdonnough","followers_url":"https://api.github.com/users/nickmcdonnough/followers","following_url":"https://api.github.com/users/nickmcdonnough/following{/other_user}","gists_url":"https://api.github.com/users/nickmcdonnough/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmcdonnough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmcdonnough/subscriptions","organizations_url":"https://api.github.com/users/nickmcdonnough/orgs","repos_url":"https://api.github.com/users/nickmcdonnough/repos","events_url":"https://api.github.com/users/nickmcdonnough/events{/privacy}","received_events_url":"https://api.github.com/users/nickmcdonnough/received_events","type":"User","site_admin":false},"repo":{"id":24970969,"name":"clj-hacker-news","full_name":"nickmcdonnough/clj-hacker-news","owner":{"login":"nickmcdonnough","id":5671182,"avatar_url":"https://avatars.githubusercontent.com/u/5671182?v=2","gravatar_id":"","url":"https://api.github.com/users/nickmcdonnough","html_url":"https://github.com/nickmcdonnough","followers_url":"https://api.github.com/users/nickmcdonnough/followers","following_url":"https://api.github.com/users/nickmcdonnough/following{/other_user}","gists_url":"https://api.github.com/users/nickmcdonnough/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmcdonnough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmcdonnough/subscriptions","organizations_url":"https://api.github.com/users/nickmcdonnough/orgs","repos_url":"https://api.github.com/users/nickmcdonnough/repos","events_url":"https://api.github.com/users/nickmcdonnough/events{/privacy}","received_events_url":"https://api.github.com/users/nickmcdonnough/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickmcdonnough/clj-hacker-news","description":"A Clojure library for interacting with the new Hacker News API.","fork":false,"url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news","forks_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/forks","keys_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/teams","hooks_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/hooks","issue_events_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/issues/events{/number}","events_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/events","assignees_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/assignees{/user}","branches_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/branches{/branch}","tags_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/tags","blobs_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/statuses/{sha}","languages_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/languages","stargazers_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/stargazers","contributors_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/contributors","subscribers_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/subscribers","subscription_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/subscription","commits_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/issues/comments/{number}","contents_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/contents/{+path}","compare_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/merges","archive_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/downloads","issues_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/issues{/number}","pulls_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls{/number}","milestones_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/milestones{/number}","notifications_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/labels{/name}","releases_url":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/releases{/id}","created_at":"2014-10-09T02:51:04Z","updated_at":"2014-10-15T03:00:11Z","pushed_at":"2014-10-11T00:17:39Z","git_url":"git://github.com/nickmcdonnough/clj-hacker-news.git","ssh_url":"git@github.com:nickmcdonnough/clj-hacker-news.git","clone_url":"https://github.com/nickmcdonnough/clj-hacker-news.git","svn_url":"https://github.com/nickmcdonnough/clj-hacker-news","homepage":null,"size":128,"stargazers_count":12,"watchers_count":12,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/3"},"html":{"href":"https://github.com/nickmcdonnough/clj-hacker-news/pull/3"},"issue":{"href":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/issues/3"},"comments":{"href":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/nickmcdonnough/clj-hacker-news/statuses/a337e6db004b09fa364959881bc8f089417a0c53"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":10,"changed_files":1}}