{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/570","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/570/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/570/events","html_url":"https://github.com/yarnpkg/yarn/issues/570","id":182018936,"number":570,"title":"make `--pure-lockfile` default for `install`","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},"labels":[{"url":"https://api.github.com/repos/yarnpkg/yarn/labels/discussion","name":"discussion","color":"c2e0c6"},{"url":"https://api.github.com/repos/yarnpkg/yarn/labels/enhancement","name":"enhancement","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-10T13:46:52Z","updated_at":"2016-10-17T18:10:22Z","closed_at":null,"body":"**Do you want to request a *feature* or report a *bug*?**\r\n\r\n*feature*\r\n\r\n**What is the current behavior?**\r\n\r\nNot passing `--pure-lockfile` for `install` command confuses me because it modifies the lock file while installing node_modules.\r\nWe agreed on semantics that `add/upgrade/remove` are to change dependencies and `install` is to consistently rebuild node_modules from lockfile.\r\n\r\nConsistency gets lost when lockfile is modified depending on environment (version of yarn currently installed).\r\n\r\n**What is the expected behavior?**\r\n\r\nNot write yarn.lock or package.json when doing `yarn install`.\r\nTo update yarn.lock use `yarn upgrade`\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\n\r\nyarn 0.14"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/254286973","html_url":"https://github.com/yarnpkg/yarn/issues/570#issuecomment-254286973","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/570","id":254286973,"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-10-17T18:10:22Z","updated_at":"2016-10-17T18:10:22Z","body":"I suppose the option could be inveresed\n```\nyarn install --save-lockfile\n```\n\nOn 17 October 2016 at 18:53, James Ide <notifications@github.com> wrote:\n\n> Should there be a way to modify the lockfile without add/remove/upgrade\n> ex: in the scenario when you upgrade Yarn and it uses a new lockfile\n> version?\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/yarnpkg/yarn/issues/570#issuecomment-254282256>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/ACBdWJLpdvqiwcBwqE4KB3x3f4oCn_nVks5q07YYgaJpZM4KSlSw>\n> .\n>\n"}}
{"actor":{"display_login":"bestander"}}