GitHub PullRequestEvent at 2014-10-02 21:11:10
Repository: publicwhip
Actor: henare
Payload: {"action":"opened","number":615,"pull_request":{"url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/615","id":22170630,"html_url":"https://github.com/openaustralia/publicwhip/pull/615","diff_url":"https://github.com/openaustralia/publicwhip/pull/615.diff","patch_url":"https://github.com/openaustralia/publicwhip/pull/615.patch","issue_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/615","number":615,"state":"open","locked":false,"title":"Update policy distances","user":{"login":"henare","id":48945,"avatar_url":"https://avatars.githubusercontent.com/u/48945?v=2","gravatar_id":"","url":"https://api.github.com/users/henare","html_url":"https://github.com/henare","followers_url":"https://api.github.com/users/henare/followers","following_url":"https://api.github.com/users/henare/following{/other_user}","gists_url":"https://api.github.com/users/henare/gists{/gist_id}","starred_url":"https://api.github.com/users/henare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henare/subscriptions","organizations_url":"https://api.github.com/users/henare/orgs","repos_url":"https://api.github.com/users/henare/repos","events_url":"https://api.github.com/users/henare/events{/privacy}","received_events_url":"https://api.github.com/users/henare/received_events","type":"User","site_admin":false},"body":"This fixes #574. As it's an important function, I'd like a review.\r\n\r\nOne thing I'm not sure on is if we should refresh the cache daily, given it should be updated as things change with the callbacks. Running an update took 26 minutes on my machine so it's not a cheap operation either.","created_at":"2014-10-02T21:11:10Z","updated_at":"2014-10-02T21:11:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/615/commits","review_comments_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/615/comments","review_comment_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/615/comments","statuses_url":"https://api.github.com/repos/openaustralia/publicwhip/statuses/3fc097abcd2526895ea3c18f2e26eb3f57659ee3","head":{"label":"openaustralia:update-policy-distances","ref":"update-policy-distances","sha":"3fc097abcd2526895ea3c18f2e26eb3f57659ee3","user":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=2","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":9685051,"name":"publicwhip","full_name":"openaustralia/publicwhip","owner":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=2","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openaustralia/publicwhip","description":"Helping you find out if your MP represents you by analysing their votes in Australia's parliament for you.","fork":false,"url":"https://api.github.com/repos/openaustralia/publicwhip","forks_url":"https://api.github.com/repos/openaustralia/publicwhip/forks","keys_url":"https://api.github.com/repos/openaustralia/publicwhip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openaustralia/publicwhip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openaustralia/publicwhip/teams","hooks_url":"https://api.github.com/repos/openaustralia/publicwhip/hooks","issue_events_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/events{/number}","events_url":"https://api.github.com/repos/openaustralia/publicwhip/events","assignees_url":"https://api.github.com/repos/openaustralia/publicwhip/assignees{/user}","branches_url":"https://api.github.com/repos/openaustralia/publicwhip/branches{/branch}","tags_url":"https://api.github.com/repos/openaustralia/publicwhip/tags","blobs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openaustralia/publicwhip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/refs{/sha}","trees_url":"https://api.github.com/repos/openaustralia/publicwhip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openaustralia/publicwhip/statuses/{sha}","languages_url":"https://api.github.com/repos/openaustralia/publicwhip/languages","stargazers_url":"https://api.github.com/repos/openaustralia/publicwhip/stargazers","contributors_url":"https://api.github.com/repos/openaustralia/publicwhip/contributors","subscribers_url":"https://api.github.com/repos/openaustralia/publicwhip/subscribers","subscription_url":"https://api.github.com/repos/openaustralia/publicwhip/subscription","commits_url":"https://api.github.com/repos/openaustralia/publicwhip/commits{/sha}","git_commits_url":"https://api.github.com/repos/openaustralia/publicwhip/git/commits{/sha}","comments_url":"https://api.github.com/repos/openaustralia/publicwhip/comments{/number}","issue_comment_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/comments/{number}","contents_url":"https://api.github.com/repos/openaustralia/publicwhip/contents/{+path}","compare_url":"https://api.github.com/repos/openaustralia/publicwhip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openaustralia/publicwhip/merges","archive_url":"https://api.github.com/repos/openaustralia/publicwhip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openaustralia/publicwhip/downloads","issues_url":"https://api.github.com/repos/openaustralia/publicwhip/issues{/number}","pulls_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls{/number}","milestones_url":"https://api.github.com/repos/openaustralia/publicwhip/milestones{/number}","notifications_url":"https://api.github.com/repos/openaustralia/publicwhip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openaustralia/publicwhip/labels{/name}","releases_url":"https://api.github.com/repos/openaustralia/publicwhip/releases{/id}","created_at":"2013-04-26T01:23:57Z","updated_at":"2014-09-04T04:38:22Z","pushed_at":"2014-10-02T10:23:08Z","git_url":"git://github.com/openaustralia/publicwhip.git","ssh_url":"git@github.com:openaustralia/publicwhip.git","clone_url":"https://github.com/openaustralia/publicwhip.git","svn_url":"https://github.com/openaustralia/publicwhip","homepage":"","size":229966,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":162,"forks":6,"open_issues":162,"watchers":8,"default_branch":"test"}},"base":{"label":"openaustralia:test","ref":"test","sha":"1479da891fa94d8b329b153bb58321a311bb416e","user":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=2","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":9685051,"name":"publicwhip","full_name":"openaustralia/publicwhip","owner":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=2","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openaustralia/publicwhip","description":"Helping you find out if your MP represents you by analysing their votes in Australia's parliament for you.","fork":false,"url":"https://api.github.com/repos/openaustralia/publicwhip","forks_url":"https://api.github.com/repos/openaustralia/publicwhip/forks","keys_url":"https://api.github.com/repos/openaustralia/publicwhip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openaustralia/publicwhip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openaustralia/publicwhip/teams","hooks_url":"https://api.github.com/repos/openaustralia/publicwhip/hooks","issue_events_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/events{/number}","events_url":"https://api.github.com/repos/openaustralia/publicwhip/events","assignees_url":"https://api.github.com/repos/openaustralia/publicwhip/assignees{/user}","branches_url":"https://api.github.com/repos/openaustralia/publicwhip/branches{/branch}","tags_url":"https://api.github.com/repos/openaustralia/publicwhip/tags","blobs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openaustralia/publicwhip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/refs{/sha}","trees_url":"https://api.github.com/repos/openaustralia/publicwhip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openaustralia/publicwhip/statuses/{sha}","languages_url":"https://api.github.com/repos/openaustralia/publicwhip/languages","stargazers_url":"https://api.github.com/repos/openaustralia/publicwhip/stargazers","contributors_url":"https://api.github.com/repos/openaustralia/publicwhip/contributors","subscribers_url":"https://api.github.com/repos/openaustralia/publicwhip/subscribers","subscription_url":"https://api.github.com/repos/openaustralia/publicwhip/subscription","commits_url":"https://api.github.com/repos/openaustralia/publicwhip/commits{/sha}","git_commits_url":"https://api.github.com/repos/openaustralia/publicwhip/git/commits{/sha}","comments_url":"https://api.github.com/repos/openaustralia/publicwhip/comments{/number}","issue_comment_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/comments/{number}","contents_url":"https://api.github.com/repos/openaustralia/publicwhip/contents/{+path}","compare_url":"https://api.github.com/repos/openaustralia/publicwhip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openaustralia/publicwhip/merges","archive_url":"https://api.github.com/repos/openaustralia/publicwhip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openaustralia/publicwhip/downloads","issues_url":"https://api.github.com/repos/openaustralia/publicwhip/issues{/number}","pulls_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls{/number}","milestones_url":"https://api.github.com/repos/openaustralia/publicwhip/milestones{/number}","notifications_url":"https://api.github.com/repos/openaustralia/publicwhip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openaustralia/publicwhip/labels{/name}","releases_url":"https://api.github.com/repos/openaustralia/publicwhip/releases{/id}","created_at":"2013-04-26T01:23:57Z","updated_at":"2014-09-04T04:38:22Z","pushed_at":"2014-10-02T10:23:08Z","git_url":"git://github.com/openaustralia/publicwhip.git","ssh_url":"git@github.com:openaustralia/publicwhip.git","clone_url":"https://github.com/openaustralia/publicwhip.git","svn_url":"https://github.com/openaustralia/publicwhip","homepage":"","size":229966,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":162,"forks":6,"open_issues":162,"watchers":8,"default_branch":"test"}},"_links":{"self":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/615"},"html":{"href":"https://github.com/openaustralia/publicwhip/pull/615"},"issue":{"href":"https://api.github.com/repos/openaustralia/publicwhip/issues/615"},"comments":{"href":"https://api.github.com/repos/openaustralia/publicwhip/issues/615/comments"},"review_comments":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/615/comments"},"review_comment":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/615/commits"},"statuses":{"href":"https://api.github.com/repos/openaustralia/publicwhip/statuses/3fc097abcd2526895ea3c18f2e26eb3f57659ee3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":23,"deletions":26,"changed_files":6}}