{"action":"opened","number":17590,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17590","id":51412391,"html_url":"https://github.com/kubernetes/kubernetes/pull/17590","diff_url":"https://github.com/kubernetes/kubernetes/pull/17590.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/17590.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17590","number":17590,"state":"open","locked":false,"title":"Use correct home directory on Windows","user":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"body":"As of now the `kubectl` config mechanism that saves/loads `~/.kube/config` is broken on Windows, saving the config file in the *current* directory instead of the user's *home* dir. This happens because most Windows don't respect the `HOME` environment variable. \r\n\r\nThis PR changes the config file loading mechanism to use the recommended way to detect the user home on Windows (`HOMEDRIVE`+`HOMEPATH` or `USERPROFILE`), and adds a migration for users that might be currently relying on existing config files.","created_at":"2015-11-20T21:45:52Z","updated_at":"2015-11-20T21:45:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17590/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17590/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17590/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/0ad46dee7dff052efa56b4326cba05859071946c","head":{"label":"fabianofranz:cli_homedir_on_windows","ref":"cli_homedir_on_windows","sha":"0ad46dee7dff052efa56b4326cba05859071946c","user":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"repo":{"id":26227498,"name":"kubernetes","full_name":"fabianofranz/kubernetes","owner":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabianofranz/kubernetes","description":"Fork for managing OpenShift's dependencies on Kubernetes","fork":true,"url":"https://api.github.com/repos/fabianofranz/kubernetes","forks_url":"https://api.github.com/repos/fabianofranz/kubernetes/forks","keys_url":"https://api.github.com/repos/fabianofranz/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabianofranz/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabianofranz/kubernetes/teams","hooks_url":"https://api.github.com/repos/fabianofranz/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/fabianofranz/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/fabianofranz/kubernetes/events","assignees_url":"https://api.github.com/repos/fabianofranz/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/fabianofranz/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/fabianofranz/kubernetes/tags","blobs_url":"https://api.github.com/repos/fabianofranz/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabianofranz/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabianofranz/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabianofranz/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabianofranz/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/fabianofranz/kubernetes/languages","stargazers_url":"https://api.github.com/repos/fabianofranz/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/fabianofranz/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/fabianofranz/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/fabianofranz/kubernetes/subscription","commits_url":"https://api.github.com/repos/fabianofranz/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabianofranz/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabianofranz/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabianofranz/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabianofranz/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/fabianofranz/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabianofranz/kubernetes/merges","archive_url":"https://api.github.com/repos/fabianofranz/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabianofranz/kubernetes/downloads","issues_url":"https://api.github.com/repos/fabianofranz/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/fabianofranz/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/fabianofranz/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/fabianofranz/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabianofranz/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/fabianofranz/kubernetes/releases{/id}","created_at":"2014-11-05T16:05:58Z","updated_at":"2015-02-04T20:10:09Z","pushed_at":"2015-11-20T21:40:00Z","git_url":"git://github.com/fabianofranz/kubernetes.git","ssh_url":"git@github.com:fabianofranz/kubernetes.git","clone_url":"https://github.com/fabianofranz/kubernetes.git","svn_url":"https://github.com/fabianofranz/kubernetes","homepage":"https://github.com/openshift/kubernetes/wiki","size":133457,"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":"kubernetes:master","ref":"master","sha":"a68247bbf7b0678487cbea7277f53183ca00ed54","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-11-20T20:22:41Z","pushed_at":"2015-11-20T21:45:53Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":289148,"stargazers_count":11360,"watchers_count":11360,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3012,"mirror_url":null,"open_issues_count":2395,"forks":3012,"open_issues":2395,"watchers":11360,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17590"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/17590"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/17590"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/17590/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17590/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17590/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/0ad46dee7dff052efa56b4326cba05859071946c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":32,"deletions":7,"changed_files":1}}