{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/69386077","id":69386077,"diff_hunk":"@@ -299,6 +299,17 @@ __docker_complete_pid() {\n     return ret\n }\n \n+__docker_complete_runtimes() {\n+    [[ $PREFIX = -*  ]] && return 1\n+    integer ret=1\n+\n+\temulate -L zsh\n+    setopt extendedglob\n+    local -a runtimes_opts\n+    runtimes_opts=(${(ps: :)${(f)${${\"$(_call_program commands docker $docker_options info)\"##*$'\\n'Runtimes: }%%$'\\n'^ *}}})\n+\t_describe -t runtimes-opts \"runtimes options\" runtimes_opts && ret=0\n+}","path":"contrib/completion/zsh/_docker","position":13,"original_position":13,"commit_id":"0a3c1d157221f5b79d13979e30d4ef13aa166665","original_commit_id":"0a3c1d157221f5b79d13979e30d4ef13aa166665","user":{"login":"vincentbernat","id":631446,"avatar_url":"https://avatars.githubusercontent.com/u/631446?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentbernat","html_url":"https://github.com/vincentbernat","followers_url":"https://api.github.com/users/vincentbernat/followers","following_url":"https://api.github.com/users/vincentbernat/following{/other_user}","gists_url":"https://api.github.com/users/vincentbernat/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentbernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentbernat/subscriptions","organizations_url":"https://api.github.com/users/vincentbernat/orgs","repos_url":"https://api.github.com/users/vincentbernat/repos","events_url":"https://api.github.com/users/vincentbernat/events{/privacy}","received_events_url":"https://api.github.com/users/vincentbernat/received_events","type":"User","site_admin":false},"body":"Nitpick: it seems there is a mix of tab and spaces","created_at":"2016-07-03T06:05:36Z","updated_at":"2016-07-03T06:05:36Z","html_url":"https://github.com/docker/docker/pull/24276#discussion_r69386077","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/24276","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/69386077"},"html":{"href":"https://github.com/docker/docker/pull/24276#discussion_r69386077"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/24276"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/24276","id":76076760,"html_url":"https://github.com/docker/docker/pull/24276","diff_url":"https://github.com/docker/docker/pull/24276.diff","patch_url":"https://github.com/docker/docker/pull/24276.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/24276","number":24276,"state":"open","locked":false,"title":"Add zsh completion for 'docker daemon --runtimes' and 'docker run --r…","user":{"login":"sdurrheimer","id":1931038,"avatar_url":"https://avatars.githubusercontent.com/u/1931038?v=3","gravatar_id":"","url":"https://api.github.com/users/sdurrheimer","html_url":"https://github.com/sdurrheimer","followers_url":"https://api.github.com/users/sdurrheimer/followers","following_url":"https://api.github.com/users/sdurrheimer/following{/other_user}","gists_url":"https://api.github.com/users/sdurrheimer/gists{/gist_id}","starred_url":"https://api.github.com/users/sdurrheimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdurrheimer/subscriptions","organizations_url":"https://api.github.com/users/sdurrheimer/orgs","repos_url":"https://api.github.com/users/sdurrheimer/repos","events_url":"https://api.github.com/users/sdurrheimer/events{/privacy}","received_events_url":"https://api.github.com/users/sdurrheimer/received_events","type":"User","site_admin":false},"body":"Ref. #22983\r\n\r\n@vincentbernat \r\n\r\nSigned-off-by: Steve Durrheimer <s.durrheimer@gmail.com>","created_at":"2016-07-02T23:21:59Z","updated_at":"2016-07-03T06:05:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2f21107dc1ea2101eba8e822bf392a154d52bc4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/24276/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/24276/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/24276/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/0a3c1d157221f5b79d13979e30d4ef13aa166665","head":{"label":"sdurrheimer:zsh-completion-daemon-add-runtime","ref":"zsh-completion-daemon-add-runtime","sha":"0a3c1d157221f5b79d13979e30d4ef13aa166665","user":{"login":"sdurrheimer","id":1931038,"avatar_url":"https://avatars.githubusercontent.com/u/1931038?v=3","gravatar_id":"","url":"https://api.github.com/users/sdurrheimer","html_url":"https://github.com/sdurrheimer","followers_url":"https://api.github.com/users/sdurrheimer/followers","following_url":"https://api.github.com/users/sdurrheimer/following{/other_user}","gists_url":"https://api.github.com/users/sdurrheimer/gists{/gist_id}","starred_url":"https://api.github.com/users/sdurrheimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdurrheimer/subscriptions","organizations_url":"https://api.github.com/users/sdurrheimer/orgs","repos_url":"https://api.github.com/users/sdurrheimer/repos","events_url":"https://api.github.com/users/sdurrheimer/events{/privacy}","received_events_url":"https://api.github.com/users/sdurrheimer/received_events","type":"User","site_admin":false},"repo":{"id":37806211,"name":"docker","full_name":"sdurrheimer/docker","owner":{"login":"sdurrheimer","id":1931038,"avatar_url":"https://avatars.githubusercontent.com/u/1931038?v=3","gravatar_id":"","url":"https://api.github.com/users/sdurrheimer","html_url":"https://github.com/sdurrheimer","followers_url":"https://api.github.com/users/sdurrheimer/followers","following_url":"https://api.github.com/users/sdurrheimer/following{/other_user}","gists_url":"https://api.github.com/users/sdurrheimer/gists{/gist_id}","starred_url":"https://api.github.com/users/sdurrheimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdurrheimer/subscriptions","organizations_url":"https://api.github.com/users/sdurrheimer/orgs","repos_url":"https://api.github.com/users/sdurrheimer/repos","events_url":"https://api.github.com/users/sdurrheimer/events{/privacy}","received_events_url":"https://api.github.com/users/sdurrheimer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sdurrheimer/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/sdurrheimer/docker","forks_url":"https://api.github.com/repos/sdurrheimer/docker/forks","keys_url":"https://api.github.com/repos/sdurrheimer/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdurrheimer/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdurrheimer/docker/teams","hooks_url":"https://api.github.com/repos/sdurrheimer/docker/hooks","issue_events_url":"https://api.github.com/repos/sdurrheimer/docker/issues/events{/number}","events_url":"https://api.github.com/repos/sdurrheimer/docker/events","assignees_url":"https://api.github.com/repos/sdurrheimer/docker/assignees{/user}","branches_url":"https://api.github.com/repos/sdurrheimer/docker/branches{/branch}","tags_url":"https://api.github.com/repos/sdurrheimer/docker/tags","blobs_url":"https://api.github.com/repos/sdurrheimer/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdurrheimer/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdurrheimer/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdurrheimer/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdurrheimer/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/sdurrheimer/docker/languages","stargazers_url":"https://api.github.com/repos/sdurrheimer/docker/stargazers","contributors_url":"https://api.github.com/repos/sdurrheimer/docker/contributors","subscribers_url":"https://api.github.com/repos/sdurrheimer/docker/subscribers","subscription_url":"https://api.github.com/repos/sdurrheimer/docker/subscription","commits_url":"https://api.github.com/repos/sdurrheimer/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdurrheimer/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdurrheimer/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdurrheimer/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdurrheimer/docker/contents/{+path}","compare_url":"https://api.github.com/repos/sdurrheimer/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdurrheimer/docker/merges","archive_url":"https://api.github.com/repos/sdurrheimer/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdurrheimer/docker/downloads","issues_url":"https://api.github.com/repos/sdurrheimer/docker/issues{/number}","pulls_url":"https://api.github.com/repos/sdurrheimer/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/sdurrheimer/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/sdurrheimer/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdurrheimer/docker/labels{/name}","releases_url":"https://api.github.com/repos/sdurrheimer/docker/releases{/id}","deployments_url":"https://api.github.com/repos/sdurrheimer/docker/deployments","created_at":"2015-06-21T11:17:04Z","updated_at":"2016-01-12T21:17:52Z","pushed_at":"2016-07-02T23:20:26Z","git_url":"git://github.com/sdurrheimer/docker.git","ssh_url":"git@github.com:sdurrheimer/docker.git","clone_url":"https://github.com/sdurrheimer/docker.git","svn_url":"https://github.com/sdurrheimer/docker","homepage":"http://www.docker.com","size":95597,"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":"92766c4b8359b7c3e2d51f301d2bef3253cf4710","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":7691631,"name":"docker","full_name":"docker/docker","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/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","deployments_url":"https://api.github.com/repos/docker/docker/deployments","created_at":"2013-01-18T18:10:57Z","updated_at":"2016-07-03T04:21:59Z","pushed_at":"2016-07-02T23:22:01Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":203672,"stargazers_count":32631,"watchers_count":32631,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9429,"mirror_url":null,"open_issues_count":1920,"forks":9429,"open_issues":1920,"watchers":32631,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/24276"},"html":{"href":"https://github.com/docker/docker/pull/24276"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/24276"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/24276/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/24276/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/24276/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/0a3c1d157221f5b79d13979e30d4ef13aa166665"}}}}
{"actor":{"display_login":"vincentbernat"}}