{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/2","id":61273552,"html_url":"https://github.com/mcuadros/go-time-aggregator/pull/2","diff_url":"https://github.com/mcuadros/go-time-aggregator/pull/2.diff","patch_url":"https://github.com/mcuadros/go-time-aggregator/pull/2.patch","issue_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/issues/2","number":2,"state":"open","locked":false,"title":"Fix consistency of get return value","user":{"login":"alcortesm","id":9169414,"avatar_url":"https://avatars.githubusercontent.com/u/9169414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcortesm","html_url":"https://github.com/alcortesm","followers_url":"https://api.github.com/users/alcortesm/followers","following_url":"https://api.github.com/users/alcortesm/following{/other_user}","gists_url":"https://api.github.com/users/alcortesm/gists{/gist_id}","starred_url":"https://api.github.com/users/alcortesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcortesm/subscriptions","organizations_url":"https://api.github.com/users/alcortesm/orgs","repos_url":"https://api.github.com/users/alcortesm/repos","events_url":"https://api.github.com/users/alcortesm/events{/privacy}","received_events_url":"https://api.github.com/users/alcortesm/received_events","type":"User","site_admin":false},"body":"WARNING: this change the public API, now failed gets returns 0 (zero) instead of -1.\r\n\r\nOther projects using this repo will need to update their get failure checks if this PR is merged.\r\n\r\nPlease note that both the old `-1` and the new `0` return values are valid return values when asking for already stored dates (meaning you can not detect get failures).\r\n","created_at":"2016-03-01T16:59:12Z","updated_at":"2016-03-01T16:59:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/issues/2/comments","statuses_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/statuses/34c926260b18c2e06da049a63597aedff2db1471","head":{"label":"alcortesm:fix-get-return-value","ref":"fix-get-return-value","sha":"34c926260b18c2e06da049a63597aedff2db1471","user":{"login":"alcortesm","id":9169414,"avatar_url":"https://avatars.githubusercontent.com/u/9169414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcortesm","html_url":"https://github.com/alcortesm","followers_url":"https://api.github.com/users/alcortesm/followers","following_url":"https://api.github.com/users/alcortesm/following{/other_user}","gists_url":"https://api.github.com/users/alcortesm/gists{/gist_id}","starred_url":"https://api.github.com/users/alcortesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcortesm/subscriptions","organizations_url":"https://api.github.com/users/alcortesm/orgs","repos_url":"https://api.github.com/users/alcortesm/repos","events_url":"https://api.github.com/users/alcortesm/events{/privacy}","received_events_url":"https://api.github.com/users/alcortesm/received_events","type":"User","site_admin":false},"repo":{"id":52893426,"name":"go-time-aggregator","full_name":"alcortesm/go-time-aggregator","owner":{"login":"alcortesm","id":9169414,"avatar_url":"https://avatars.githubusercontent.com/u/9169414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcortesm","html_url":"https://github.com/alcortesm","followers_url":"https://api.github.com/users/alcortesm/followers","following_url":"https://api.github.com/users/alcortesm/following{/other_user}","gists_url":"https://api.github.com/users/alcortesm/gists{/gist_id}","starred_url":"https://api.github.com/users/alcortesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcortesm/subscriptions","organizations_url":"https://api.github.com/users/alcortesm/orgs","repos_url":"https://api.github.com/users/alcortesm/repos","events_url":"https://api.github.com/users/alcortesm/events{/privacy}","received_events_url":"https://api.github.com/users/alcortesm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alcortesm/go-time-aggregator","description":"","fork":true,"url":"https://api.github.com/repos/alcortesm/go-time-aggregator","forks_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/forks","keys_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/teams","hooks_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/hooks","issue_events_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/issues/events{/number}","events_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/events","assignees_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/assignees{/user}","branches_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/branches{/branch}","tags_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/tags","blobs_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/git/refs{/sha}","trees_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/statuses/{sha}","languages_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/languages","stargazers_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/stargazers","contributors_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/contributors","subscribers_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/subscribers","subscription_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/subscription","commits_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/commits{/sha}","git_commits_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/git/commits{/sha}","comments_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/comments{/number}","issue_comment_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/issues/comments{/number}","contents_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/contents/{+path}","compare_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/merges","archive_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/downloads","issues_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/issues{/number}","pulls_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/pulls{/number}","milestones_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/milestones{/number}","notifications_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/labels{/name}","releases_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/releases{/id}","deployments_url":"https://api.github.com/repos/alcortesm/go-time-aggregator/deployments","created_at":"2016-03-01T16:50:20Z","updated_at":"2016-03-01T16:50:21Z","pushed_at":"2016-03-01T16:50:41Z","git_url":"git://github.com/alcortesm/go-time-aggregator.git","ssh_url":"git@github.com:alcortesm/go-time-aggregator.git","clone_url":"https://github.com/alcortesm/go-time-aggregator.git","svn_url":"https://github.com/alcortesm/go-time-aggregator","homepage":null,"size":32,"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":"mcuadros:master","ref":"master","sha":"88732cb30a800367a0d018682913b5d14ca32a3b","user":{"login":"mcuadros","id":1573114,"avatar_url":"https://avatars.githubusercontent.com/u/1573114?v=3","gravatar_id":"","url":"https://api.github.com/users/mcuadros","html_url":"https://github.com/mcuadros","followers_url":"https://api.github.com/users/mcuadros/followers","following_url":"https://api.github.com/users/mcuadros/following{/other_user}","gists_url":"https://api.github.com/users/mcuadros/gists{/gist_id}","starred_url":"https://api.github.com/users/mcuadros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcuadros/subscriptions","organizations_url":"https://api.github.com/users/mcuadros/orgs","repos_url":"https://api.github.com/users/mcuadros/repos","events_url":"https://api.github.com/users/mcuadros/events{/privacy}","received_events_url":"https://api.github.com/users/mcuadros/received_events","type":"User","site_admin":false},"repo":{"id":35574720,"name":"go-time-aggregator","full_name":"mcuadros/go-time-aggregator","owner":{"login":"mcuadros","id":1573114,"avatar_url":"https://avatars.githubusercontent.com/u/1573114?v=3","gravatar_id":"","url":"https://api.github.com/users/mcuadros","html_url":"https://github.com/mcuadros","followers_url":"https://api.github.com/users/mcuadros/followers","following_url":"https://api.github.com/users/mcuadros/following{/other_user}","gists_url":"https://api.github.com/users/mcuadros/gists{/gist_id}","starred_url":"https://api.github.com/users/mcuadros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcuadros/subscriptions","organizations_url":"https://api.github.com/users/mcuadros/orgs","repos_url":"https://api.github.com/users/mcuadros/repos","events_url":"https://api.github.com/users/mcuadros/events{/privacy}","received_events_url":"https://api.github.com/users/mcuadros/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcuadros/go-time-aggregator","description":"","fork":false,"url":"https://api.github.com/repos/mcuadros/go-time-aggregator","forks_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/forks","keys_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/teams","hooks_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/hooks","issue_events_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/issues/events{/number}","events_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/events","assignees_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/assignees{/user}","branches_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/branches{/branch}","tags_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/tags","blobs_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/statuses/{sha}","languages_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/languages","stargazers_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/stargazers","contributors_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/contributors","subscribers_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/subscribers","subscription_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/subscription","commits_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/contents/{+path}","compare_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/merges","archive_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/downloads","issues_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/issues{/number}","pulls_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls{/number}","milestones_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/milestones{/number}","notifications_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/labels{/name}","releases_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/releases{/id}","deployments_url":"https://api.github.com/repos/mcuadros/go-time-aggregator/deployments","created_at":"2015-05-13T21:19:01Z","updated_at":"2016-02-22T22:12:58Z","pushed_at":"2016-02-26T21:43:53Z","git_url":"git://github.com/mcuadros/go-time-aggregator.git","ssh_url":"git@github.com:mcuadros/go-time-aggregator.git","clone_url":"https://github.com/mcuadros/go-time-aggregator.git","svn_url":"https://github.com/mcuadros/go-time-aggregator","homepage":null,"size":29,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/2"},"html":{"href":"https://github.com/mcuadros/go-time-aggregator/pull/2"},"issue":{"href":"https://api.github.com/repos/mcuadros/go-time-aggregator/issues/2"},"comments":{"href":"https://api.github.com/repos/mcuadros/go-time-aggregator/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mcuadros/go-time-aggregator/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mcuadros/go-time-aggregator/statuses/34c926260b18c2e06da049a63597aedff2db1471"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":13,"deletions":1,"changed_files":2}}