{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/FiloSottile/gvt/pulls/10","id":50889504,"html_url":"https://github.com/FiloSottile/gvt/pull/10","diff_url":"https://github.com/FiloSottile/gvt/pull/10.diff","patch_url":"https://github.com/FiloSottile/gvt/pull/10.patch","issue_url":"https://api.github.com/repos/FiloSottile/gvt/issues/10","number":10,"state":"open","locked":false,"title":"Rebuild: parallelize dependencies downloads","user":{"login":"petrkotek","id":5679032,"avatar_url":"https://avatars.githubusercontent.com/u/5679032?v=3","gravatar_id":"","url":"https://api.github.com/users/petrkotek","html_url":"https://github.com/petrkotek","followers_url":"https://api.github.com/users/petrkotek/followers","following_url":"https://api.github.com/users/petrkotek/following{/other_user}","gists_url":"https://api.github.com/users/petrkotek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrkotek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrkotek/subscriptions","organizations_url":"https://api.github.com/users/petrkotek/orgs","repos_url":"https://api.github.com/users/petrkotek/repos","events_url":"https://api.github.com/users/petrkotek/events{/privacy}","received_events_url":"https://api.github.com/users/petrkotek/received_events","type":"User","site_admin":false},"body":"This PR makes download of dependencies *parallel* when using `gvt rebuild` (i.e. addresses This fixes https://github.com/FiloSottile/gvt/issues/7).\r\n\r\nBy default, 8 connections are used, however it's possible to override it using `gvt rebuild --connections X`.\r\n\r\nThis significantly improved speed of our travis builds (`gvt rebuild` was originally taking `115s`, now it's `21s` with 8 parallel download connections, i.e. more than 5x faster).\r\n\r\nUse `?w=1` to review.\r\n\r\nPlease let me know, what do you think about it. Thanks!","created_at":"2015-11-17T00:47:44Z","updated_at":"2015-11-17T00:47:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"673332737d36f26332579f04e695bdfb18c31a6b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FiloSottile/gvt/pulls/10/commits","review_comments_url":"https://api.github.com/repos/FiloSottile/gvt/pulls/10/comments","review_comment_url":"https://api.github.com/repos/FiloSottile/gvt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FiloSottile/gvt/issues/10/comments","statuses_url":"https://api.github.com/repos/FiloSottile/gvt/statuses/2c703ebabaff3a198f704a3355152f6caf43a3c9","head":{"label":"petrkotek:parallel-rebuild","ref":"parallel-rebuild","sha":"2c703ebabaff3a198f704a3355152f6caf43a3c9","user":{"login":"petrkotek","id":5679032,"avatar_url":"https://avatars.githubusercontent.com/u/5679032?v=3","gravatar_id":"","url":"https://api.github.com/users/petrkotek","html_url":"https://github.com/petrkotek","followers_url":"https://api.github.com/users/petrkotek/followers","following_url":"https://api.github.com/users/petrkotek/following{/other_user}","gists_url":"https://api.github.com/users/petrkotek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrkotek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrkotek/subscriptions","organizations_url":"https://api.github.com/users/petrkotek/orgs","repos_url":"https://api.github.com/users/petrkotek/repos","events_url":"https://api.github.com/users/petrkotek/events{/privacy}","received_events_url":"https://api.github.com/users/petrkotek/received_events","type":"User","site_admin":false},"repo":{"id":46309601,"name":"gvt","full_name":"petrkotek/gvt","owner":{"login":"petrkotek","id":5679032,"avatar_url":"https://avatars.githubusercontent.com/u/5679032?v=3","gravatar_id":"","url":"https://api.github.com/users/petrkotek","html_url":"https://github.com/petrkotek","followers_url":"https://api.github.com/users/petrkotek/followers","following_url":"https://api.github.com/users/petrkotek/following{/other_user}","gists_url":"https://api.github.com/users/petrkotek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrkotek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrkotek/subscriptions","organizations_url":"https://api.github.com/users/petrkotek/orgs","repos_url":"https://api.github.com/users/petrkotek/repos","events_url":"https://api.github.com/users/petrkotek/events{/privacy}","received_events_url":"https://api.github.com/users/petrkotek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petrkotek/gvt","description":"gvt is the go vendoring tool for the GO15VENDOREXPERIMENT, based on gb-vendor","fork":true,"url":"https://api.github.com/repos/petrkotek/gvt","forks_url":"https://api.github.com/repos/petrkotek/gvt/forks","keys_url":"https://api.github.com/repos/petrkotek/gvt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petrkotek/gvt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petrkotek/gvt/teams","hooks_url":"https://api.github.com/repos/petrkotek/gvt/hooks","issue_events_url":"https://api.github.com/repos/petrkotek/gvt/issues/events{/number}","events_url":"https://api.github.com/repos/petrkotek/gvt/events","assignees_url":"https://api.github.com/repos/petrkotek/gvt/assignees{/user}","branches_url":"https://api.github.com/repos/petrkotek/gvt/branches{/branch}","tags_url":"https://api.github.com/repos/petrkotek/gvt/tags","blobs_url":"https://api.github.com/repos/petrkotek/gvt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petrkotek/gvt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petrkotek/gvt/git/refs{/sha}","trees_url":"https://api.github.com/repos/petrkotek/gvt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petrkotek/gvt/statuses/{sha}","languages_url":"https://api.github.com/repos/petrkotek/gvt/languages","stargazers_url":"https://api.github.com/repos/petrkotek/gvt/stargazers","contributors_url":"https://api.github.com/repos/petrkotek/gvt/contributors","subscribers_url":"https://api.github.com/repos/petrkotek/gvt/subscribers","subscription_url":"https://api.github.com/repos/petrkotek/gvt/subscription","commits_url":"https://api.github.com/repos/petrkotek/gvt/commits{/sha}","git_commits_url":"https://api.github.com/repos/petrkotek/gvt/git/commits{/sha}","comments_url":"https://api.github.com/repos/petrkotek/gvt/comments{/number}","issue_comment_url":"https://api.github.com/repos/petrkotek/gvt/issues/comments{/number}","contents_url":"https://api.github.com/repos/petrkotek/gvt/contents/{+path}","compare_url":"https://api.github.com/repos/petrkotek/gvt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petrkotek/gvt/merges","archive_url":"https://api.github.com/repos/petrkotek/gvt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petrkotek/gvt/downloads","issues_url":"https://api.github.com/repos/petrkotek/gvt/issues{/number}","pulls_url":"https://api.github.com/repos/petrkotek/gvt/pulls{/number}","milestones_url":"https://api.github.com/repos/petrkotek/gvt/milestones{/number}","notifications_url":"https://api.github.com/repos/petrkotek/gvt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petrkotek/gvt/labels{/name}","releases_url":"https://api.github.com/repos/petrkotek/gvt/releases{/id}","created_at":"2015-11-16T23:23:05Z","updated_at":"2015-11-16T23:23:06Z","pushed_at":"2015-11-17T00:33:23Z","git_url":"git://github.com/petrkotek/gvt.git","ssh_url":"git@github.com:petrkotek/gvt.git","clone_url":"https://github.com/petrkotek/gvt.git","svn_url":"https://github.com/petrkotek/gvt","homepage":"","size":33,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FiloSottile:master","ref":"master","sha":"7c8affe852d735e0934c58d8a52ad93e80d575dc","user":{"login":"FiloSottile","id":1225294,"avatar_url":"https://avatars.githubusercontent.com/u/1225294?v=3","gravatar_id":"","url":"https://api.github.com/users/FiloSottile","html_url":"https://github.com/FiloSottile","followers_url":"https://api.github.com/users/FiloSottile/followers","following_url":"https://api.github.com/users/FiloSottile/following{/other_user}","gists_url":"https://api.github.com/users/FiloSottile/gists{/gist_id}","starred_url":"https://api.github.com/users/FiloSottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiloSottile/subscriptions","organizations_url":"https://api.github.com/users/FiloSottile/orgs","repos_url":"https://api.github.com/users/FiloSottile/repos","events_url":"https://api.github.com/users/FiloSottile/events{/privacy}","received_events_url":"https://api.github.com/users/FiloSottile/received_events","type":"User","site_admin":false},"repo":{"id":41945291,"name":"gvt","full_name":"FiloSottile/gvt","owner":{"login":"FiloSottile","id":1225294,"avatar_url":"https://avatars.githubusercontent.com/u/1225294?v=3","gravatar_id":"","url":"https://api.github.com/users/FiloSottile","html_url":"https://github.com/FiloSottile","followers_url":"https://api.github.com/users/FiloSottile/followers","following_url":"https://api.github.com/users/FiloSottile/following{/other_user}","gists_url":"https://api.github.com/users/FiloSottile/gists{/gist_id}","starred_url":"https://api.github.com/users/FiloSottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiloSottile/subscriptions","organizations_url":"https://api.github.com/users/FiloSottile/orgs","repos_url":"https://api.github.com/users/FiloSottile/repos","events_url":"https://api.github.com/users/FiloSottile/events{/privacy}","received_events_url":"https://api.github.com/users/FiloSottile/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FiloSottile/gvt","description":"gvt is the go vendoring tool for the GO15VENDOREXPERIMENT, based on gb-vendor","fork":false,"url":"https://api.github.com/repos/FiloSottile/gvt","forks_url":"https://api.github.com/repos/FiloSottile/gvt/forks","keys_url":"https://api.github.com/repos/FiloSottile/gvt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FiloSottile/gvt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FiloSottile/gvt/teams","hooks_url":"https://api.github.com/repos/FiloSottile/gvt/hooks","issue_events_url":"https://api.github.com/repos/FiloSottile/gvt/issues/events{/number}","events_url":"https://api.github.com/repos/FiloSottile/gvt/events","assignees_url":"https://api.github.com/repos/FiloSottile/gvt/assignees{/user}","branches_url":"https://api.github.com/repos/FiloSottile/gvt/branches{/branch}","tags_url":"https://api.github.com/repos/FiloSottile/gvt/tags","blobs_url":"https://api.github.com/repos/FiloSottile/gvt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FiloSottile/gvt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FiloSottile/gvt/git/refs{/sha}","trees_url":"https://api.github.com/repos/FiloSottile/gvt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FiloSottile/gvt/statuses/{sha}","languages_url":"https://api.github.com/repos/FiloSottile/gvt/languages","stargazers_url":"https://api.github.com/repos/FiloSottile/gvt/stargazers","contributors_url":"https://api.github.com/repos/FiloSottile/gvt/contributors","subscribers_url":"https://api.github.com/repos/FiloSottile/gvt/subscribers","subscription_url":"https://api.github.com/repos/FiloSottile/gvt/subscription","commits_url":"https://api.github.com/repos/FiloSottile/gvt/commits{/sha}","git_commits_url":"https://api.github.com/repos/FiloSottile/gvt/git/commits{/sha}","comments_url":"https://api.github.com/repos/FiloSottile/gvt/comments{/number}","issue_comment_url":"https://api.github.com/repos/FiloSottile/gvt/issues/comments{/number}","contents_url":"https://api.github.com/repos/FiloSottile/gvt/contents/{+path}","compare_url":"https://api.github.com/repos/FiloSottile/gvt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FiloSottile/gvt/merges","archive_url":"https://api.github.com/repos/FiloSottile/gvt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FiloSottile/gvt/downloads","issues_url":"https://api.github.com/repos/FiloSottile/gvt/issues{/number}","pulls_url":"https://api.github.com/repos/FiloSottile/gvt/pulls{/number}","milestones_url":"https://api.github.com/repos/FiloSottile/gvt/milestones{/number}","notifications_url":"https://api.github.com/repos/FiloSottile/gvt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FiloSottile/gvt/labels{/name}","releases_url":"https://api.github.com/repos/FiloSottile/gvt/releases{/id}","created_at":"2015-09-05T01:56:02Z","updated_at":"2015-11-16T13:24:22Z","pushed_at":"2015-11-17T00:47:44Z","git_url":"git://github.com/FiloSottile/gvt.git","ssh_url":"git@github.com:FiloSottile/gvt.git","clone_url":"https://github.com/FiloSottile/gvt.git","svn_url":"https://github.com/FiloSottile/gvt","homepage":"","size":331,"stargazers_count":122,"watchers_count":122,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FiloSottile/gvt/pulls/10"},"html":{"href":"https://github.com/FiloSottile/gvt/pull/10"},"issue":{"href":"https://api.github.com/repos/FiloSottile/gvt/issues/10"},"comments":{"href":"https://api.github.com/repos/FiloSottile/gvt/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/FiloSottile/gvt/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/FiloSottile/gvt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FiloSottile/gvt/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/FiloSottile/gvt/statuses/2c703ebabaff3a198f704a3355152f6caf43a3c9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":21,"changed_files":1}}