{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/dnx/pulls/comments/28650628","id":28650628,"diff_hunk":"@@ -54,16 +58,24 @@ internal static class NuGetPackageUtils\n                         ExtractPackage(targetPath, nupkgStream);\n                     }\n \n+                    // DNU REFACTORING TODO: delete the hacky FixNuSpecIdCasing() and uncomment logic below after we\n+                    // have implementation of NuSpecFormatter.Read()\n                     // Fixup the casing of the nuspec on disk to match what we expect\n                     var nuspecFile = Directory.EnumerateFiles(targetPath, \"*\" + NuGet.Constants.ManifestExtension).Single();\n+                    FixNuSpecIdCasing(nuspecFile, targetNuspec, library.Name);\n \n-                    if (!string.Equals(nuspecFile, targetNuspec, StringComparison.Ordinal))\n+                    /*var actualNuSpecName = Path.GetFileName(nuspecFile);","path":"src/Microsoft.Framework.PackageManager/Utils/NuGetPackageUtils.cs","position":33,"original_position":33,"commit_id":"3161dbfddaf87680c5693a67809102296f7fce61","original_commit_id":"3161dbfddaf87680c5693a67809102296f7fce61","user":{"login":"ChengTian","id":1383883,"avatar_url":"https://avatars.githubusercontent.com/u/1383883?v=3","gravatar_id":"","url":"https://api.github.com/users/ChengTian","html_url":"https://github.com/ChengTian","followers_url":"https://api.github.com/users/ChengTian/followers","following_url":"https://api.github.com/users/ChengTian/following{/other_user}","gists_url":"https://api.github.com/users/ChengTian/gists{/gist_id}","starred_url":"https://api.github.com/users/ChengTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChengTian/subscriptions","organizations_url":"https://api.github.com/users/ChengTian/orgs","repos_url":"https://api.github.com/users/ChengTian/repos","events_url":"https://api.github.com/users/ChengTian/events{/privacy}","received_events_url":"https://api.github.com/users/ChengTian/received_events","type":"User","site_admin":false},"body":"Not dead code. See explanation in `DNU REFACTORING TODO` above","created_at":"2015-04-19T07:45:04Z","updated_at":"2015-04-19T07:45:04Z","html_url":"https://github.com/aspnet/dnx/pull/1662#discussion_r28650628","pull_request_url":"https://api.github.com/repos/aspnet/dnx/pulls/1662","_links":{"self":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/comments/28650628"},"html":{"href":"https://github.com/aspnet/dnx/pull/1662#discussion_r28650628"},"pull_request":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/1662"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/dnx/pulls/1662","id":33405857,"html_url":"https://github.com/aspnet/dnx/pull/1662","diff_url":"https://github.com/aspnet/dnx/pull/1662.diff","patch_url":"https://github.com/aspnet/dnx/pull/1662.patch","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/1662","number":1662,"state":"open","locked":false,"title":"dnu restore refactoring","user":{"login":"ChengTian","id":1383883,"avatar_url":"https://avatars.githubusercontent.com/u/1383883?v=3","gravatar_id":"","url":"https://api.github.com/users/ChengTian","html_url":"https://github.com/ChengTian","followers_url":"https://api.github.com/users/ChengTian/followers","following_url":"https://api.github.com/users/ChengTian/following{/other_user}","gists_url":"https://api.github.com/users/ChengTian/gists{/gist_id}","starred_url":"https://api.github.com/users/ChengTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChengTian/subscriptions","organizations_url":"https://api.github.com/users/ChengTian/orgs","repos_url":"https://api.github.com/users/ChengTian/repos","events_url":"https://api.github.com/users/ChengTian/events{/privacy}","received_events_url":"https://api.github.com/users/ChengTian/received_events","type":"User","site_admin":false},"body":"- Pull in submodules/NuGet.Configuration\r\n- Update submodules/NuGet.Packaging\r\n- Use NuGet core libs in dnu restore\r\n\r\nparent https://github.com/aspnet/dnx/issues/1623\r\n\r\n@davidfowl @anurse ","created_at":"2015-04-15T23:16:14Z","updated_at":"2015-04-19T07:45:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5aab01deebbe11709423ebd6b3ee97cbfd32ed26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/dnx/pulls/1662/commits","review_comments_url":"https://api.github.com/repos/aspnet/dnx/pulls/1662/comments","review_comment_url":"https://api.github.com/repos/aspnet/dnx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/1662/comments","statuses_url":"https://api.github.com/repos/aspnet/dnx/statuses/3161dbfddaf87680c5693a67809102296f7fce61","head":{"label":"aspnet:wei/dnu-refactoring-new","ref":"wei/dnu-refactoring-new","sha":"3161dbfddaf87680c5693a67809102296f7fce61","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":14225208,"name":"dnx","full_name":"aspnet/dnx","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/dnx","description":"The DNX (a .NET Execution Environment) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.","fork":false,"url":"https://api.github.com/repos/aspnet/dnx","forks_url":"https://api.github.com/repos/aspnet/dnx/forks","keys_url":"https://api.github.com/repos/aspnet/dnx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/dnx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/dnx/teams","hooks_url":"https://api.github.com/repos/aspnet/dnx/hooks","issue_events_url":"https://api.github.com/repos/aspnet/dnx/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/dnx/events","assignees_url":"https://api.github.com/repos/aspnet/dnx/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/dnx/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/dnx/tags","blobs_url":"https://api.github.com/repos/aspnet/dnx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/dnx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/dnx/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/dnx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/dnx/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/dnx/languages","stargazers_url":"https://api.github.com/repos/aspnet/dnx/stargazers","contributors_url":"https://api.github.com/repos/aspnet/dnx/contributors","subscribers_url":"https://api.github.com/repos/aspnet/dnx/subscribers","subscription_url":"https://api.github.com/repos/aspnet/dnx/subscription","commits_url":"https://api.github.com/repos/aspnet/dnx/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/dnx/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/dnx/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/dnx/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/dnx/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/dnx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/dnx/merges","archive_url":"https://api.github.com/repos/aspnet/dnx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/dnx/downloads","issues_url":"https://api.github.com/repos/aspnet/dnx/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/dnx/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/dnx/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/dnx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/dnx/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/dnx/releases{/id}","created_at":"2013-11-08T06:01:29Z","updated_at":"2015-04-19T02:18:53Z","pushed_at":"2015-04-19T07:06:52Z","git_url":"git://github.com/aspnet/dnx.git","ssh_url":"git@github.com:aspnet/dnx.git","clone_url":"https://github.com/aspnet/dnx.git","svn_url":"https://github.com/aspnet/dnx","homepage":"","size":43523,"stargazers_count":588,"watchers_count":588,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":137,"mirror_url":null,"open_issues_count":270,"forks":137,"open_issues":270,"watchers":588,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"54cd5b3b7ac510b84371604679e3dbb94ababbeb","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":14225208,"name":"dnx","full_name":"aspnet/dnx","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/dnx","description":"The DNX (a .NET Execution Environment) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.","fork":false,"url":"https://api.github.com/repos/aspnet/dnx","forks_url":"https://api.github.com/repos/aspnet/dnx/forks","keys_url":"https://api.github.com/repos/aspnet/dnx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/dnx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/dnx/teams","hooks_url":"https://api.github.com/repos/aspnet/dnx/hooks","issue_events_url":"https://api.github.com/repos/aspnet/dnx/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/dnx/events","assignees_url":"https://api.github.com/repos/aspnet/dnx/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/dnx/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/dnx/tags","blobs_url":"https://api.github.com/repos/aspnet/dnx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/dnx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/dnx/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/dnx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/dnx/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/dnx/languages","stargazers_url":"https://api.github.com/repos/aspnet/dnx/stargazers","contributors_url":"https://api.github.com/repos/aspnet/dnx/contributors","subscribers_url":"https://api.github.com/repos/aspnet/dnx/subscribers","subscription_url":"https://api.github.com/repos/aspnet/dnx/subscription","commits_url":"https://api.github.com/repos/aspnet/dnx/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/dnx/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/dnx/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/dnx/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/dnx/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/dnx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/dnx/merges","archive_url":"https://api.github.com/repos/aspnet/dnx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/dnx/downloads","issues_url":"https://api.github.com/repos/aspnet/dnx/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/dnx/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/dnx/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/dnx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/dnx/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/dnx/releases{/id}","created_at":"2013-11-08T06:01:29Z","updated_at":"2015-04-19T02:18:53Z","pushed_at":"2015-04-19T07:06:52Z","git_url":"git://github.com/aspnet/dnx.git","ssh_url":"git@github.com:aspnet/dnx.git","clone_url":"https://github.com/aspnet/dnx.git","svn_url":"https://github.com/aspnet/dnx","homepage":"","size":43523,"stargazers_count":588,"watchers_count":588,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":137,"mirror_url":null,"open_issues_count":270,"forks":137,"open_issues":270,"watchers":588,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/1662"},"html":{"href":"https://github.com/aspnet/dnx/pull/1662"},"issue":{"href":"https://api.github.com/repos/aspnet/dnx/issues/1662"},"comments":{"href":"https://api.github.com/repos/aspnet/dnx/issues/1662/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/1662/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/1662/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/dnx/statuses/3161dbfddaf87680c5693a67809102296f7fce61"}}}}