{"action":"created","comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments/175877375","pull_request_review_id":105465956,"id":175877375,"diff_hunk":"@@ -35,5 +38,11 @@ public RepositorySignatureResource(bool allRepositorySigned, IEnumerable<IReposi\n             RepositoryCertificateInfos = repositoryCertInfos;\n         }\n \n+        public void UpdateRepositorySignatureInfo()\n+        {\n+            RepositorySignatureInfoProvider.Instance.AddRepositorySignatureInfo","path":"src/NuGet.Core/NuGet.Protocol/Resources/RepositorySignatureResource.cs","position":30,"original_position":30,"commit_id":"d377fe3b7fc0af3ec24af2b9e1f934d6ac48fe92","original_commit_id":"d377fe3b7fc0af3ec24af2b9e1f934d6ac48fe92","user":{"login":"dtivel","id":12734758,"avatar_url":"https://avatars0.githubusercontent.com/u/12734758?v=4","gravatar_id":"","url":"https://api.github.com/users/dtivel","html_url":"https://github.com/dtivel","followers_url":"https://api.github.com/users/dtivel/followers","following_url":"https://api.github.com/users/dtivel/following{/other_user}","gists_url":"https://api.github.com/users/dtivel/gists{/gist_id}","starred_url":"https://api.github.com/users/dtivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtivel/subscriptions","organizations_url":"https://api.github.com/users/dtivel/orgs","repos_url":"https://api.github.com/users/dtivel/repos","events_url":"https://api.github.com/users/dtivel/events{/privacy}","received_events_url":"https://api.github.com/users/dtivel/received_events","type":"User","site_admin":false},"body":"Yuck.  Instead of static, how about this?\r\n\r\n1.  Register `RepositorySignatureInfoProvider` as a resource provider.\r\n2.  In `RepositorySignatureResourceProvider` fetch a `RepositorySignatureInfoProvider` instance.\r\n3.  Pass the instance to the `RepositorySignatureResource` constructor.","created_at":"2018-03-20T18:29:20Z","updated_at":"2018-03-20T18:41:35Z","html_url":"https://github.com/NuGet/NuGet.Client/pull/2096#discussion_r175877375","pull_request_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/2096","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments/175877375"},"html":{"href":"https://github.com/NuGet/NuGet.Client/pull/2096#discussion_r175877375"},"pull_request":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/2096"}}},"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/2096","id":174808898,"html_url":"https://github.com/NuGet/NuGet.Client/pull/2096","diff_url":"https://github.com/NuGet/NuGet.Client/pull/2096.diff","patch_url":"https://github.com/NuGet/NuGet.Client/pull/2096.patch","issue_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/2096","number":2096,"state":"open","locked":false,"title":"pass source to PackageExtractor and create RepoSignInfoProvider","user":{"login":"zhili1208","id":7131513,"avatar_url":"https://avatars3.githubusercontent.com/u/7131513?v=4","gravatar_id":"","url":"https://api.github.com/users/zhili1208","html_url":"https://github.com/zhili1208","followers_url":"https://api.github.com/users/zhili1208/followers","following_url":"https://api.github.com/users/zhili1208/following{/other_user}","gists_url":"https://api.github.com/users/zhili1208/gists{/gist_id}","starred_url":"https://api.github.com/users/zhili1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhili1208/subscriptions","organizations_url":"https://api.github.com/users/zhili1208/orgs","repos_url":"https://api.github.com/users/zhili1208/repos","events_url":"https://api.github.com/users/zhili1208/events{/privacy}","received_events_url":"https://api.github.com/users/zhili1208/received_events","type":"User","site_admin":false},"body":"Changes in this PR，\r\n\r\n1. PackageExtractor accepts source as parameter.\r\n2. DownloadResouceResult have to have source.\r\n3. Create a static instance which stores Repo sign information for each source.\r\n4. update the repo sign information for each source when v3 findPackageByIdResource and DownloadResource created.\r\n5. expose source from IPackageDownloader.\r\n","created_at":"2018-03-13T22:35:28Z","updated_at":"2018-03-20T18:41:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"affb368eecde84139a5b59e3db2075f98c68c0fd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rohit21agrawal","id":1857490,"avatar_url":"https://avatars2.githubusercontent.com/u/1857490?v=4","gravatar_id":"","url":"https://api.github.com/users/rohit21agrawal","html_url":"https://github.com/rohit21agrawal","followers_url":"https://api.github.com/users/rohit21agrawal/followers","following_url":"https://api.github.com/users/rohit21agrawal/following{/other_user}","gists_url":"https://api.github.com/users/rohit21agrawal/gists{/gist_id}","starred_url":"https://api.github.com/users/rohit21agrawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohit21agrawal/subscriptions","organizations_url":"https://api.github.com/users/rohit21agrawal/orgs","repos_url":"https://api.github.com/users/rohit21agrawal/repos","events_url":"https://api.github.com/users/rohit21agrawal/events{/privacy}","received_events_url":"https://api.github.com/users/rohit21agrawal/received_events","type":"User","site_admin":false},{"login":"PatoBeltran","id":2132567,"avatar_url":"https://avatars2.githubusercontent.com/u/2132567?v=4","gravatar_id":"","url":"https://api.github.com/users/PatoBeltran","html_url":"https://github.com/PatoBeltran","followers_url":"https://api.github.com/users/PatoBeltran/followers","following_url":"https://api.github.com/users/PatoBeltran/following{/other_user}","gists_url":"https://api.github.com/users/PatoBeltran/gists{/gist_id}","starred_url":"https://api.github.com/users/PatoBeltran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatoBeltran/subscriptions","organizations_url":"https://api.github.com/users/PatoBeltran/orgs","repos_url":"https://api.github.com/users/PatoBeltran/repos","events_url":"https://api.github.com/users/PatoBeltran/events{/privacy}","received_events_url":"https://api.github.com/users/PatoBeltran/received_events","type":"User","site_admin":false},{"login":"nkolev92","id":2878341,"avatar_url":"https://avatars1.githubusercontent.com/u/2878341?v=4","gravatar_id":"","url":"https://api.github.com/users/nkolev92","html_url":"https://github.com/nkolev92","followers_url":"https://api.github.com/users/nkolev92/followers","following_url":"https://api.github.com/users/nkolev92/following{/other_user}","gists_url":"https://api.github.com/users/nkolev92/gists{/gist_id}","starred_url":"https://api.github.com/users/nkolev92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkolev92/subscriptions","organizations_url":"https://api.github.com/users/nkolev92/orgs","repos_url":"https://api.github.com/users/nkolev92/repos","events_url":"https://api.github.com/users/nkolev92/events{/privacy}","received_events_url":"https://api.github.com/users/nkolev92/received_events","type":"User","site_admin":false},{"login":"jainaashish","id":18219758,"avatar_url":"https://avatars3.githubusercontent.com/u/18219758?v=4","gravatar_id":"","url":"https://api.github.com/users/jainaashish","html_url":"https://github.com/jainaashish","followers_url":"https://api.github.com/users/jainaashish/followers","following_url":"https://api.github.com/users/jainaashish/following{/other_user}","gists_url":"https://api.github.com/users/jainaashish/gists{/gist_id}","starred_url":"https://api.github.com/users/jainaashish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainaashish/subscriptions","organizations_url":"https://api.github.com/users/jainaashish/orgs","repos_url":"https://api.github.com/users/jainaashish/repos","events_url":"https://api.github.com/users/jainaashish/events{/privacy}","received_events_url":"https://api.github.com/users/jainaashish/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/2096/commits","review_comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/2096/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/2096/comments","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/d377fe3b7fc0af3ec24af2b9e1f934d6ac48fe92","head":{"label":"NuGet:dev-zhi-RepoInfo","ref":"dev-zhi-RepoInfo","sha":"d377fe3b7fc0af3ec24af2b9e1f934d6ac48fe92","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars2.githubusercontent.com/u/968310?v=4","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://avatars2.githubusercontent.com/u/968310?v=4","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":"2018-03-20T00:34:05Z","pushed_at":"2018-03-20T18:41:32Z","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":35236,"stargazers_count":241,"watchers_count":241,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":284,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":284,"open_issues":15,"watchers":241,"default_branch":"dev"}},"base":{"label":"NuGet:dev","ref":"dev","sha":"dfa6342cdf332c03c01da49dfa4863d283968d74","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars2.githubusercontent.com/u/968310?v=4","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://avatars2.githubusercontent.com/u/968310?v=4","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":"2018-03-20T00:34:05Z","pushed_at":"2018-03-20T18:41:32Z","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":35236,"stargazers_count":241,"watchers_count":241,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":284,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":284,"open_issues":15,"watchers":241,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/2096"},"html":{"href":"https://github.com/NuGet/NuGet.Client/pull/2096"},"issue":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/issues/2096"},"comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/issues/2096/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/2096/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/2096/commits"},"statuses":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/d377fe3b7fc0af3ec24af2b9e1f934d6ac48fe92"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dtivel"}}