{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/202","repository_url":"https://api.github.com/repos/fsprojects/Paket","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/202/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/202/events","html_url":"https://github.com/fsprojects/Paket/issues/202","id":44405152,"number":202,"title":"Paket should not overwrite changed content files","user":{"login":"agross","id":16245,"avatar_url":"https://avatars.githubusercontent.com/u/16245?v=3","gravatar_id":"","url":"https://api.github.com/users/agross","html_url":"https://github.com/agross","followers_url":"https://api.github.com/users/agross/followers","following_url":"https://api.github.com/users/agross/following{/other_user}","gists_url":"https://api.github.com/users/agross/gists{/gist_id}","starred_url":"https://api.github.com/users/agross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agross/subscriptions","organizations_url":"https://api.github.com/users/agross/orgs","repos_url":"https://api.github.com/users/agross/repos","events_url":"https://api.github.com/users/agross/events{/privacy}","received_events_url":"https://api.github.com/users/agross/received_events","type":"User","site_admin":false},"labels":[{"id":120459174,"url":"https://api.github.com/repos/fsprojects/Paket/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2014-09-30T07:36:31Z","updated_at":"2016-11-09T23:22:11Z","closed_at":"2015-08-13T13:29:05Z","body":"NuGet [won't restore content files](http://jeffhandley.com/archive/2013/12/09/nuget-package-restore-misconceptions.aspx) because the user is expected to edit them. Or remove a subset of content files from the project. Or some other reason outlined in the post above.\n\nThe reasoning behind it is a bit unclear, especially since it allows you to get your dependencies into an inconsistent state:\n\n``` posh\nPM> Install-Package jQuery -Version 2.1.0\n\n# edit Scripts/jquery-2.1.0.js\n\nPM> Update-Package jQuery\nUpdating 'jQuery' from version '2.1.0' to '2.1.1' in project 'ClassLibrary1'.\nRemoving 'jQuery 2.1.0' from ClassLibrary1.\nSkipping 'Scripts\\jquery-2.1.0.js' because it was modified.\n...\n```\n\nThis will leave you with an inconsistent set of jQuery files: the modified `jquery-2.1.0.js` stays in place, but you get an extra `jquery-2.1.1.js`. All other jQuery 2.1.0 files (minified, map) will be replaced with their jQuery 2.1.1 counterparts.\n\nWhat are our options when we detect modified content files?\n- Rebuild NuGet's behavior, possibly allowing inconsistencies\n- Fail\n- ?\n\nShould do the same and install content just once and then leave them untouched? If we opt to always install content files, this would essentially remove the possibility to have the user modify them.\n"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/259555715","html_url":"https://github.com/fsprojects/Paket/issues/202#issuecomment-259555715","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/202","id":259555715,"user":{"login":"agross","id":16245,"avatar_url":"https://avatars.githubusercontent.com/u/16245?v=3","gravatar_id":"","url":"https://api.github.com/users/agross","html_url":"https://github.com/agross","followers_url":"https://api.github.com/users/agross/followers","following_url":"https://api.github.com/users/agross/following{/other_user}","gists_url":"https://api.github.com/users/agross/gists{/gist_id}","starred_url":"https://api.github.com/users/agross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agross/subscriptions","organizations_url":"https://api.github.com/users/agross/orgs","repos_url":"https://api.github.com/users/agross/repos","events_url":"https://api.github.com/users/agross/events{/privacy}","received_events_url":"https://api.github.com/users/agross/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T23:22:11Z","updated_at":"2016-11-09T23:22:11Z","body":"See the docs directory. It's markdown that is used to create the documentation. "}}
{"actor":{"display_login":"agross"}}