{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/heroku/transferatu/pulls/37","id":40248915,"html_url":"https://github.com/heroku/transferatu/pull/37","diff_url":"https://github.com/heroku/transferatu/pull/37.diff","patch_url":"https://github.com/heroku/transferatu/pull/37.patch","issue_url":"https://api.github.com/repos/heroku/transferatu/issues/37","number":37,"state":"closed","locked":false,"title":"Complete with warnings.","user":{"login":"tef","id":56231,"avatar_url":"https://avatars.githubusercontent.com/u/56231?v=3","gravatar_id":"","url":"https://api.github.com/users/tef","html_url":"https://github.com/tef","followers_url":"https://api.github.com/users/tef/followers","following_url":"https://api.github.com/users/tef/following{/other_user}","gists_url":"https://api.github.com/users/tef/gists{/gist_id}","starred_url":"https://api.github.com/users/tef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tef/subscriptions","organizations_url":"https://api.github.com/users/tef/orgs","repos_url":"https://api.github.com/users/tef/repos","events_url":"https://api.github.com/users/tef/events{/privacy}","received_events_url":"https://api.github.com/users/tef/received_events","type":"User","site_admin":false},"body":"Instead of using transfer.succeeded to determine if a transfer has failed or finished, use an additional warnings column to indiate a third state \"Complete with warnings\". A finished backup will have succeeded as true and warnings as 0. A complete with warnings has succeeded as true but warnings as non 0. Failure is still where succeeded is false.\r\n\r\nSucceeded no longer depends on the exit code being 0, or the exit code being 1 and the error counts matching. Succeeded is when \"restore done\" is seen, and warnings are set if the exit code is non zero and the error counts do not match.","created_at":"2015-07-17T16:37:21Z","updated_at":"2015-08-05T16:07:24Z","closed_at":"2015-08-05T16:07:24Z","merged_at":"2015-08-05T16:07:24Z","merge_commit_sha":"2660fba8763c777b063f52dd15bf90fdc568bce3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/heroku/transferatu/pulls/37/commits","review_comments_url":"https://api.github.com/repos/heroku/transferatu/pulls/37/comments","review_comment_url":"https://api.github.com/repos/heroku/transferatu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heroku/transferatu/issues/37/comments","statuses_url":"https://api.github.com/repos/heroku/transferatu/statuses/00c62f6d757b289fadc06149b8c825c243f509e0","head":{"label":"heroku:warning_count","ref":"warning_count","sha":"00c62f6d757b289fadc06149b8c825c243f509e0","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":20540503,"name":"transferatu","full_name":"heroku/transferatu","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/transferatu","description":"Transfers data from one place to another. As a service.","fork":false,"url":"https://api.github.com/repos/heroku/transferatu","forks_url":"https://api.github.com/repos/heroku/transferatu/forks","keys_url":"https://api.github.com/repos/heroku/transferatu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/transferatu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/transferatu/teams","hooks_url":"https://api.github.com/repos/heroku/transferatu/hooks","issue_events_url":"https://api.github.com/repos/heroku/transferatu/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/transferatu/events","assignees_url":"https://api.github.com/repos/heroku/transferatu/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/transferatu/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/transferatu/tags","blobs_url":"https://api.github.com/repos/heroku/transferatu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/transferatu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/transferatu/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/transferatu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/transferatu/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/transferatu/languages","stargazers_url":"https://api.github.com/repos/heroku/transferatu/stargazers","contributors_url":"https://api.github.com/repos/heroku/transferatu/contributors","subscribers_url":"https://api.github.com/repos/heroku/transferatu/subscribers","subscription_url":"https://api.github.com/repos/heroku/transferatu/subscription","commits_url":"https://api.github.com/repos/heroku/transferatu/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/transferatu/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/transferatu/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/transferatu/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/transferatu/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/transferatu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/transferatu/merges","archive_url":"https://api.github.com/repos/heroku/transferatu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/transferatu/downloads","issues_url":"https://api.github.com/repos/heroku/transferatu/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/transferatu/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/transferatu/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/transferatu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/transferatu/labels{/name}","releases_url":"https://api.github.com/repos/heroku/transferatu/releases{/id}","created_at":"2014-06-05T20:31:12Z","updated_at":"2015-07-30T20:21:18Z","pushed_at":"2015-08-05T16:07:24Z","git_url":"git://github.com/heroku/transferatu.git","ssh_url":"git@github.com:heroku/transferatu.git","clone_url":"https://github.com/heroku/transferatu.git","svn_url":"https://github.com/heroku/transferatu","homepage":null,"size":24887,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":29,"default_branch":"master"}},"base":{"label":"heroku:master","ref":"master","sha":"27471027dd4c0c25022d71ccaa01602afedfe8a9","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":20540503,"name":"transferatu","full_name":"heroku/transferatu","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/transferatu","description":"Transfers data from one place to another. As a service.","fork":false,"url":"https://api.github.com/repos/heroku/transferatu","forks_url":"https://api.github.com/repos/heroku/transferatu/forks","keys_url":"https://api.github.com/repos/heroku/transferatu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/transferatu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/transferatu/teams","hooks_url":"https://api.github.com/repos/heroku/transferatu/hooks","issue_events_url":"https://api.github.com/repos/heroku/transferatu/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/transferatu/events","assignees_url":"https://api.github.com/repos/heroku/transferatu/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/transferatu/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/transferatu/tags","blobs_url":"https://api.github.com/repos/heroku/transferatu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/transferatu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/transferatu/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/transferatu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/transferatu/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/transferatu/languages","stargazers_url":"https://api.github.com/repos/heroku/transferatu/stargazers","contributors_url":"https://api.github.com/repos/heroku/transferatu/contributors","subscribers_url":"https://api.github.com/repos/heroku/transferatu/subscribers","subscription_url":"https://api.github.com/repos/heroku/transferatu/subscription","commits_url":"https://api.github.com/repos/heroku/transferatu/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/transferatu/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/transferatu/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/transferatu/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/transferatu/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/transferatu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/transferatu/merges","archive_url":"https://api.github.com/repos/heroku/transferatu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/transferatu/downloads","issues_url":"https://api.github.com/repos/heroku/transferatu/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/transferatu/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/transferatu/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/transferatu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/transferatu/labels{/name}","releases_url":"https://api.github.com/repos/heroku/transferatu/releases{/id}","created_at":"2014-06-05T20:31:12Z","updated_at":"2015-07-30T20:21:18Z","pushed_at":"2015-08-05T16:07:24Z","git_url":"git://github.com/heroku/transferatu.git","ssh_url":"git@github.com:heroku/transferatu.git","clone_url":"https://github.com/heroku/transferatu.git","svn_url":"https://github.com/heroku/transferatu","homepage":null,"size":24887,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heroku/transferatu/pulls/37"},"html":{"href":"https://github.com/heroku/transferatu/pull/37"},"issue":{"href":"https://api.github.com/repos/heroku/transferatu/issues/37"},"comments":{"href":"https://api.github.com/repos/heroku/transferatu/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/heroku/transferatu/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/heroku/transferatu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heroku/transferatu/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/heroku/transferatu/statuses/00c62f6d757b289fadc06149b8c825c243f509e0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tef","id":56231,"avatar_url":"https://avatars.githubusercontent.com/u/56231?v=3","gravatar_id":"","url":"https://api.github.com/users/tef","html_url":"https://github.com/tef","followers_url":"https://api.github.com/users/tef/followers","following_url":"https://api.github.com/users/tef/following{/other_user}","gists_url":"https://api.github.com/users/tef/gists{/gist_id}","starred_url":"https://api.github.com/users/tef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tef/subscriptions","organizations_url":"https://api.github.com/users/tef/orgs","repos_url":"https://api.github.com/users/tef/repos","events_url":"https://api.github.com/users/tef/events{/privacy}","received_events_url":"https://api.github.com/users/tef/received_events","type":"User","site_admin":false},"comments":3,"review_comments":5,"commits":1,"additions":55,"deletions":14,"changed_files":7}}