{"action":"opened","number":622,"pull_request":{"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/622","id":186140589,"html_url":"https://github.com/OpenNeuroOrg/openneuro/pull/622","diff_url":"https://github.com/OpenNeuroOrg/openneuro/pull/622.diff","patch_url":"https://github.com/OpenNeuroOrg/openneuro/pull/622.patch","issue_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/622","number":622,"state":"open","locked":false,"title":"Upload deadlock fix and better CLI progress","user":{"login":"nellh","id":11369795,"avatar_url":"https://avatars3.githubusercontent.com/u/11369795?v=4","gravatar_id":"","url":"https://api.github.com/users/nellh","html_url":"https://github.com/nellh","followers_url":"https://api.github.com/users/nellh/followers","following_url":"https://api.github.com/users/nellh/following{/other_user}","gists_url":"https://api.github.com/users/nellh/gists{/gist_id}","starred_url":"https://api.github.com/users/nellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nellh/subscriptions","organizations_url":"https://api.github.com/users/nellh/orgs","repos_url":"https://api.github.com/users/nellh/repos","events_url":"https://api.github.com/users/nellh/events{/privacy}","received_events_url":"https://api.github.com/users/nellh/received_events","type":"User","site_admin":false},"body":"This prevents a deadlock in file uploads caused by chaining Promise.all. Instead, the entire tree is hoisted to updateFiles and Promise.all is called once.\r\n\r\nProgress is also more reliable with large single files.","created_at":"2018-05-05T05:27:54Z","updated_at":"2018-05-05T05:27:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/622/commits","review_comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/622/comments","review_comment_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/622/comments","statuses_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/ce8b3a92280bc905330777906ba19236ccaaff1f","head":{"label":"OpenNeuroOrg:large-dataset-upload-fix","ref":"large-dataset-upload-fix","sha":"ce8b3a92280bc905330777906ba19236ccaaff1f","user":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":100310240,"name":"openneuro","full_name":"OpenNeuroOrg/openneuro","owner":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenNeuroOrg/openneuro","description":"A free and open platform for analyzing and sharing neuroimaging data","fork":false,"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro","forks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/forks","keys_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/teams","hooks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/hooks","issue_events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/events{/number}","events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/events","assignees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/assignees{/user}","branches_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/branches{/branch}","tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/tags","blobs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/languages","stargazers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/stargazers","contributors_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contributors","subscribers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscribers","subscription_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscription","commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contents/{+path}","compare_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/merges","archive_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/downloads","issues_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues{/number}","pulls_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/labels{/name}","releases_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/releases{/id}","deployments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/deployments","created_at":"2017-08-14T21:17:17Z","updated_at":"2018-05-04T16:34:18Z","pushed_at":"2018-05-05T05:27:19Z","git_url":"git://github.com/OpenNeuroOrg/openneuro.git","ssh_url":"git@github.com:OpenNeuroOrg/openneuro.git","clone_url":"https://github.com/OpenNeuroOrg/openneuro.git","svn_url":"https://github.com/OpenNeuroOrg/openneuro","homepage":"https://openneuro.org/","size":10360,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":111,"license":null,"forks":5,"open_issues":111,"watchers":11,"default_branch":"master"}},"base":{"label":"OpenNeuroOrg:master","ref":"master","sha":"c94bf586b35d4ff08d62f7559bfb4b5a4753667c","user":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":100310240,"name":"openneuro","full_name":"OpenNeuroOrg/openneuro","owner":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenNeuroOrg/openneuro","description":"A free and open platform for analyzing and sharing neuroimaging data","fork":false,"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro","forks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/forks","keys_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/teams","hooks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/hooks","issue_events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/events{/number}","events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/events","assignees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/assignees{/user}","branches_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/branches{/branch}","tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/tags","blobs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/languages","stargazers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/stargazers","contributors_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contributors","subscribers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscribers","subscription_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscription","commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contents/{+path}","compare_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/merges","archive_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/downloads","issues_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues{/number}","pulls_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/labels{/name}","releases_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/releases{/id}","deployments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/deployments","created_at":"2017-08-14T21:17:17Z","updated_at":"2018-05-04T16:34:18Z","pushed_at":"2018-05-05T05:27:19Z","git_url":"git://github.com/OpenNeuroOrg/openneuro.git","ssh_url":"git@github.com:OpenNeuroOrg/openneuro.git","clone_url":"https://github.com/OpenNeuroOrg/openneuro.git","svn_url":"https://github.com/OpenNeuroOrg/openneuro","homepage":"https://openneuro.org/","size":10360,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":111,"license":null,"forks":5,"open_issues":111,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/622"},"html":{"href":"https://github.com/OpenNeuroOrg/openneuro/pull/622"},"issue":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/622"},"comments":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/622/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/622/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/622/commits"},"statuses":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/ce8b3a92280bc905330777906ba19236ccaaff1f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":34,"deletions":18,"changed_files":3}}
{"actor":{"display_login":"nellh"}}