{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1365","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1365/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1365/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1365/events","html_url":"https://github.com/NuGet/Home/issues/1365","id":105709499,"number":1365,"title":"NuGet pack should not fail for release packages with prerelease development dependency","user":{"login":"lostmsu","id":239520,"avatar_url":"https://avatars.githubusercontent.com/u/239520?v=3","gravatar_id":"","url":"https://api.github.com/users/lostmsu","html_url":"https://github.com/lostmsu","followers_url":"https://api.github.com/users/lostmsu/followers","following_url":"https://api.github.com/users/lostmsu/following{/other_user}","gists_url":"https://api.github.com/users/lostmsu/gists{/gist_id}","starred_url":"https://api.github.com/users/lostmsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lostmsu/subscriptions","organizations_url":"https://api.github.com/users/lostmsu/orgs","repos_url":"https://api.github.com/users/lostmsu/repos","events_url":"https://api.github.com/users/lostmsu/events{/privacy}","received_events_url":"https://api.github.com/users/lostmsu/received_events","type":"User","site_admin":false},"labels":[{"id":180970997,"url":"https://api.github.com/repos/NuGet/Home/labels/Type:DCR","name":"Type:DCR","color":"207de5","default":false},{"id":280103869,"url":"https://api.github.com/repos/NuGet/Home/labels/Up%20for%20Grabs","name":"Up for Grabs","color":"682A7B","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/34","html_url":"https://github.com/NuGet/Home/milestones/Future-2","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/34/labels","id":1711098,"number":34,"title":"Future-2","description":"","creator":{"login":"harikmenon","id":10966488,"avatar_url":"https://avatars.githubusercontent.com/u/10966488?v=3","gravatar_id":"","url":"https://api.github.com/users/harikmenon","html_url":"https://github.com/harikmenon","followers_url":"https://api.github.com/users/harikmenon/followers","following_url":"https://api.github.com/users/harikmenon/following{/other_user}","gists_url":"https://api.github.com/users/harikmenon/gists{/gist_id}","starred_url":"https://api.github.com/users/harikmenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harikmenon/subscriptions","organizations_url":"https://api.github.com/users/harikmenon/orgs","repos_url":"https://api.github.com/users/harikmenon/repos","events_url":"https://api.github.com/users/harikmenon/events{/privacy}","received_events_url":"https://api.github.com/users/harikmenon/received_events","type":"User","site_admin":false},"open_issues":256,"closed_issues":29,"state":"open","created_at":"2016-04-16T00:50:39Z","updated_at":"2016-10-29T03:26:07Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-09-10T00:32:03Z","updated_at":"2016-11-01T12:18:04Z","closed_at":null,"body":"Currently, when release package can not have prerelease development dependency. For example, that prevents us from using StyleCop.Analyzers package currently in beta in any release package development,\n\nInternal alias: vimilova\n"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/257552641","html_url":"https://github.com/NuGet/Home/issues/1365#issuecomment-257552641","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1365","id":257552641,"user":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T12:18:04Z","updated_at":"2016-11-01T12:18:04Z","body":"1. This bug is about the ability to pack a release package with a pre-release dependency, not about resolution.\r\n2. I gave you a method that is not requiring editing of dependencies\r\n3. Changing resolution rules IS a breaking change, and we are not going to consider taking one here.\r\n4. We can clarify the versioning order in docs, it will happen shortly.\r\n5. There are numerous ways to automate creating the correct dependencies, and they should change if your dependencies change. In this case it will mean the nuspec in the end package should change between pre-release and release, it could change as you rev your pre-release depenednecies (more on that a later), you could keep it constant by requiring a static 1.0.0-alpha or 1.0.0-beta as a minimum as it will match the range.\r\n6. Back to revving the min Version - it's a choice you need to make. In my projects I believe in revving it and in same cases making it strict to avoid collisions from refactoring and other breaking changes that happen a lot more often during pre-release. The policy here is something you should determine because you own the development process of these depenednecies.\r\n"}}
{"actor":{"display_login":"yishaigalatzer"}}