{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/13","id":64808802,"html_url":"https://github.com/burnettk/delete-docker-registry-image/pull/13","diff_url":"https://github.com/burnettk/delete-docker-registry-image/pull/13.diff","patch_url":"https://github.com/burnettk/delete-docker-registry-image/pull/13.patch","issue_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/issues/13","number":13,"state":"open","locked":false,"title":"Handle missing files correctly","user":{"login":"abulimov","id":3798402,"avatar_url":"https://avatars.githubusercontent.com/u/3798402?v=3","gravatar_id":"","url":"https://api.github.com/users/abulimov","html_url":"https://github.com/abulimov","followers_url":"https://api.github.com/users/abulimov/followers","following_url":"https://api.github.com/users/abulimov/following{/other_user}","gists_url":"https://api.github.com/users/abulimov/gists{/gist_id}","starred_url":"https://api.github.com/users/abulimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abulimov/subscriptions","organizations_url":"https://api.github.com/users/abulimov/orgs","repos_url":"https://api.github.com/users/abulimov/repos","events_url":"https://api.github.com/users/abulimov/events{/privacy}","received_events_url":"https://api.github.com/users/abulimov/received_events","type":"User","site_admin":false},"body":"I've encountered several issues when blob file we should remove was missing.\r\nThis pull-request allows script to handle missing files correctly.","created_at":"2016-03-31T15:23:15Z","updated_at":"2016-03-31T15:23:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/13/commits","review_comments_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/13/comments","review_comment_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/issues/13/comments","statuses_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/statuses/165c5144d6050f7137befd21aa3f541ca967b47a","head":{"label":"abulimov:safe_removal","ref":"safe_removal","sha":"165c5144d6050f7137befd21aa3f541ca967b47a","user":{"login":"abulimov","id":3798402,"avatar_url":"https://avatars.githubusercontent.com/u/3798402?v=3","gravatar_id":"","url":"https://api.github.com/users/abulimov","html_url":"https://github.com/abulimov","followers_url":"https://api.github.com/users/abulimov/followers","following_url":"https://api.github.com/users/abulimov/following{/other_user}","gists_url":"https://api.github.com/users/abulimov/gists{/gist_id}","starred_url":"https://api.github.com/users/abulimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abulimov/subscriptions","organizations_url":"https://api.github.com/users/abulimov/orgs","repos_url":"https://api.github.com/users/abulimov/repos","events_url":"https://api.github.com/users/abulimov/events{/privacy}","received_events_url":"https://api.github.com/users/abulimov/received_events","type":"User","site_admin":false},"repo":{"id":52875907,"name":"delete-docker-registry-image","full_name":"abulimov/delete-docker-registry-image","owner":{"login":"abulimov","id":3798402,"avatar_url":"https://avatars.githubusercontent.com/u/3798402?v=3","gravatar_id":"","url":"https://api.github.com/users/abulimov","html_url":"https://github.com/abulimov","followers_url":"https://api.github.com/users/abulimov/followers","following_url":"https://api.github.com/users/abulimov/following{/other_user}","gists_url":"https://api.github.com/users/abulimov/gists{/gist_id}","starred_url":"https://api.github.com/users/abulimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abulimov/subscriptions","organizations_url":"https://api.github.com/users/abulimov/orgs","repos_url":"https://api.github.com/users/abulimov/repos","events_url":"https://api.github.com/users/abulimov/events{/privacy}","received_events_url":"https://api.github.com/users/abulimov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abulimov/delete-docker-registry-image","description":"If you are running a private v2 docker registry, and you are storing your data on disk, running this bash script from the machine where the data lives will let you fully delete an image or tag","fork":true,"url":"https://api.github.com/repos/abulimov/delete-docker-registry-image","forks_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/forks","keys_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/teams","hooks_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/hooks","issue_events_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/issues/events{/number}","events_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/events","assignees_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/assignees{/user}","branches_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/branches{/branch}","tags_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/tags","blobs_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/statuses/{sha}","languages_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/languages","stargazers_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/stargazers","contributors_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/contributors","subscribers_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/subscribers","subscription_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/subscription","commits_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/contents/{+path}","compare_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/merges","archive_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/downloads","issues_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/issues{/number}","pulls_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/pulls{/number}","milestones_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/milestones{/number}","notifications_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/labels{/name}","releases_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/releases{/id}","deployments_url":"https://api.github.com/repos/abulimov/delete-docker-registry-image/deployments","created_at":"2016-03-01T12:42:05Z","updated_at":"2016-03-01T12:42:06Z","pushed_at":"2016-03-31T15:21:06Z","git_url":"git://github.com/abulimov/delete-docker-registry-image.git","ssh_url":"git@github.com:abulimov/delete-docker-registry-image.git","clone_url":"https://github.com/abulimov/delete-docker-registry-image.git","svn_url":"https://github.com/abulimov/delete-docker-registry-image","homepage":"","size":26,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"burnettk:master","ref":"master","sha":"099a46178baa0097b58ac9a249bac0a745b71063","user":{"login":"burnettk","id":18027,"avatar_url":"https://avatars.githubusercontent.com/u/18027?v=3","gravatar_id":"","url":"https://api.github.com/users/burnettk","html_url":"https://github.com/burnettk","followers_url":"https://api.github.com/users/burnettk/followers","following_url":"https://api.github.com/users/burnettk/following{/other_user}","gists_url":"https://api.github.com/users/burnettk/gists{/gist_id}","starred_url":"https://api.github.com/users/burnettk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burnettk/subscriptions","organizations_url":"https://api.github.com/users/burnettk/orgs","repos_url":"https://api.github.com/users/burnettk/repos","events_url":"https://api.github.com/users/burnettk/events{/privacy}","received_events_url":"https://api.github.com/users/burnettk/received_events","type":"User","site_admin":false},"repo":{"id":41823708,"name":"delete-docker-registry-image","full_name":"burnettk/delete-docker-registry-image","owner":{"login":"burnettk","id":18027,"avatar_url":"https://avatars.githubusercontent.com/u/18027?v=3","gravatar_id":"","url":"https://api.github.com/users/burnettk","html_url":"https://github.com/burnettk","followers_url":"https://api.github.com/users/burnettk/followers","following_url":"https://api.github.com/users/burnettk/following{/other_user}","gists_url":"https://api.github.com/users/burnettk/gists{/gist_id}","starred_url":"https://api.github.com/users/burnettk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burnettk/subscriptions","organizations_url":"https://api.github.com/users/burnettk/orgs","repos_url":"https://api.github.com/users/burnettk/repos","events_url":"https://api.github.com/users/burnettk/events{/privacy}","received_events_url":"https://api.github.com/users/burnettk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/burnettk/delete-docker-registry-image","description":"If you are running a private v2 docker registry, and you are storing your data on disk, running this bash script from the machine where the data lives will let you fully delete an image or tag","fork":false,"url":"https://api.github.com/repos/burnettk/delete-docker-registry-image","forks_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/forks","keys_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/teams","hooks_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/hooks","issue_events_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/issues/events{/number}","events_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/events","assignees_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/assignees{/user}","branches_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/branches{/branch}","tags_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/tags","blobs_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/statuses/{sha}","languages_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/languages","stargazers_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/stargazers","contributors_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/contributors","subscribers_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/subscribers","subscription_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/subscription","commits_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/contents/{+path}","compare_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/merges","archive_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/downloads","issues_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/issues{/number}","pulls_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls{/number}","milestones_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/milestones{/number}","notifications_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/labels{/name}","releases_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/releases{/id}","deployments_url":"https://api.github.com/repos/burnettk/delete-docker-registry-image/deployments","created_at":"2015-09-02T19:39:40Z","updated_at":"2016-03-30T15:39:56Z","pushed_at":"2016-03-08T17:11:18Z","git_url":"git://github.com/burnettk/delete-docker-registry-image.git","ssh_url":"git@github.com:burnettk/delete-docker-registry-image.git","clone_url":"https://github.com/burnettk/delete-docker-registry-image.git","svn_url":"https://github.com/burnettk/delete-docker-registry-image","homepage":"","size":42,"stargazers_count":107,"watchers_count":107,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":2,"forks":21,"open_issues":2,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/13"},"html":{"href":"https://github.com/burnettk/delete-docker-registry-image/pull/13"},"issue":{"href":"https://api.github.com/repos/burnettk/delete-docker-registry-image/issues/13"},"comments":{"href":"https://api.github.com/repos/burnettk/delete-docker-registry-image/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/burnettk/delete-docker-registry-image/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/burnettk/delete-docker-registry-image/statuses/165c5144d6050f7137befd21aa3f541ca967b47a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":27,"deletions":14,"changed_files":1}}