{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/16345","labels_url":"https://api.github.com/repos/docker/docker/issues/16345/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/16345/comments","events_url":"https://api.github.com/repos/docker/docker/issues/16345/events","html_url":"https://github.com/docker/docker/pull/16345","id":106810952,"number":16345,"title":"[Fix 16326] Bash completion syntax error on OSX","user":{"login":"albers","id":2901725,"avatar_url":"https://avatars.githubusercontent.com/u/2901725?v=3","gravatar_id":"","url":"https://api.github.com/users/albers","html_url":"https://github.com/albers","followers_url":"https://api.github.com/users/albers/followers","following_url":"https://api.github.com/users/albers/following{/other_user}","gists_url":"https://api.github.com/users/albers/gists{/gist_id}","starred_url":"https://api.github.com/users/albers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albers/subscriptions","organizations_url":"https://api.github.com/users/albers/orgs","repos_url":"https://api.github.com/users/albers/repos","events_url":"https://api.github.com/users/albers/events{/privacy}","received_events_url":"https://api.github.com/users/albers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-16T16:31:48Z","updated_at":"2015-09-16T16:37:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/16345","html_url":"https://github.com/docker/docker/pull/16345","diff_url":"https://github.com/docker/docker/pull/16345.diff","patch_url":"https://github.com/docker/docker/pull/16345.patch"},"body":"ref: #16326\r\nOn systems where the extglob shell option is not set by default, bash completion would issue an error when sourcing the Docker completion file, see #16326.\r\nThe code dealing with this condition (in `_docker` function) was insufficient.\r\n\r\nI verified the script in the `albers/bash-completion-mac` image with and without the extglob option set."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/140797069","html_url":"https://github.com/docker/docker/pull/16345#issuecomment-140797069","issue_url":"https://api.github.com/repos/docker/docker/issues/16345","id":140797069,"user":{"login":"LK4D4","id":101445,"avatar_url":"https://avatars.githubusercontent.com/u/101445?v=3","gravatar_id":"","url":"https://api.github.com/users/LK4D4","html_url":"https://github.com/LK4D4","followers_url":"https://api.github.com/users/LK4D4/followers","following_url":"https://api.github.com/users/LK4D4/following{/other_user}","gists_url":"https://api.github.com/users/LK4D4/gists{/gist_id}","starred_url":"https://api.github.com/users/LK4D4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LK4D4/subscriptions","organizations_url":"https://api.github.com/users/LK4D4/orgs","repos_url":"https://api.github.com/users/LK4D4/repos","events_url":"https://api.github.com/users/LK4D4/events{/privacy}","received_events_url":"https://api.github.com/users/LK4D4/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T16:37:50Z","updated_at":"2015-09-16T16:37:50Z","body":"ping @tianon @jfrazelle "}}