{"action":"closed","number":177,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/177","id":57350161,"html_url":"https://github.com/alphagov/digitalmarketplace-aws/pull/177","diff_url":"https://github.com/alphagov/digitalmarketplace-aws/pull/177.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-aws/pull/177.patch","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/177","number":177,"state":"closed","locked":false,"title":"Delete all draft services when migrating","user":{"login":"robyoung","id":14287,"avatar_url":"https://avatars.githubusercontent.com/u/14287?v=3","gravatar_id":"","url":"https://api.github.com/users/robyoung","html_url":"https://github.com/robyoung","followers_url":"https://api.github.com/users/robyoung/followers","following_url":"https://api.github.com/users/robyoung/following{/other_user}","gists_url":"https://api.github.com/users/robyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/robyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robyoung/subscriptions","organizations_url":"https://api.github.com/users/robyoung/orgs","repos_url":"https://api.github.com/users/robyoung/repos","events_url":"https://api.github.com/users/robyoung/events{/privacy}","received_events_url":"https://api.github.com/users/robyoung/received_events","type":"User","site_admin":false},"body":"We do not ever need draft services to be copied over to staging. If they\r\nare for an open or pending framework we definitely don't want them for\r\nlegal reasons. If they are for a live framework  they are not very\r\nuseful.\r\n\r\nSupplier framework records need to be removed for open or pending\r\nframeworks for legal reasons.","created_at":"2016-01-27T11:59:53Z","updated_at":"2016-01-27T12:26:19Z","closed_at":"2016-01-27T12:26:18Z","merged_at":"2016-01-27T12:26:18Z","merge_commit_sha":"4e9c584be21e780a30c59c254da595eacdd236db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/177/commits","review_comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/177/comments","review_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/177/comments","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/5ebbaafece269c42e2e4d8ce0b1739a1ecfc714c","head":{"label":"alphagov:delete-all-draft-services","ref":"delete-all-draft-services","sha":"5ebbaafece269c42e2e4d8ce0b1739a1ecfc714c","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":31316356,"name":"digitalmarketplace-aws","full_name":"alphagov/digitalmarketplace-aws","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-aws","description":"Ansible playbooks to set up AWS infrastructure for Digital Marketplace apps","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/deployments","created_at":"2015-02-25T14:07:07Z","updated_at":"2016-01-13T10:26:52Z","pushed_at":"2016-01-27T12:26:18Z","git_url":"git://github.com/alphagov/digitalmarketplace-aws.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-aws.git","clone_url":"https://github.com/alphagov/digitalmarketplace-aws.git","svn_url":"https://github.com/alphagov/digitalmarketplace-aws","homepage":null,"size":488,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"819a4b0a1126bdb3c16251d1bc04d4d8c3813d4f","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":31316356,"name":"digitalmarketplace-aws","full_name":"alphagov/digitalmarketplace-aws","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-aws","description":"Ansible playbooks to set up AWS infrastructure for Digital Marketplace apps","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/deployments","created_at":"2015-02-25T14:07:07Z","updated_at":"2016-01-13T10:26:52Z","pushed_at":"2016-01-27T12:26:18Z","git_url":"git://github.com/alphagov/digitalmarketplace-aws.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-aws.git","clone_url":"https://github.com/alphagov/digitalmarketplace-aws.git","svn_url":"https://github.com/alphagov/digitalmarketplace-aws","homepage":null,"size":488,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/177"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-aws/pull/177"},"issue":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/177"},"comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-aws/statuses/5ebbaafece269c42e2e4d8ce0b1739a1ecfc714c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"robyoung","id":14287,"avatar_url":"https://avatars.githubusercontent.com/u/14287?v=3","gravatar_id":"","url":"https://api.github.com/users/robyoung","html_url":"https://github.com/robyoung","followers_url":"https://api.github.com/users/robyoung/followers","following_url":"https://api.github.com/users/robyoung/following{/other_user}","gists_url":"https://api.github.com/users/robyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/robyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robyoung/subscriptions","organizations_url":"https://api.github.com/users/robyoung/orgs","repos_url":"https://api.github.com/users/robyoung/repos","events_url":"https://api.github.com/users/robyoung/events{/privacy}","received_events_url":"https://api.github.com/users/robyoung/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":6,"deletions":7,"changed_files":1}}