{"action":"created","comment":{"url":"https://api.github.com/repos/docker/distribution/pulls/comments/40545098","id":40545098,"diff_hunk":"@@ -1,4 +1,5 @@\n Aaron Lehmann <aaron.lehmann@docker.com>\n+Aaron Vinson <avinson.public@gmail.com>","path":"AUTHORS","position":2,"original_position":2,"commit_id":"a8b53b1d88ec5c3429ec40de2c155ba4c995b86c","original_commit_id":"a8b53b1d88ec5c3429ec40de2c155ba4c995b86c","user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"body":"Please do not include AUTHORS updates in PRs. These are updated at release time.","created_at":"2015-09-28T12:18:53Z","updated_at":"2015-09-28T12:18:53Z","html_url":"https://github.com/docker/distribution/pull/1032#discussion_r40545098","pull_request_url":"https://api.github.com/repos/docker/distribution/pulls/1032","_links":{"self":{"href":"https://api.github.com/repos/docker/distribution/pulls/comments/40545098"},"html":{"href":"https://github.com/docker/distribution/pull/1032#discussion_r40545098"},"pull_request":{"href":"https://api.github.com/repos/docker/distribution/pulls/1032"}}},"pull_request":{"url":"https://api.github.com/repos/docker/distribution/pulls/1032","id":46149657,"html_url":"https://github.com/docker/distribution/pull/1032","diff_url":"https://github.com/docker/distribution/pull/1032.diff","patch_url":"https://github.com/docker/distribution/pull/1032.patch","issue_url":"https://api.github.com/repos/docker/distribution/issues/1032","number":1032,"state":"open","locked":false,"title":"WIP: Added pruner binary","user":{"login":"miminar","id":1478803,"avatar_url":"https://avatars.githubusercontent.com/u/1478803?v=3","gravatar_id":"","url":"https://api.github.com/users/miminar","html_url":"https://github.com/miminar","followers_url":"https://api.github.com/users/miminar/followers","following_url":"https://api.github.com/users/miminar/following{/other_user}","gists_url":"https://api.github.com/users/miminar/gists{/gist_id}","starred_url":"https://api.github.com/users/miminar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miminar/subscriptions","organizations_url":"https://api.github.com/users/miminar/orgs","repos_url":"https://api.github.com/users/miminar/repos","events_url":"https://api.github.com/users/miminar/events{/privacy}","received_events_url":"https://api.github.com/users/miminar/received_events","type":"User","site_admin":false},"body":"Pruner tools removes orphaned blobs, dangling references and empty directories.\n\n    $ pruner -h\n    pruner allows to print and/or delete registry's orphaned blobs.\n\n    Make sure that registry instance isn't running or is running in a read-only\n    mode before launching this executable.\n\n    Usage:\n      <config> [flags]\n    Flags:\n      -c, --confirm=true: ask for confirmation before making changes\n      -n, --dry-run=false: perform a trial prune with no changes to registry\n      -h, --help=false: help for <config>\n      -e, --remove-empty=false: remove empty repositories (containing 0 manifest revisions)\n      -v, --verbose=false: turn on verbosive output\n      -V, --version=false: show the version and exit\n\nResolves #462\n\nCurrently pruner tool doesn't check whether registry is running or not. It\nexpects a caller to ensure that registry instance is either stopped or running in\nread-only mode. Tool also doesn't check which storage driver is used. Shall it\nbe enabled only for filesystems?\n\nTODO:\n \n - write tests\n - collect information about uploads in progress or expired uploads\n - collect tag index and allow to fix dangling tag by using reference from\n   index\n - decide what to do about manifests containing deleted/unlinked/dangling layers\n - rewrite signatures if missing/corrupted/unlinked","created_at":"2015-09-28T12:16:27Z","updated_at":"2015-09-28T12:18:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8376f131e6d988b409bc427ce0cf30bad15f6c51","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/distribution/pulls/1032/commits","review_comments_url":"https://api.github.com/repos/docker/distribution/pulls/1032/comments","review_comment_url":"https://api.github.com/repos/docker/distribution/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/distribution/issues/1032/comments","statuses_url":"https://api.github.com/repos/docker/distribution/statuses/a8b53b1d88ec5c3429ec40de2c155ba4c995b86c","head":{"label":"miminar:pruner","ref":"pruner","sha":"a8b53b1d88ec5c3429ec40de2c155ba4c995b86c","user":{"login":"miminar","id":1478803,"avatar_url":"https://avatars.githubusercontent.com/u/1478803?v=3","gravatar_id":"","url":"https://api.github.com/users/miminar","html_url":"https://github.com/miminar","followers_url":"https://api.github.com/users/miminar/followers","following_url":"https://api.github.com/users/miminar/following{/other_user}","gists_url":"https://api.github.com/users/miminar/gists{/gist_id}","starred_url":"https://api.github.com/users/miminar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miminar/subscriptions","organizations_url":"https://api.github.com/users/miminar/orgs","repos_url":"https://api.github.com/users/miminar/repos","events_url":"https://api.github.com/users/miminar/events{/privacy}","received_events_url":"https://api.github.com/users/miminar/received_events","type":"User","site_admin":false},"repo":{"id":35223192,"name":"distribution","full_name":"miminar/distribution","owner":{"login":"miminar","id":1478803,"avatar_url":"https://avatars.githubusercontent.com/u/1478803?v=3","gravatar_id":"","url":"https://api.github.com/users/miminar","html_url":"https://github.com/miminar","followers_url":"https://api.github.com/users/miminar/followers","following_url":"https://api.github.com/users/miminar/following{/other_user}","gists_url":"https://api.github.com/users/miminar/gists{/gist_id}","starred_url":"https://api.github.com/users/miminar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miminar/subscriptions","organizations_url":"https://api.github.com/users/miminar/orgs","repos_url":"https://api.github.com/users/miminar/repos","events_url":"https://api.github.com/users/miminar/events{/privacy}","received_events_url":"https://api.github.com/users/miminar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miminar/distribution","description":"The Docker toolset to pack, ship, store, and deliver content","fork":true,"url":"https://api.github.com/repos/miminar/distribution","forks_url":"https://api.github.com/repos/miminar/distribution/forks","keys_url":"https://api.github.com/repos/miminar/distribution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miminar/distribution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miminar/distribution/teams","hooks_url":"https://api.github.com/repos/miminar/distribution/hooks","issue_events_url":"https://api.github.com/repos/miminar/distribution/issues/events{/number}","events_url":"https://api.github.com/repos/miminar/distribution/events","assignees_url":"https://api.github.com/repos/miminar/distribution/assignees{/user}","branches_url":"https://api.github.com/repos/miminar/distribution/branches{/branch}","tags_url":"https://api.github.com/repos/miminar/distribution/tags","blobs_url":"https://api.github.com/repos/miminar/distribution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miminar/distribution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miminar/distribution/git/refs{/sha}","trees_url":"https://api.github.com/repos/miminar/distribution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miminar/distribution/statuses/{sha}","languages_url":"https://api.github.com/repos/miminar/distribution/languages","stargazers_url":"https://api.github.com/repos/miminar/distribution/stargazers","contributors_url":"https://api.github.com/repos/miminar/distribution/contributors","subscribers_url":"https://api.github.com/repos/miminar/distribution/subscribers","subscription_url":"https://api.github.com/repos/miminar/distribution/subscription","commits_url":"https://api.github.com/repos/miminar/distribution/commits{/sha}","git_commits_url":"https://api.github.com/repos/miminar/distribution/git/commits{/sha}","comments_url":"https://api.github.com/repos/miminar/distribution/comments{/number}","issue_comment_url":"https://api.github.com/repos/miminar/distribution/issues/comments{/number}","contents_url":"https://api.github.com/repos/miminar/distribution/contents/{+path}","compare_url":"https://api.github.com/repos/miminar/distribution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miminar/distribution/merges","archive_url":"https://api.github.com/repos/miminar/distribution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miminar/distribution/downloads","issues_url":"https://api.github.com/repos/miminar/distribution/issues{/number}","pulls_url":"https://api.github.com/repos/miminar/distribution/pulls{/number}","milestones_url":"https://api.github.com/repos/miminar/distribution/milestones{/number}","notifications_url":"https://api.github.com/repos/miminar/distribution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miminar/distribution/labels{/name}","releases_url":"https://api.github.com/repos/miminar/distribution/releases{/id}","created_at":"2015-05-07T13:58:10Z","updated_at":"2015-05-07T13:58:10Z","pushed_at":"2015-09-28T12:06:32Z","git_url":"git://github.com/miminar/distribution.git","ssh_url":"git@github.com:miminar/distribution.git","clone_url":"https://github.com/miminar/distribution.git","svn_url":"https://github.com/miminar/distribution","homepage":null,"size":3851,"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":"docker:master","ref":"master","sha":"d03c56129c353a98cbe662417ef059f6627b3eb1","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":28366058,"name":"distribution","full_name":"docker/distribution","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/distribution","description":"The Docker toolset to pack, ship, store, and deliver content","fork":false,"url":"https://api.github.com/repos/docker/distribution","forks_url":"https://api.github.com/repos/docker/distribution/forks","keys_url":"https://api.github.com/repos/docker/distribution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/distribution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/distribution/teams","hooks_url":"https://api.github.com/repos/docker/distribution/hooks","issue_events_url":"https://api.github.com/repos/docker/distribution/issues/events{/number}","events_url":"https://api.github.com/repos/docker/distribution/events","assignees_url":"https://api.github.com/repos/docker/distribution/assignees{/user}","branches_url":"https://api.github.com/repos/docker/distribution/branches{/branch}","tags_url":"https://api.github.com/repos/docker/distribution/tags","blobs_url":"https://api.github.com/repos/docker/distribution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/distribution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/distribution/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/distribution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/distribution/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/distribution/languages","stargazers_url":"https://api.github.com/repos/docker/distribution/stargazers","contributors_url":"https://api.github.com/repos/docker/distribution/contributors","subscribers_url":"https://api.github.com/repos/docker/distribution/subscribers","subscription_url":"https://api.github.com/repos/docker/distribution/subscription","commits_url":"https://api.github.com/repos/docker/distribution/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/distribution/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/distribution/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/distribution/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/distribution/contents/{+path}","compare_url":"https://api.github.com/repos/docker/distribution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/distribution/merges","archive_url":"https://api.github.com/repos/docker/distribution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/distribution/downloads","issues_url":"https://api.github.com/repos/docker/distribution/issues{/number}","pulls_url":"https://api.github.com/repos/docker/distribution/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/distribution/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/distribution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/distribution/labels{/name}","releases_url":"https://api.github.com/repos/docker/distribution/releases{/id}","created_at":"2014-12-22T23:49:26Z","updated_at":"2015-09-28T10:31:45Z","pushed_at":"2015-09-28T12:16:28Z","git_url":"git://github.com/docker/distribution.git","ssh_url":"git@github.com:docker/distribution.git","clone_url":"https://github.com/docker/distribution.git","svn_url":"https://github.com/docker/distribution","homepage":null,"size":14484,"stargazers_count":1095,"watchers_count":1095,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":415,"mirror_url":null,"open_issues_count":138,"forks":415,"open_issues":138,"watchers":1095,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/distribution/pulls/1032"},"html":{"href":"https://github.com/docker/distribution/pull/1032"},"issue":{"href":"https://api.github.com/repos/docker/distribution/issues/1032"},"comments":{"href":"https://api.github.com/repos/docker/distribution/issues/1032/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/distribution/pulls/1032/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/distribution/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/distribution/pulls/1032/commits"},"statuses":{"href":"https://api.github.com/repos/docker/distribution/statuses/a8b53b1d88ec5c3429ec40de2c155ba4c995b86c"}}}}