{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-core/issues/383","labels_url":"https://api.github.com/repos/travis-ci/travis-core/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-core/issues/383/comments","events_url":"https://api.github.com/repos/travis-ci/travis-core/issues/383/events","html_url":"https://github.com/travis-ci/travis-core/pull/383","id":39909218,"number":383,"title":"Return the right commit range for pull requests","user":{"login":"henrikhodne","id":24421,"avatar_url":"https://avatars.githubusercontent.com/u/24421?v=3","gravatar_id":"","url":"https://api.github.com/users/henrikhodne","html_url":"https://github.com/henrikhodne","followers_url":"https://api.github.com/users/henrikhodne/followers","following_url":"https://api.github.com/users/henrikhodne/following{/other_user}","gists_url":"https://api.github.com/users/henrikhodne/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikhodne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikhodne/subscriptions","organizations_url":"https://api.github.com/users/henrikhodne/orgs","repos_url":"https://api.github.com/users/henrikhodne/repos","events_url":"https://api.github.com/users/henrikhodne/events{/privacy}","received_events_url":"https://api.github.com/users/henrikhodne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-10T14:47:55Z","updated_at":"2015-03-05T06:51:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/travis-ci/travis-core/pulls/383","html_url":"https://github.com/travis-ci/travis-core/pull/383","diff_url":"https://github.com/travis-ci/travis-core/pull/383.diff","patch_url":"https://github.com/travis-ci/travis-core/pull/383.patch"},"body":"The compare URL for pull requests is just the pull request URL, so we can't extract the commit range from it, but the commit range is stored in the request for pull requests, so we can get it from there.\r\n\r\nFixes travis-ci/travis-ci#1719."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-core/issues/comments/77315786","html_url":"https://github.com/travis-ci/travis-core/pull/383#issuecomment-77315786","issue_url":"https://api.github.com/repos/travis-ci/travis-core/issues/383","id":77315786,"user":{"login":"joshk","id":8701,"avatar_url":"https://avatars.githubusercontent.com/u/8701?v=3","gravatar_id":"","url":"https://api.github.com/users/joshk","html_url":"https://github.com/joshk","followers_url":"https://api.github.com/users/joshk/followers","following_url":"https://api.github.com/users/joshk/following{/other_user}","gists_url":"https://api.github.com/users/joshk/gists{/gist_id}","starred_url":"https://api.github.com/users/joshk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshk/subscriptions","organizations_url":"https://api.github.com/users/joshk/orgs","repos_url":"https://api.github.com/users/joshk/repos","events_url":"https://api.github.com/users/joshk/events{/privacy}","received_events_url":"https://api.github.com/users/joshk/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T06:51:50Z","updated_at":"2015-03-05T06:51:50Z","body":"@henrikhodne could you summerize the state of the PR and what it does? Is this safe to merge? Are there any downsides?"}}