{"action":"created","comment":{"url":"https://api.github.com/repos/cnpm/npminstall/pulls/comments/201992536","pull_request_review_id":136598988,"id":201992536,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTk5MjUzNg==","diff_hunk":"@@ -308,6 +308,20 @@ function* getTarballStream(tarballUrl, pkg, options) {\n     };\n   }\n \n+  // high speed store\n+  if (options.highSpeedStore) {\n+    try {\n+      const stream = yield options.highSpeedStore.getStream(tarballUrl);","path":"lib/download/npm.js","position":7,"original_position":7,"commit_id":"fac7030612b81979e70ebd3f2ae3e5917295135e","original_commit_id":"fac7030612b81979e70ebd3f2ae3e5917295135e","user":{"login":"fengmk2","id":156269,"node_id":"MDQ6VXNlcjE1NjI2OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/156269?v=4","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"body":"还需要做一下判断，如果返回了 null，则放过。","created_at":"2018-07-12T10:55:19Z","updated_at":"2018-07-12T10:55:19Z","html_url":"https://github.com/cnpm/npminstall/pull/276#discussion_r201992536","pull_request_url":"https://api.github.com/repos/cnpm/npminstall/pulls/276","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/cnpm/npminstall/pulls/comments/201992536"},"html":{"href":"https://github.com/cnpm/npminstall/pull/276#discussion_r201992536"},"pull_request":{"href":"https://api.github.com/repos/cnpm/npminstall/pulls/276"}}},"pull_request":{"url":"https://api.github.com/repos/cnpm/npminstall/pulls/276","id":200943302,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwOTQzMzAy","html_url":"https://github.com/cnpm/npminstall/pull/276","diff_url":"https://github.com/cnpm/npminstall/pull/276.diff","patch_url":"https://github.com/cnpm/npminstall/pull/276.patch","issue_url":"https://api.github.com/repos/cnpm/npminstall/issues/276","number":276,"state":"open","locked":false,"title":"feat: support high speed store for tarball download","user":{"login":"fengmk2","id":156269,"node_id":"MDQ6VXNlcjE1NjI2OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/156269?v=4","gravatar_id":"","url":"https://api.github.com/users/fengmk2","html_url":"https://github.com/fengmk2","followers_url":"https://api.github.com/users/fengmk2/followers","following_url":"https://api.github.com/users/fengmk2/following{/other_user}","gists_url":"https://api.github.com/users/fengmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/fengmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengmk2/subscriptions","organizations_url":"https://api.github.com/users/fengmk2/orgs","repos_url":"https://api.github.com/users/fengmk2/repos","events_url":"https://api.github.com/users/fengmk2/events{/privacy}","received_events_url":"https://api.github.com/users/fengmk2/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-12T09:40:10Z","updated_at":"2018-07-12T10:55:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bd5ed69ab5e9f509eb07bc893ba5dfcb227e904","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":319875784,"node_id":"MDU6TGFiZWwzMTk4NzU3ODQ=","url":"https://api.github.com/repos/cnpm/npminstall/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/cnpm/npminstall/pulls/276/commits","review_comments_url":"https://api.github.com/repos/cnpm/npminstall/pulls/276/comments","review_comment_url":"https://api.github.com/repos/cnpm/npminstall/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cnpm/npminstall/issues/276/comments","statuses_url":"https://api.github.com/repos/cnpm/npminstall/statuses/fac7030612b81979e70ebd3f2ae3e5917295135e","head":{"label":"cnpm:high-speed-store","ref":"high-speed-store","sha":"fac7030612b81979e70ebd3f2ae3e5917295135e","user":{"login":"cnpm","id":6365106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjUxMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/6365106?v=4","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"repo":{"id":50849377,"node_id":"MDEwOlJlcG9zaXRvcnk1MDg0OTM3Nw==","name":"npminstall","full_name":"cnpm/npminstall","owner":{"login":"cnpm","id":6365106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjUxMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/6365106?v=4","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cnpm/npminstall","description":"Make `npm install` fast and easy.","fork":false,"url":"https://api.github.com/repos/cnpm/npminstall","forks_url":"https://api.github.com/repos/cnpm/npminstall/forks","keys_url":"https://api.github.com/repos/cnpm/npminstall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnpm/npminstall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnpm/npminstall/teams","hooks_url":"https://api.github.com/repos/cnpm/npminstall/hooks","issue_events_url":"https://api.github.com/repos/cnpm/npminstall/issues/events{/number}","events_url":"https://api.github.com/repos/cnpm/npminstall/events","assignees_url":"https://api.github.com/repos/cnpm/npminstall/assignees{/user}","branches_url":"https://api.github.com/repos/cnpm/npminstall/branches{/branch}","tags_url":"https://api.github.com/repos/cnpm/npminstall/tags","blobs_url":"https://api.github.com/repos/cnpm/npminstall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnpm/npminstall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnpm/npminstall/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnpm/npminstall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnpm/npminstall/statuses/{sha}","languages_url":"https://api.github.com/repos/cnpm/npminstall/languages","stargazers_url":"https://api.github.com/repos/cnpm/npminstall/stargazers","contributors_url":"https://api.github.com/repos/cnpm/npminstall/contributors","subscribers_url":"https://api.github.com/repos/cnpm/npminstall/subscribers","subscription_url":"https://api.github.com/repos/cnpm/npminstall/subscription","commits_url":"https://api.github.com/repos/cnpm/npminstall/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnpm/npminstall/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnpm/npminstall/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnpm/npminstall/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnpm/npminstall/contents/{+path}","compare_url":"https://api.github.com/repos/cnpm/npminstall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnpm/npminstall/merges","archive_url":"https://api.github.com/repos/cnpm/npminstall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnpm/npminstall/downloads","issues_url":"https://api.github.com/repos/cnpm/npminstall/issues{/number}","pulls_url":"https://api.github.com/repos/cnpm/npminstall/pulls{/number}","milestones_url":"https://api.github.com/repos/cnpm/npminstall/milestones{/number}","notifications_url":"https://api.github.com/repos/cnpm/npminstall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnpm/npminstall/labels{/name}","releases_url":"https://api.github.com/repos/cnpm/npminstall/releases{/id}","deployments_url":"https://api.github.com/repos/cnpm/npminstall/deployments","created_at":"2016-02-01T15:39:58Z","updated_at":"2018-07-11T14:03:47Z","pushed_at":"2018-07-12T09:41:06Z","git_url":"git://github.com/cnpm/npminstall.git","ssh_url":"git@github.com:cnpm/npminstall.git","clone_url":"https://github.com/cnpm/npminstall.git","svn_url":"https://github.com/cnpm/npminstall","homepage":"","size":915,"stargazers_count":286,"watchers_count":286,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":33,"open_issues":18,"watchers":286,"default_branch":"master"}},"base":{"label":"cnpm:master","ref":"master","sha":"26c7b2b129da40cc9a77350f9061af57d630ad11","user":{"login":"cnpm","id":6365106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjUxMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/6365106?v=4","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"repo":{"id":50849377,"node_id":"MDEwOlJlcG9zaXRvcnk1MDg0OTM3Nw==","name":"npminstall","full_name":"cnpm/npminstall","owner":{"login":"cnpm","id":6365106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjUxMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/6365106?v=4","gravatar_id":"","url":"https://api.github.com/users/cnpm","html_url":"https://github.com/cnpm","followers_url":"https://api.github.com/users/cnpm/followers","following_url":"https://api.github.com/users/cnpm/following{/other_user}","gists_url":"https://api.github.com/users/cnpm/gists{/gist_id}","starred_url":"https://api.github.com/users/cnpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnpm/subscriptions","organizations_url":"https://api.github.com/users/cnpm/orgs","repos_url":"https://api.github.com/users/cnpm/repos","events_url":"https://api.github.com/users/cnpm/events{/privacy}","received_events_url":"https://api.github.com/users/cnpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cnpm/npminstall","description":"Make `npm install` fast and easy.","fork":false,"url":"https://api.github.com/repos/cnpm/npminstall","forks_url":"https://api.github.com/repos/cnpm/npminstall/forks","keys_url":"https://api.github.com/repos/cnpm/npminstall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnpm/npminstall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnpm/npminstall/teams","hooks_url":"https://api.github.com/repos/cnpm/npminstall/hooks","issue_events_url":"https://api.github.com/repos/cnpm/npminstall/issues/events{/number}","events_url":"https://api.github.com/repos/cnpm/npminstall/events","assignees_url":"https://api.github.com/repos/cnpm/npminstall/assignees{/user}","branches_url":"https://api.github.com/repos/cnpm/npminstall/branches{/branch}","tags_url":"https://api.github.com/repos/cnpm/npminstall/tags","blobs_url":"https://api.github.com/repos/cnpm/npminstall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnpm/npminstall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnpm/npminstall/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnpm/npminstall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnpm/npminstall/statuses/{sha}","languages_url":"https://api.github.com/repos/cnpm/npminstall/languages","stargazers_url":"https://api.github.com/repos/cnpm/npminstall/stargazers","contributors_url":"https://api.github.com/repos/cnpm/npminstall/contributors","subscribers_url":"https://api.github.com/repos/cnpm/npminstall/subscribers","subscription_url":"https://api.github.com/repos/cnpm/npminstall/subscription","commits_url":"https://api.github.com/repos/cnpm/npminstall/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnpm/npminstall/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnpm/npminstall/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnpm/npminstall/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnpm/npminstall/contents/{+path}","compare_url":"https://api.github.com/repos/cnpm/npminstall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnpm/npminstall/merges","archive_url":"https://api.github.com/repos/cnpm/npminstall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnpm/npminstall/downloads","issues_url":"https://api.github.com/repos/cnpm/npminstall/issues{/number}","pulls_url":"https://api.github.com/repos/cnpm/npminstall/pulls{/number}","milestones_url":"https://api.github.com/repos/cnpm/npminstall/milestones{/number}","notifications_url":"https://api.github.com/repos/cnpm/npminstall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnpm/npminstall/labels{/name}","releases_url":"https://api.github.com/repos/cnpm/npminstall/releases{/id}","deployments_url":"https://api.github.com/repos/cnpm/npminstall/deployments","created_at":"2016-02-01T15:39:58Z","updated_at":"2018-07-11T14:03:47Z","pushed_at":"2018-07-12T09:41:06Z","git_url":"git://github.com/cnpm/npminstall.git","ssh_url":"git@github.com:cnpm/npminstall.git","clone_url":"https://github.com/cnpm/npminstall.git","svn_url":"https://github.com/cnpm/npminstall","homepage":"","size":915,"stargazers_count":286,"watchers_count":286,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":33,"open_issues":18,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cnpm/npminstall/pulls/276"},"html":{"href":"https://github.com/cnpm/npminstall/pull/276"},"issue":{"href":"https://api.github.com/repos/cnpm/npminstall/issues/276"},"comments":{"href":"https://api.github.com/repos/cnpm/npminstall/issues/276/comments"},"review_comments":{"href":"https://api.github.com/repos/cnpm/npminstall/pulls/276/comments"},"review_comment":{"href":"https://api.github.com/repos/cnpm/npminstall/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cnpm/npminstall/pulls/276/commits"},"statuses":{"href":"https://api.github.com/repos/cnpm/npminstall/statuses/fac7030612b81979e70ebd3f2ae3e5917295135e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"fengmk2"}}