{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/1405","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1405/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1405/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1405/events","html_url":"https://github.com/yarnpkg/yarn/pull/1405","id":184887391,"number":1405,"title":"Infer EOLs from existing file or use OS EOL","user":{"login":"iredchuk","id":2714614,"avatar_url":"https://avatars.githubusercontent.com/u/2714614?v=3","gravatar_id":"","url":"https://api.github.com/users/iredchuk","html_url":"https://github.com/iredchuk","followers_url":"https://api.github.com/users/iredchuk/followers","following_url":"https://api.github.com/users/iredchuk/following{/other_user}","gists_url":"https://api.github.com/users/iredchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/iredchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iredchuk/subscriptions","organizations_url":"https://api.github.com/users/iredchuk/orgs","repos_url":"https://api.github.com/users/iredchuk/repos","events_url":"https://api.github.com/users/iredchuk/events{/privacy}","received_events_url":"https://api.github.com/users/iredchuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-24T16:17:18Z","updated_at":"2016-11-17T10:20:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yarnpkg/yarn/pulls/1405","html_url":"https://github.com/yarnpkg/yarn/pull/1405","diff_url":"https://github.com/yarnpkg/yarn/pull/1405.diff","patch_url":"https://github.com/yarnpkg/yarn/pull/1405.patch"},"body":"<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory. -->\n\n**Summary**\n\nYarn uses UNIX line endings on all systems when writing lock file. We want to solve this problem as described in  #1061: infer line endings from the existing file, and if it does not exist, use the system default.\n\n**Test plan**\n\n<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->\n\nOn a UNIX system, in an empty directory:\n$ yarn add <some_package>\n$ cat -e yarn.lock\nYou should only see LF line endings.\n$ unix2dos yarn.lock\n$ yarn add <some_other_package>\n$ cat -e yarn.lock\nYou should only see CRLF line endings.\n\nOn a Windows system, in an empty directory:\n$ yarn add <some_package>\n$ cat.exe -e yarn.lock\nYou should only see CRLF line endings.\n$ dos2unix.exe yarn.lock\n$ yarn add <some_other_package>\n$ cat -e yarn.lock\nYou should only see LF line endings.\n"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/261209513","html_url":"https://github.com/yarnpkg/yarn/pull/1405#issuecomment-261209513","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1405","id":261209513,"user":{"login":"bestander","id":2121048,"avatar_url":"https://avatars.githubusercontent.com/u/2121048?v=3","gravatar_id":"","url":"https://api.github.com/users/bestander","html_url":"https://github.com/bestander","followers_url":"https://api.github.com/users/bestander/followers","following_url":"https://api.github.com/users/bestander/following{/other_user}","gists_url":"https://api.github.com/users/bestander/gists{/gist_id}","starred_url":"https://api.github.com/users/bestander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestander/subscriptions","organizations_url":"https://api.github.com/users/bestander/orgs","repos_url":"https://api.github.com/users/bestander/repos","events_url":"https://api.github.com/users/bestander/events{/privacy}","received_events_url":"https://api.github.com/users/bestander/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T10:20:55Z","updated_at":"2016-11-17T10:20:55Z","body":"Commits still look quite broken in the PR.\r\nThey repeat recently merged ones"}}
{"actor":{"display_login":"bestander"}}