{"action":"closed","number":6792,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6792","id":33213501,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6792","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6792.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6792.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6792","number":6792,"state":"closed","locked":false,"title":"bash_completions: Generic function for --filename arguments","user":{"login":"eparis","id":8093535,"avatar_url":"https://avatars.githubusercontent.com/u/8093535?v=3","gravatar_id":"","url":"https://api.github.com/users/eparis","html_url":"https://github.com/eparis","followers_url":"https://api.github.com/users/eparis/followers","following_url":"https://api.github.com/users/eparis/following{/other_user}","gists_url":"https://api.github.com/users/eparis/gists{/gist_id}","starred_url":"https://api.github.com/users/eparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eparis/subscriptions","organizations_url":"https://api.github.com/users/eparis/orgs","repos_url":"https://api.github.com/users/eparis/repos","events_url":"https://api.github.com/users/eparis/events{/privacy}","received_events_url":"https://api.github.com/users/eparis/received_events","type":"User","site_admin":false},"body":"This generic function adds --filename= arguments to commands, and does\r\nthe magic so they get bash completions to find json, yaml, or yml files.","created_at":"2015-04-13T23:25:28Z","updated_at":"2015-04-14T23:04:19Z","closed_at":"2015-04-14T23:04:19Z","merged_at":"2015-04-14T23:04:19Z","merge_commit_sha":"31fc5bae627630dae5ace04a254ee4d6c6a90fb0","assignee":{"login":"dchen1107","id":7740897,"avatar_url":"https://avatars.githubusercontent.com/u/7740897?v=3","gravatar_id":"","url":"https://api.github.com/users/dchen1107","html_url":"https://github.com/dchen1107","followers_url":"https://api.github.com/users/dchen1107/followers","following_url":"https://api.github.com/users/dchen1107/following{/other_user}","gists_url":"https://api.github.com/users/dchen1107/gists{/gist_id}","starred_url":"https://api.github.com/users/dchen1107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchen1107/subscriptions","organizations_url":"https://api.github.com/users/dchen1107/orgs","repos_url":"https://api.github.com/users/dchen1107/repos","events_url":"https://api.github.com/users/dchen1107/events{/privacy}","received_events_url":"https://api.github.com/users/dchen1107/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6792/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6792/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6792/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/de3864a1c26fcb5e46f8b12a68b7780c869581cf","head":{"label":"eparis:bash-3-kubectl-filename-json-yaml","ref":"bash-3-kubectl-filename-json-yaml","sha":"de3864a1c26fcb5e46f8b12a68b7780c869581cf","user":{"login":"eparis","id":8093535,"avatar_url":"https://avatars.githubusercontent.com/u/8093535?v=3","gravatar_id":"","url":"https://api.github.com/users/eparis","html_url":"https://github.com/eparis","followers_url":"https://api.github.com/users/eparis/followers","following_url":"https://api.github.com/users/eparis/following{/other_user}","gists_url":"https://api.github.com/users/eparis/gists{/gist_id}","starred_url":"https://api.github.com/users/eparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eparis/subscriptions","organizations_url":"https://api.github.com/users/eparis/orgs","repos_url":"https://api.github.com/users/eparis/repos","events_url":"https://api.github.com/users/eparis/events{/privacy}","received_events_url":"https://api.github.com/users/eparis/received_events","type":"User","site_admin":false},"repo":{"id":21580815,"name":"kubernetes","full_name":"eparis/kubernetes","owner":{"login":"eparis","id":8093535,"avatar_url":"https://avatars.githubusercontent.com/u/8093535?v=3","gravatar_id":"","url":"https://api.github.com/users/eparis","html_url":"https://github.com/eparis","followers_url":"https://api.github.com/users/eparis/followers","following_url":"https://api.github.com/users/eparis/following{/other_user}","gists_url":"https://api.github.com/users/eparis/gists{/gist_id}","starred_url":"https://api.github.com/users/eparis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eparis/subscriptions","organizations_url":"https://api.github.com/users/eparis/orgs","repos_url":"https://api.github.com/users/eparis/repos","events_url":"https://api.github.com/users/eparis/events{/privacy}","received_events_url":"https://api.github.com/users/eparis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eparis/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/eparis/kubernetes","forks_url":"https://api.github.com/repos/eparis/kubernetes/forks","keys_url":"https://api.github.com/repos/eparis/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eparis/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eparis/kubernetes/teams","hooks_url":"https://api.github.com/repos/eparis/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/eparis/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/eparis/kubernetes/events","assignees_url":"https://api.github.com/repos/eparis/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/eparis/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/eparis/kubernetes/tags","blobs_url":"https://api.github.com/repos/eparis/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eparis/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eparis/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/eparis/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eparis/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/eparis/kubernetes/languages","stargazers_url":"https://api.github.com/repos/eparis/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/eparis/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/eparis/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/eparis/kubernetes/subscription","commits_url":"https://api.github.com/repos/eparis/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/eparis/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/eparis/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/eparis/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/eparis/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/eparis/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eparis/kubernetes/merges","archive_url":"https://api.github.com/repos/eparis/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eparis/kubernetes/downloads","issues_url":"https://api.github.com/repos/eparis/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/eparis/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/eparis/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/eparis/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eparis/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/eparis/kubernetes/releases{/id}","created_at":"2014-07-07T17:57:31Z","updated_at":"2015-04-14T16:25:41Z","pushed_at":"2015-04-14T22:52:04Z","git_url":"git://github.com/eparis/kubernetes.git","ssh_url":"git@github.com:eparis/kubernetes.git","clone_url":"https://github.com/eparis/kubernetes.git","svn_url":"https://github.com/eparis/kubernetes","homepage":null,"size":42572,"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":"GoogleCloudPlatform:master","ref":"master","sha":"5f1a0bc88013ded0b2074d15ab74a8da9be3a715","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"GoogleCloudPlatform/kubernetes","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-04-14T23:01:50Z","pushed_at":"2015-04-14T23:04:19Z","git_url":"git://github.com/GoogleCloudPlatform/kubernetes.git","ssh_url":"git@github.com:GoogleCloudPlatform/kubernetes.git","clone_url":"https://github.com/GoogleCloudPlatform/kubernetes.git","svn_url":"https://github.com/GoogleCloudPlatform/kubernetes","homepage":"http://kubernetes.io","size":148578,"stargazers_count":7097,"watchers_count":7097,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1384,"mirror_url":null,"open_issues_count":902,"forks":1384,"open_issues":902,"watchers":7097,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6792"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6792"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6792"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6792/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6792/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6792/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/de3864a1c26fcb5e46f8b12a68b7780c869581cf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dchen1107","id":7740897,"avatar_url":"https://avatars.githubusercontent.com/u/7740897?v=3","gravatar_id":"","url":"https://api.github.com/users/dchen1107","html_url":"https://github.com/dchen1107","followers_url":"https://api.github.com/users/dchen1107/followers","following_url":"https://api.github.com/users/dchen1107/following{/other_user}","gists_url":"https://api.github.com/users/dchen1107/gists{/gist_id}","starred_url":"https://api.github.com/users/dchen1107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchen1107/subscriptions","organizations_url":"https://api.github.com/users/dchen1107/orgs","repos_url":"https://api.github.com/users/dchen1107/repos","events_url":"https://api.github.com/users/dchen1107/events{/privacy}","received_events_url":"https://api.github.com/users/dchen1107/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":70,"deletions":4,"changed_files":6}}