{"action":"closed","number":10914,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/10914","id":29686304,"html_url":"https://github.com/docker/docker/pull/10914","diff_url":"https://github.com/docker/docker/pull/10914.diff","patch_url":"https://github.com/docker/docker/pull/10914.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/10914","number":10914,"state":"closed","locked":false,"title":"Map Commands instead of using them as a slice","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"body":"The most obvious use case is when one wants to make sure as fast\r\nas possible that a command is a valid Dockerfile command.","created_at":"2015-02-20T10:43:52Z","updated_at":"2015-02-20T18:32:04Z","closed_at":"2015-02-20T18:32:04Z","merged_at":"2015-02-20T18:32:04Z","merge_commit_sha":"00be9c52941261e87924cc6df7f83678915dde87","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/10914/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/10914/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments/{number}","comments_url":"https://api.github.com/repos/docker/docker/issues/10914/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/6ecf23861ec7036aa4210fe6d3b7dbfaaedbd6d0","head":{"label":"kargakis:map-commands","ref":"map-commands","sha":"6ecf23861ec7036aa4210fe6d3b7dbfaaedbd6d0","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"repo":{"id":31060167,"name":"docker","full_name":"kargakis/docker","owner":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kargakis/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/kargakis/docker","forks_url":"https://api.github.com/repos/kargakis/docker/forks","keys_url":"https://api.github.com/repos/kargakis/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kargakis/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kargakis/docker/teams","hooks_url":"https://api.github.com/repos/kargakis/docker/hooks","issue_events_url":"https://api.github.com/repos/kargakis/docker/issues/events{/number}","events_url":"https://api.github.com/repos/kargakis/docker/events","assignees_url":"https://api.github.com/repos/kargakis/docker/assignees{/user}","branches_url":"https://api.github.com/repos/kargakis/docker/branches{/branch}","tags_url":"https://api.github.com/repos/kargakis/docker/tags","blobs_url":"https://api.github.com/repos/kargakis/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kargakis/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kargakis/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/kargakis/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kargakis/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/kargakis/docker/languages","stargazers_url":"https://api.github.com/repos/kargakis/docker/stargazers","contributors_url":"https://api.github.com/repos/kargakis/docker/contributors","subscribers_url":"https://api.github.com/repos/kargakis/docker/subscribers","subscription_url":"https://api.github.com/repos/kargakis/docker/subscription","commits_url":"https://api.github.com/repos/kargakis/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/kargakis/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/kargakis/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/kargakis/docker/issues/comments/{number}","contents_url":"https://api.github.com/repos/kargakis/docker/contents/{+path}","compare_url":"https://api.github.com/repos/kargakis/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kargakis/docker/merges","archive_url":"https://api.github.com/repos/kargakis/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kargakis/docker/downloads","issues_url":"https://api.github.com/repos/kargakis/docker/issues{/number}","pulls_url":"https://api.github.com/repos/kargakis/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/kargakis/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/kargakis/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kargakis/docker/labels{/name}","releases_url":"https://api.github.com/repos/kargakis/docker/releases{/id}","created_at":"2015-02-20T10:27:58Z","updated_at":"2015-02-20T10:28:05Z","pushed_at":"2015-02-20T14:56:42Z","git_url":"git://github.com/kargakis/docker.git","ssh_url":"git@github.com:kargakis/docker.git","clone_url":"https://github.com/kargakis/docker.git","svn_url":"https://github.com/kargakis/docker","homepage":"http://www.docker.com","size":41054,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"a78ce5c228b895d8c614d72354a52e324817b9fc","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}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-02-20T18:06:22Z","pushed_at":"2015-02-20T18:32:04Z","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":139974,"stargazers_count":19288,"watchers_count":19288,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3993,"mirror_url":null,"open_issues_count":1070,"forks":3993,"open_issues":1070,"watchers":19288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/10914"},"html":{"href":"https://github.com/docker/docker/pull/10914"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/10914"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/10914/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/10914/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/10914/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/6ecf23861ec7036aa4210fe6d3b7dbfaaedbd6d0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"comments":16,"review_comments":0,"commits":1,"additions":16,"deletions":16,"changed_files":2}}