{"action":"created","issue":{"url":"https://api.github.com/repos/github/git-lfs/issues/715","labels_url":"https://api.github.com/repos/github/git-lfs/issues/715/labels{/name}","comments_url":"https://api.github.com/repos/github/git-lfs/issues/715/comments","events_url":"https://api.github.com/repos/github/git-lfs/issues/715/events","html_url":"https://github.com/github/git-lfs/pull/715","id":110139804,"number":715,"title":"Add netrc support for LFS API requests","user":{"login":"rubyist","id":143,"avatar_url":"https://avatars.githubusercontent.com/u/143?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyist","html_url":"https://github.com/rubyist","followers_url":"https://api.github.com/users/rubyist/followers","following_url":"https://api.github.com/users/rubyist/following{/other_user}","gists_url":"https://api.github.com/users/rubyist/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyist/subscriptions","organizations_url":"https://api.github.com/users/rubyist/orgs","repos_url":"https://api.github.com/users/rubyist/repos","events_url":"https://api.github.com/users/rubyist/events{/privacy}","received_events_url":"https://api.github.com/users/rubyist/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/github/git-lfs/labels/wip","name":"wip","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-07T02:15:55Z","updated_at":"2015-10-21T12:06:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/github/git-lfs/pulls/715","html_url":"https://github.com/github/git-lfs/pull/715","diff_url":"https://github.com/github/git-lfs/pull/715.diff","patch_url":"https://github.com/github/git-lfs/pull/715.patch"},"body":"This PR adds support for using netrc for LFS API requests. The priority becomes:\r\n\r\n1. Check the LFS URL for authentication. Ex: http://user:pass@example.com\r\n1. Check netrc for authentication.\r\n1. Check the Git remote URL for authentication IF it's the same scheme and host of the LFS URL.\r\n1. Ask 'git credential' to fill in the password from one of the above URLs.\r\n\r\nTODO:\r\n\r\n- [x] Add netrc support\r\n- [x] Add automated tests\r\n- [ ] What happens on Windows? Does netrc work there?\r\n\r\n//cc #705 "},"comment":{"url":"https://api.github.com/repos/github/git-lfs/issues/comments/149870293","html_url":"https://github.com/github/git-lfs/pull/715#issuecomment-149870293","issue_url":"https://api.github.com/repos/github/git-lfs/issues/715","id":149870293,"user":{"login":"Mr-Mak-Hacking","id":15218047,"avatar_url":"https://avatars.githubusercontent.com/u/15218047?v=3","gravatar_id":"","url":"https://api.github.com/users/Mr-Mak-Hacking","html_url":"https://github.com/Mr-Mak-Hacking","followers_url":"https://api.github.com/users/Mr-Mak-Hacking/followers","following_url":"https://api.github.com/users/Mr-Mak-Hacking/following{/other_user}","gists_url":"https://api.github.com/users/Mr-Mak-Hacking/gists{/gist_id}","starred_url":"https://api.github.com/users/Mr-Mak-Hacking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mr-Mak-Hacking/subscriptions","organizations_url":"https://api.github.com/users/Mr-Mak-Hacking/orgs","repos_url":"https://api.github.com/users/Mr-Mak-Hacking/repos","events_url":"https://api.github.com/users/Mr-Mak-Hacking/events{/privacy}","received_events_url":"https://api.github.com/users/Mr-Mak-Hacking/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T12:06:58Z","updated_at":"2015-10-21T12:06:58Z","body":"![img_20151021_011523](https://cloud.githubusercontent.com/assets/15218047/10636010/df35dc56-7826-11e5-9211-ed5b970b8a28.jpg)\r\n"}}