{"action":"created","comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments/54811379","id":54811379,"diff_hunk":"@@ -0,0 +1,268 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.IO;\n+using System.Linq;\n+using System.Threading.Tasks;\n+using NuGet.Configuration;\n+using NuGet.ProjectModel;\n+using NuGet.Test.Utility;\n+using Xunit;\n+\n+namespace NuGet.Commands.Test\n+{\n+    public class RestoreTargetsTests\n+    {\n+        [Fact]\n+        public async Task RestoreTargets_RestoreWithNoRuntimes()\n+        {\n+            // Arrange\n+            var sources = new List<PackageSource>();\n+\n+            var project1Json = @\"\n+            {\n+              \"\"version\"\": \"\"1.0.0\"\",\n+              \"\"description\"\": \"\"\"\",\n+              \"\"authors\"\": [ \"\"author\"\" ],\n+              \"\"tags\"\": [ \"\"\"\" ],\n+              \"\"projectUrl\"\": \"\"\"\",\n+              \"\"licenseUrl\"\": \"\"\"\",\n+              \"\"frameworks\"\": {\n+                \"\"netstandard1.5\"\": {\n+                    \"\"dependencies\"\": {\n+                        \"\"packageA\"\": \"\"1.0.0\"\"\n+                    }\n+                }\n+              }\n+            }\";\n+\n+            using (var workingDir = TestFileSystemUtility.CreateRandomTestFolder())\n+            {\n+                var packagesDir = new DirectoryInfo(Path.Combine(workingDir, \"globalPackages\"));\n+                var packageSource = new DirectoryInfo(Path.Combine(workingDir, \"packageSource\"));\n+                var project1 = new DirectoryInfo(Path.Combine(workingDir, \"projects\", \"project1\"));\n+                packagesDir.Create();\n+                packageSource.Create();\n+                project1.Create();\n+                sources.Add(new PackageSource(packageSource.FullName));\n+\n+                File.WriteAllText(Path.Combine(project1.FullName, \"project.json\"), project1Json);\n+\n+                var specPath1 = Path.Combine(project1.FullName, \"project.json\");\n+                var spec1 = JsonPackageSpecReader.GetPackageSpec(project1Json, \"project1\", specPath1);\n+\n+                var logger = new TestLogger();\n+                var request = new RestoreRequest(spec1, sources, packagesDir.FullName, logger);\n+\n+                request.LockFilePath = Path.Combine(project1.FullName, \"project.lock.json\");\n+\n+                var packageA = new SimpleTestPackageContext()\n+                {\n+                    Id = \"packageA\"\n+                };\n+\n+                packageA.AddFile(\"lib/a.dll\");\n+                packageA.AddFile(\"lib/netstandard1.5/a.dll\");\n+                packageA.AddFile(\"lib/netstandard1.5/en-us/a.resource.dll\");\n+                packageA.AddFile(\"native/a.dll\");\n+                packageA.AddFile(\"ref/netstandard1.5/a.dll\");\n+                packageA.AddFile(\"contentFiles/any/any/a.dll\");\n+\n+                SimpleTestPackageUtility.CreatePackages(packageA, packageSource.FullName);\n+\n+                // Act\n+                var command = new RestoreCommand(request);\n+                var result = await command.ExecuteAsync();\n+                var lockFile = result.LockFile;\n+                result.Commit(logger);\n+\n+                var targetLib = lockFile.Targets.Single(graph => graph.RuntimeIdentifier == null).Libraries.Single();\n+\n+                // Assert\n+                Assert.True(result.Success);\n+                Assert.Equal(1, lockFile.Libraries.Count);\n+                Assert.Equal(0, targetLib.RuntimeTargets.Count);\n+            }\n+        }\n+\n+        [Fact]\n+        public async Task RestoreTargets_RestoreWithRuntimes()\n+        {\n+            // Arrange\n+            var sources = new List<PackageSource>();\n+\n+            var project1Json = @\"\n+            {\n+              \"\"version\"\": \"\"1.0.0\"\",\n+              \"\"description\"\": \"\"\"\",\n+              \"\"authors\"\": [ \"\"author\"\" ],\n+              \"\"tags\"\": [ \"\"\"\" ],\n+              \"\"projectUrl\"\": \"\"\"\",\n+              \"\"licenseUrl\"\": \"\"\"\",\n+              \"\"frameworks\"\": {\n+                \"\"netstandard1.5\"\": {\n+                    \"\"dependencies\"\": {\n+                        \"\"packageA\"\": \"\"1.0.0\"\"\n+                    }\n+                }\n+              }\n+            }\";\n+\n+            using (var workingDir = TestFileSystemUtility.CreateRandomTestFolder())\n+            {\n+                var packagesDir = new DirectoryInfo(Path.Combine(workingDir, \"globalPackages\"));\n+                var packageSource = new DirectoryInfo(Path.Combine(workingDir, \"packageSource\"));\n+                var project1 = new DirectoryInfo(Path.Combine(workingDir, \"projects\", \"project1\"));\n+                packagesDir.Create();\n+                packageSource.Create();\n+                project1.Create();\n+                sources.Add(new PackageSource(packageSource.FullName));\n+\n+                File.WriteAllText(Path.Combine(project1.FullName, \"project.json\"), project1Json);\n+\n+                var specPath1 = Path.Combine(project1.FullName, \"project.json\");\n+                var spec1 = JsonPackageSpecReader.GetPackageSpec(project1Json, \"project1\", specPath1);\n+\n+                var logger = new TestLogger();\n+                var request = new RestoreRequest(spec1, sources, packagesDir.FullName, logger);\n+\n+                request.LockFilePath = Path.Combine(project1.FullName, \"project.lock.json\");\n+                request.RequestedRuntimes.Add(\"win7-x86\");\n+\n+                var packageA = new SimpleTestPackageContext()\n+                {\n+                    Id = \"packageA\"\n+                };\n+\n+                packageA.AddFile(\"lib/netstandard1.5/a.dll\");\n+                packageA.AddFile(\"native/a.dll\");\n+                packageA.AddFile(\"runtimes/unix/native/a.dll\");\n+                packageA.AddFile(\"runtimes/unix/lib/netstandard1.5/a.dll\");\n+                packageA.AddFile(\"runtimes/win7/lib/netstandard1.5/a.dll\");\n+                packageA.AddFile(\"runtimes/win7-x86/lib/netstandard1.5/a.dll\");\n+                packageA.AddFile(\"runtimes/win7-x86/lib/netstandard1.5/en-us/a.resources.dll\");\n+\n+                SimpleTestPackageUtility.CreatePackages(packageA, packageSource.FullName);\n+\n+                // Act\n+                var command = new RestoreCommand(request);\n+                var result = await command.ExecuteAsync();\n+                var lockFile = result.LockFile;\n+                result.Commit(logger);\n+\n+                var targetLib = lockFile.Targets.Single(graph => graph.RuntimeIdentifier == null).Libraries.Single();","path":"test/NuGet.Core.Tests/NuGet.Commands.Test/RestoreTargetsTests.cs","position":152,"original_position":152,"commit_id":"e9ff9e950879df13839d8a6acfde7430b8514adb","original_commit_id":"e9ff9e950879df13839d8a6acfde7430b8514adb","user":{"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},"body":"Where are we making sure GetNearest is called?","created_at":"2016-03-02T23:28:04Z","updated_at":"2016-03-02T23:28:04Z","html_url":"https://github.com/NuGet/NuGet.Client/pull/317#discussion_r54811379","pull_request_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317","_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments/54811379"},"html":{"href":"https://github.com/NuGet/NuGet.Client/pull/317#discussion_r54811379"},"pull_request":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317"}}},"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317","id":61469204,"html_url":"https://github.com/NuGet/NuGet.Client/pull/317","diff_url":"https://github.com/NuGet/NuGet.Client/pull/317.diff","patch_url":"https://github.com/NuGet/NuGet.Client/pull/317.patch","issue_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/317","number":317,"state":"open","locked":false,"title":"Adding runtimeTargets to non-RID lock file target graphs","user":{"login":"emgarten","id":6381138,"avatar_url":"https://avatars.githubusercontent.com/u/6381138?v=3","gravatar_id":"","url":"https://api.github.com/users/emgarten","html_url":"https://github.com/emgarten","followers_url":"https://api.github.com/users/emgarten/followers","following_url":"https://api.github.com/users/emgarten/following{/other_user}","gists_url":"https://api.github.com/users/emgarten/gists{/gist_id}","starred_url":"https://api.github.com/users/emgarten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emgarten/subscriptions","organizations_url":"https://api.github.com/users/emgarten/orgs","repos_url":"https://api.github.com/users/emgarten/repos","events_url":"https://api.github.com/users/emgarten/events{/privacy}","received_events_url":"https://api.github.com/users/emgarten/received_events","type":"User","site_admin":false},"body":"This change adds runtime specific assets to the lock file target for non-RID specific graphs.\r\n\r\nRuntime, Resource, and Native assets will be added to a section called ``runtimeTargets``, the items are the same as they would be for the runtime graphs.\r\n* Include/Exclude is applied in the same way, runtimeTargets is not special cased.\r\n* The lock file section the item would appear in is stored as ``assetType``\r\n* The RID is stored under ``rid``\r\n\r\nExample output:\r\n```json\r\n{\r\n  \"System.Threading.Tasks/4.0.10\": {\r\n    \"type\": \"package\",\r\n    \"dependencies\": {\r\n      \"System.Runtime\": \"4.0.0\"\r\n    },\r\n    \"compile\": {\r\n      \"ref/dotnet/System.Threading.Tasks.dll\": { }\r\n    },\r\n    \"runtime\": {\r\n      \"lib/netcore50/System.Threading.Tasks.dll\": { }\r\n    },\r\n    \"runtimeTargets\": {\r\n      \"runtimes/win8-aot/lib/netcore50/System.Threading.Tasks.dll\": {\r\n        \"assetType\": \"runtime\",\r\n        \"rid\": \"win8-aot\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nhttps://github.com/NuGet/Home/issues/2171\r\n\r\n// cc @anurse @yishaigalatzer @joelverhagen @zhili1208 @pakrym @davidfowl ","created_at":"2016-03-02T21:23:48Z","updated_at":"2016-03-02T23:28:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3932486cf72f768e0f0b144ada6553c20e4110a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317/commits","review_comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317/comments","review_comment_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/317/comments","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/e9ff9e950879df13839d8a6acfde7430b8514adb","head":{"label":"NuGet:emgarten/runtimeTargets","ref":"emgarten/runtimeTargets","sha":"e9ff9e950879df13839d8a6acfde7430b8514adb","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":19330736,"name":"NuGet.Client","full_name":"NuGet/NuGet.Client","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Client","description":"Core client libraries for NuGet Services","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Client","forks_url":"https://api.github.com/repos/NuGet/NuGet.Client/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Client/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Client/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Client/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Client/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Client/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Client/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Client/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Client/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Client/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Client/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Client/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Client/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Client/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Client/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGet.Client/deployments","created_at":"2014-04-30T23:46:11Z","updated_at":"2016-02-26T22:21:21Z","pushed_at":"2016-03-02T23:13:24Z","git_url":"git://github.com/NuGet/NuGet.Client.git","ssh_url":"git@github.com:NuGet/NuGet.Client.git","clone_url":"https://github.com/NuGet/NuGet.Client.git","svn_url":"https://github.com/NuGet/NuGet.Client","homepage":null,"size":18719,"stargazers_count":37,"watchers_count":37,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":15,"forks":59,"open_issues":15,"watchers":37,"default_branch":"dev"}},"base":{"label":"NuGet:dev","ref":"dev","sha":"fcf5ef4fc2bb4eb56a964a9b999fa19156a8262c","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":19330736,"name":"NuGet.Client","full_name":"NuGet/NuGet.Client","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Client","description":"Core client libraries for NuGet Services","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Client","forks_url":"https://api.github.com/repos/NuGet/NuGet.Client/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Client/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Client/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Client/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Client/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Client/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Client/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Client/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Client/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Client/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Client/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Client/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Client/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Client/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Client/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGet.Client/deployments","created_at":"2014-04-30T23:46:11Z","updated_at":"2016-02-26T22:21:21Z","pushed_at":"2016-03-02T23:13:24Z","git_url":"git://github.com/NuGet/NuGet.Client.git","ssh_url":"git@github.com:NuGet/NuGet.Client.git","clone_url":"https://github.com/NuGet/NuGet.Client.git","svn_url":"https://github.com/NuGet/NuGet.Client","homepage":null,"size":18719,"stargazers_count":37,"watchers_count":37,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":15,"forks":59,"open_issues":15,"watchers":37,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317"},"html":{"href":"https://github.com/NuGet/NuGet.Client/pull/317"},"issue":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/issues/317"},"comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/e9ff9e950879df13839d8a6acfde7430b8514adb"}}}}