{"action":"closed","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/2882","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/2882/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/2882/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/2882/events","html_url":"https://github.com/NuGet/Home/issues/2882","id":158073076,"number":2882,"title":"Use casing from the package id when building project.lock.json","user":{"login":"javiercn","id":6995051,"avatar_url":"https://avatars.githubusercontent.com/u/6995051?v=3","gravatar_id":"","url":"https://api.github.com/users/javiercn","html_url":"https://github.com/javiercn","followers_url":"https://api.github.com/users/javiercn/followers","following_url":"https://api.github.com/users/javiercn/following{/other_user}","gists_url":"https://api.github.com/users/javiercn/gists{/gist_id}","starred_url":"https://api.github.com/users/javiercn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiercn/subscriptions","organizations_url":"https://api.github.com/users/javiercn/orgs","repos_url":"https://api.github.com/users/javiercn/repos","events_url":"https://api.github.com/users/javiercn/events{/privacy}","received_events_url":"https://api.github.com/users/javiercn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-06-02T07:07:37Z","updated_at":"2016-06-06T23:11:14Z","closed_at":"2016-06-06T23:11:14Z","body":"When a project.lock.json gets generated, the package identifiers use the casing defined in project.json. For example Microsoft.ASPNETCORE.Mvc. This causes problems through all our stack as every component, like the CLI or similar, needs to handle the ids in a case insensitive way.\r\n\r\nWhile I understand that Nuget package ids are case insensitive and that every component should handle these ids in a case insensitive manner, it would be nice if the casing from the package metadata is used across generated files like project.json.\r\n\r\nThe motivation for this change is that it will limit the impact/surface of other bugs in the platform. We've already fixed one bug on MVC related to case sensitivity and another bug on the CLI where a check was being done in a case sensitive way.\r\n\r\nMaking package ids case sensitive is a non goal of this bug, it's all about limiting the occurrence of case sensitivity bugs by using the casing defined on the package instead of the casing defined by the user.\r\n\r\nFor example, if a user writes microsoft.aspnetcore.mvc in their project.json, the generated project.json file will contain Microsoft.AspNetCore.Mvc\r\n"}}
{"actor":{"display_login":"joelverhagen"}}