{"action":"created","comment":{"url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/comments/42793737","id":42793737,"diff_hunk":"@@ -152,7 +165,18 @@ export default async function main(config, argv) {\n   // Extraction of archives should *not* be done in parallel because of race\n   // conditions with writing to the same directories.\n   for (let archive of archivesToExtract) {\n-    if (!archive.archivePath) continue;\n+    if (!archive) continue;","path":"src/cli/repo-checkout.js","position":47,"original_position":47,"commit_id":"3edcd0ea23625743e83cc4886d48db08d5a467fd","original_commit_id":"3edcd0ea23625743e83cc4886d48db08d5a467fd","user":{"login":"selenamarie","id":54803,"avatar_url":"https://avatars.githubusercontent.com/u/54803?v=3","gravatar_id":"","url":"https://api.github.com/users/selenamarie","html_url":"https://github.com/selenamarie","followers_url":"https://api.github.com/users/selenamarie/followers","following_url":"https://api.github.com/users/selenamarie/following{/other_user}","gists_url":"https://api.github.com/users/selenamarie/gists{/gist_id}","starred_url":"https://api.github.com/users/selenamarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selenamarie/subscriptions","organizations_url":"https://api.github.com/users/selenamarie/orgs","repos_url":"https://api.github.com/users/selenamarie/repos","events_url":"https://api.github.com/users/selenamarie/events{/privacy}","received_events_url":"https://api.github.com/users/selenamarie/received_events","type":"User","site_admin":false},"body":"ahh right. Thanks.","created_at":"2015-10-22T19:20:55Z","updated_at":"2015-10-22T19:20:55Z","html_url":"https://github.com/taskcluster/taskcluster-vcs/pull/27#discussion_r42793737","pull_request_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/comments/42793737"},"html":{"href":"https://github.com/taskcluster/taskcluster-vcs/pull/27#discussion_r42793737"},"pull_request":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27","id":44493561,"html_url":"https://github.com/taskcluster/taskcluster-vcs/pull/27","diff_url":"https://github.com/taskcluster/taskcluster-vcs/pull/27.diff","patch_url":"https://github.com/taskcluster/taskcluster-vcs/pull/27.patch","issue_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/issues/27","number":27,"state":"open","locked":false,"title":"[bug 1206395] Verify artifact exists before downloading","user":{"login":"gregarndt","id":2592630,"avatar_url":"https://avatars.githubusercontent.com/u/2592630?v=3","gravatar_id":"","url":"https://api.github.com/users/gregarndt","html_url":"https://github.com/gregarndt","followers_url":"https://api.github.com/users/gregarndt/followers","following_url":"https://api.github.com/users/gregarndt/following{/other_user}","gists_url":"https://api.github.com/users/gregarndt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregarndt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregarndt/subscriptions","organizations_url":"https://api.github.com/users/gregarndt/orgs","repos_url":"https://api.github.com/users/gregarndt/repos","events_url":"https://api.github.com/users/gregarndt/events{/privacy}","received_events_url":"https://api.github.com/users/gregarndt/received_events","type":"User","site_admin":false},"body":"When the artifact does not exist for a repository, instead of downloading a 404 json blob and trying to extract it, it will either:\r\nA) perform a full clone from the remote repo if --force-clone is enabled\r\nB) fail (default behavior)\r\n\r\nHere is a failure:\r\nhttps://tools.taskcluster.net/task-inspector/#3dinbZ3pT1mLoalr-G_EVA/0\r\n\r\nSuccess:\r\nhttps://tools.taskcluster.net/task-inspector/#RSNMG7_rQsmVweAmu_I5cQ/0","created_at":"2015-09-08T23:01:58Z","updated_at":"2015-10-22T19:20:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"161f26ceabb90c7c01a66b99d137b1cfb2301b6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27/commits","review_comments_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27/comments","review_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/issues/27/comments","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/statuses/3edcd0ea23625743e83cc4886d48db08d5a467fd","head":{"label":"gregarndt:alder","ref":"alder","sha":"3edcd0ea23625743e83cc4886d48db08d5a467fd","user":{"login":"gregarndt","id":2592630,"avatar_url":"https://avatars.githubusercontent.com/u/2592630?v=3","gravatar_id":"","url":"https://api.github.com/users/gregarndt","html_url":"https://github.com/gregarndt","followers_url":"https://api.github.com/users/gregarndt/followers","following_url":"https://api.github.com/users/gregarndt/following{/other_user}","gists_url":"https://api.github.com/users/gregarndt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregarndt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregarndt/subscriptions","organizations_url":"https://api.github.com/users/gregarndt/orgs","repos_url":"https://api.github.com/users/gregarndt/repos","events_url":"https://api.github.com/users/gregarndt/events{/privacy}","received_events_url":"https://api.github.com/users/gregarndt/received_events","type":"User","site_admin":false},"repo":{"id":39846573,"name":"taskcluster-vcs","full_name":"gregarndt/taskcluster-vcs","owner":{"login":"gregarndt","id":2592630,"avatar_url":"https://avatars.githubusercontent.com/u/2592630?v=3","gravatar_id":"","url":"https://api.github.com/users/gregarndt","html_url":"https://github.com/gregarndt","followers_url":"https://api.github.com/users/gregarndt/followers","following_url":"https://api.github.com/users/gregarndt/following{/other_user}","gists_url":"https://api.github.com/users/gregarndt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregarndt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregarndt/subscriptions","organizations_url":"https://api.github.com/users/gregarndt/orgs","repos_url":"https://api.github.com/users/gregarndt/repos","events_url":"https://api.github.com/users/gregarndt/events{/privacy}","received_events_url":"https://api.github.com/users/gregarndt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gregarndt/taskcluster-vcs","description":"Taskcluster VCS Tools","fork":true,"url":"https://api.github.com/repos/gregarndt/taskcluster-vcs","forks_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/forks","keys_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/teams","hooks_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/hooks","issue_events_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/issues/events{/number}","events_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/events","assignees_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/assignees{/user}","branches_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/branches{/branch}","tags_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/tags","blobs_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/statuses/{sha}","languages_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/languages","stargazers_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/stargazers","contributors_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/contributors","subscribers_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/subscribers","subscription_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/subscription","commits_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/contents/{+path}","compare_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/merges","archive_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/downloads","issues_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/issues{/number}","pulls_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/pulls{/number}","milestones_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/milestones{/number}","notifications_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/labels{/name}","releases_url":"https://api.github.com/repos/gregarndt/taskcluster-vcs/releases{/id}","created_at":"2015-07-28T16:55:29Z","updated_at":"2015-07-28T16:55:29Z","pushed_at":"2015-10-22T02:06:58Z","git_url":"git://github.com/gregarndt/taskcluster-vcs.git","ssh_url":"git@github.com:gregarndt/taskcluster-vcs.git","clone_url":"https://github.com/gregarndt/taskcluster-vcs.git","svn_url":"https://github.com/gregarndt/taskcluster-vcs","homepage":null,"size":268,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"taskcluster:master","ref":"master","sha":"e25b83a476275aeb41a4649f43c5625f0de4b657","user":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":27134555,"name":"taskcluster-vcs","full_name":"taskcluster/taskcluster-vcs","owner":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/taskcluster-vcs","description":"Taskcluster VCS Tools","fork":false,"url":"https://api.github.com/repos/taskcluster/taskcluster-vcs","forks_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/forks","keys_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/teams","hooks_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/events","assignees_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/tags","blobs_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/languages","stargazers_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/subscription","commits_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/merges","archive_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/downloads","issues_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/taskcluster-vcs/releases{/id}","created_at":"2014-11-25T16:20:02Z","updated_at":"2015-03-31T22:45:08Z","pushed_at":"2015-10-22T02:06:58Z","git_url":"git://github.com/taskcluster/taskcluster-vcs.git","ssh_url":"git@github.com:taskcluster/taskcluster-vcs.git","clone_url":"https://github.com/taskcluster/taskcluster-vcs.git","svn_url":"https://github.com/taskcluster/taskcluster-vcs","homepage":null,"size":674,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27"},"html":{"href":"https://github.com/taskcluster/taskcluster-vcs/pull/27"},"issue":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/issues/27"},"comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/taskcluster-vcs/statuses/3edcd0ea23625743e83cc4886d48db08d5a467fd"}}}}