{"action":"created","comment":{"url":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/comments/221290286","pull_request_review_id":159907768,"id":221290286,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTI5MDI4Ng==","diff_hunk":"@@ -723,7 +724,16 @@ func (j *setupHostJob) fetchRemoteTaskData(ctx context.Context, taskId, cliPath,\n \t\tBuffer:   &bytes.Buffer{},\n \t\tMaxBytes: 1024 * 1024,\n \t}\n-\tfetchCmd := fmt.Sprintf(\"%s -c %s fetch -t %s --source --artifacts --dir='%s'\", cliPath, confPath, taskId, target.Distro.WorkDir)\n+\ttokenString, err := j.env.Settings().GetGithubOauthToken()\n+\tif err != nil {\n+\t\treturn errors.Wrap(err, \"error retrieving github token\")\n+\t}\n+\tsplitToken := strings.Split(tokenString, \" \")\n+\tif len(splitToken) != 2 || splitToken[0] != \"token\" {\n+\t\treturn errors.New(\"token format was invalid, expected 'token [token]'\")\n+\t}\n+\toauthToken := splitToken[1]","path":"units/provisioning_setup_host.go","position":null,"original_position":21,"commit_id":"b508fb001be312e2e8485d507adaef239afe1c25","original_commit_id":"58ceb599e5dc1f8b0a77cbf775808e7efcf634db","user":{"login":"john-m-liu","id":29384396,"node_id":"MDQ6VXNlcjI5Mzg0Mzk2","avatar_url":"https://avatars2.githubusercontent.com/u/29384396?v=4","gravatar_id":"","url":"https://api.github.com/users/john-m-liu","html_url":"https://github.com/john-m-liu","followers_url":"https://api.github.com/users/john-m-liu/followers","following_url":"https://api.github.com/users/john-m-liu/following{/other_user}","gists_url":"https://api.github.com/users/john-m-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/john-m-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-m-liu/subscriptions","organizations_url":"https://api.github.com/users/john-m-liu/orgs","repos_url":"https://api.github.com/users/john-m-liu/repos","events_url":"https://api.github.com/users/john-m-liu/events{/privacy}","received_events_url":"https://api.github.com/users/john-m-liu/received_events","type":"User","site_admin":false},"body":"Yep refactored this out and also opened EVG-5393 to remove the word \"token\" from the config","created_at":"2018-09-28T15:20:34Z","updated_at":"2018-09-28T15:20:34Z","html_url":"https://github.com/evergreen-ci/evergreen/pull/1682#discussion_r221290286","pull_request_url":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/comments/221290286"},"html":{"href":"https://github.com/evergreen-ci/evergreen/pull/1682#discussion_r221290286"},"pull_request":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682"}},"in_reply_to_id":221074529},"pull_request":{"url":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682","id":218760037,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NzYwMDM3","html_url":"https://github.com/evergreen-ci/evergreen/pull/1682","diff_url":"https://github.com/evergreen-ci/evergreen/pull/1682.diff","patch_url":"https://github.com/evergreen-ci/evergreen/pull/1682.patch","issue_url":"https://api.github.com/repos/evergreen-ci/evergreen/issues/1682","number":1682,"state":"open","locked":false,"title":"EVG-5400 clone over https for spawn hosts","user":{"login":"john-m-liu","id":29384396,"node_id":"MDQ6VXNlcjI5Mzg0Mzk2","avatar_url":"https://avatars2.githubusercontent.com/u/29384396?v=4","gravatar_id":"","url":"https://api.github.com/users/john-m-liu","html_url":"https://github.com/john-m-liu","followers_url":"https://api.github.com/users/john-m-liu/followers","following_url":"https://api.github.com/users/john-m-liu/following{/other_user}","gists_url":"https://api.github.com/users/john-m-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/john-m-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-m-liu/subscriptions","organizations_url":"https://api.github.com/users/john-m-liu/orgs","repos_url":"https://api.github.com/users/john-m-liu/repos","events_url":"https://api.github.com/users/john-m-liu/events{/privacy}","received_events_url":"https://api.github.com/users/john-m-liu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-27T19:15:34Z","updated_at":"2018-09-28T15:20:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed89595e956a3738ed0e5bd29e2baf6c3c9c6f77","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682/commits","review_comments_url":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682/comments","review_comment_url":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evergreen-ci/evergreen/issues/1682/comments","statuses_url":"https://api.github.com/repos/evergreen-ci/evergreen/statuses/b508fb001be312e2e8485d507adaef239afe1c25","head":{"label":"john-m-liu:EVG-5400","ref":"EVG-5400","sha":"b508fb001be312e2e8485d507adaef239afe1c25","user":{"login":"john-m-liu","id":29384396,"node_id":"MDQ6VXNlcjI5Mzg0Mzk2","avatar_url":"https://avatars2.githubusercontent.com/u/29384396?v=4","gravatar_id":"","url":"https://api.github.com/users/john-m-liu","html_url":"https://github.com/john-m-liu","followers_url":"https://api.github.com/users/john-m-liu/followers","following_url":"https://api.github.com/users/john-m-liu/following{/other_user}","gists_url":"https://api.github.com/users/john-m-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/john-m-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-m-liu/subscriptions","organizations_url":"https://api.github.com/users/john-m-liu/orgs","repos_url":"https://api.github.com/users/john-m-liu/repos","events_url":"https://api.github.com/users/john-m-liu/events{/privacy}","received_events_url":"https://api.github.com/users/john-m-liu/received_events","type":"User","site_admin":false},"repo":{"id":100648346,"node_id":"MDEwOlJlcG9zaXRvcnkxMDA2NDgzNDY=","name":"evergreen","full_name":"john-m-liu/evergreen","private":false,"owner":{"login":"john-m-liu","id":29384396,"node_id":"MDQ6VXNlcjI5Mzg0Mzk2","avatar_url":"https://avatars2.githubusercontent.com/u/29384396?v=4","gravatar_id":"","url":"https://api.github.com/users/john-m-liu","html_url":"https://github.com/john-m-liu","followers_url":"https://api.github.com/users/john-m-liu/followers","following_url":"https://api.github.com/users/john-m-liu/following{/other_user}","gists_url":"https://api.github.com/users/john-m-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/john-m-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-m-liu/subscriptions","organizations_url":"https://api.github.com/users/john-m-liu/orgs","repos_url":"https://api.github.com/users/john-m-liu/repos","events_url":"https://api.github.com/users/john-m-liu/events{/privacy}","received_events_url":"https://api.github.com/users/john-m-liu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/john-m-liu/evergreen","description":"A Distributed Continuous Integration System from MongoDB","fork":true,"url":"https://api.github.com/repos/john-m-liu/evergreen","forks_url":"https://api.github.com/repos/john-m-liu/evergreen/forks","keys_url":"https://api.github.com/repos/john-m-liu/evergreen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/john-m-liu/evergreen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/john-m-liu/evergreen/teams","hooks_url":"https://api.github.com/repos/john-m-liu/evergreen/hooks","issue_events_url":"https://api.github.com/repos/john-m-liu/evergreen/issues/events{/number}","events_url":"https://api.github.com/repos/john-m-liu/evergreen/events","assignees_url":"https://api.github.com/repos/john-m-liu/evergreen/assignees{/user}","branches_url":"https://api.github.com/repos/john-m-liu/evergreen/branches{/branch}","tags_url":"https://api.github.com/repos/john-m-liu/evergreen/tags","blobs_url":"https://api.github.com/repos/john-m-liu/evergreen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/john-m-liu/evergreen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/john-m-liu/evergreen/git/refs{/sha}","trees_url":"https://api.github.com/repos/john-m-liu/evergreen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/john-m-liu/evergreen/statuses/{sha}","languages_url":"https://api.github.com/repos/john-m-liu/evergreen/languages","stargazers_url":"https://api.github.com/repos/john-m-liu/evergreen/stargazers","contributors_url":"https://api.github.com/repos/john-m-liu/evergreen/contributors","subscribers_url":"https://api.github.com/repos/john-m-liu/evergreen/subscribers","subscription_url":"https://api.github.com/repos/john-m-liu/evergreen/subscription","commits_url":"https://api.github.com/repos/john-m-liu/evergreen/commits{/sha}","git_commits_url":"https://api.github.com/repos/john-m-liu/evergreen/git/commits{/sha}","comments_url":"https://api.github.com/repos/john-m-liu/evergreen/comments{/number}","issue_comment_url":"https://api.github.com/repos/john-m-liu/evergreen/issues/comments{/number}","contents_url":"https://api.github.com/repos/john-m-liu/evergreen/contents/{+path}","compare_url":"https://api.github.com/repos/john-m-liu/evergreen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/john-m-liu/evergreen/merges","archive_url":"https://api.github.com/repos/john-m-liu/evergreen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/john-m-liu/evergreen/downloads","issues_url":"https://api.github.com/repos/john-m-liu/evergreen/issues{/number}","pulls_url":"https://api.github.com/repos/john-m-liu/evergreen/pulls{/number}","milestones_url":"https://api.github.com/repos/john-m-liu/evergreen/milestones{/number}","notifications_url":"https://api.github.com/repos/john-m-liu/evergreen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/john-m-liu/evergreen/labels{/name}","releases_url":"https://api.github.com/repos/john-m-liu/evergreen/releases{/id}","deployments_url":"https://api.github.com/repos/john-m-liu/evergreen/deployments","created_at":"2017-08-17T21:56:25Z","updated_at":"2017-08-17T21:56:29Z","pushed_at":"2018-09-28T15:19:33Z","git_url":"git://github.com/john-m-liu/evergreen.git","ssh_url":"git@github.com:john-m-liu/evergreen.git","clone_url":"https://github.com/john-m-liu/evergreen.git","svn_url":"https://github.com/john-m-liu/evergreen","homepage":"http://evergreen.mongodb.com","size":63254,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"evergreen-ci:master","ref":"master","sha":"2185c78e41136ef7f55cde4cb8e85b4b0aabdf7e","user":{"login":"evergreen-ci","id":10089490,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDg5NDkw","avatar_url":"https://avatars3.githubusercontent.com/u/10089490?v=4","gravatar_id":"","url":"https://api.github.com/users/evergreen-ci","html_url":"https://github.com/evergreen-ci","followers_url":"https://api.github.com/users/evergreen-ci/followers","following_url":"https://api.github.com/users/evergreen-ci/following{/other_user}","gists_url":"https://api.github.com/users/evergreen-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/evergreen-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evergreen-ci/subscriptions","organizations_url":"https://api.github.com/users/evergreen-ci/orgs","repos_url":"https://api.github.com/users/evergreen-ci/repos","events_url":"https://api.github.com/users/evergreen-ci/events{/privacy}","received_events_url":"https://api.github.com/users/evergreen-ci/received_events","type":"Organization","site_admin":false},"repo":{"id":36385798,"node_id":"MDEwOlJlcG9zaXRvcnkzNjM4NTc5OA==","name":"evergreen","full_name":"evergreen-ci/evergreen","private":false,"owner":{"login":"evergreen-ci","id":10089490,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDg5NDkw","avatar_url":"https://avatars3.githubusercontent.com/u/10089490?v=4","gravatar_id":"","url":"https://api.github.com/users/evergreen-ci","html_url":"https://github.com/evergreen-ci","followers_url":"https://api.github.com/users/evergreen-ci/followers","following_url":"https://api.github.com/users/evergreen-ci/following{/other_user}","gists_url":"https://api.github.com/users/evergreen-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/evergreen-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evergreen-ci/subscriptions","organizations_url":"https://api.github.com/users/evergreen-ci/orgs","repos_url":"https://api.github.com/users/evergreen-ci/repos","events_url":"https://api.github.com/users/evergreen-ci/events{/privacy}","received_events_url":"https://api.github.com/users/evergreen-ci/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/evergreen-ci/evergreen","description":"A Distributed Continuous Integration System from MongoDB","fork":false,"url":"https://api.github.com/repos/evergreen-ci/evergreen","forks_url":"https://api.github.com/repos/evergreen-ci/evergreen/forks","keys_url":"https://api.github.com/repos/evergreen-ci/evergreen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evergreen-ci/evergreen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evergreen-ci/evergreen/teams","hooks_url":"https://api.github.com/repos/evergreen-ci/evergreen/hooks","issue_events_url":"https://api.github.com/repos/evergreen-ci/evergreen/issues/events{/number}","events_url":"https://api.github.com/repos/evergreen-ci/evergreen/events","assignees_url":"https://api.github.com/repos/evergreen-ci/evergreen/assignees{/user}","branches_url":"https://api.github.com/repos/evergreen-ci/evergreen/branches{/branch}","tags_url":"https://api.github.com/repos/evergreen-ci/evergreen/tags","blobs_url":"https://api.github.com/repos/evergreen-ci/evergreen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evergreen-ci/evergreen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evergreen-ci/evergreen/git/refs{/sha}","trees_url":"https://api.github.com/repos/evergreen-ci/evergreen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evergreen-ci/evergreen/statuses/{sha}","languages_url":"https://api.github.com/repos/evergreen-ci/evergreen/languages","stargazers_url":"https://api.github.com/repos/evergreen-ci/evergreen/stargazers","contributors_url":"https://api.github.com/repos/evergreen-ci/evergreen/contributors","subscribers_url":"https://api.github.com/repos/evergreen-ci/evergreen/subscribers","subscription_url":"https://api.github.com/repos/evergreen-ci/evergreen/subscription","commits_url":"https://api.github.com/repos/evergreen-ci/evergreen/commits{/sha}","git_commits_url":"https://api.github.com/repos/evergreen-ci/evergreen/git/commits{/sha}","comments_url":"https://api.github.com/repos/evergreen-ci/evergreen/comments{/number}","issue_comment_url":"https://api.github.com/repos/evergreen-ci/evergreen/issues/comments{/number}","contents_url":"https://api.github.com/repos/evergreen-ci/evergreen/contents/{+path}","compare_url":"https://api.github.com/repos/evergreen-ci/evergreen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evergreen-ci/evergreen/merges","archive_url":"https://api.github.com/repos/evergreen-ci/evergreen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evergreen-ci/evergreen/downloads","issues_url":"https://api.github.com/repos/evergreen-ci/evergreen/issues{/number}","pulls_url":"https://api.github.com/repos/evergreen-ci/evergreen/pulls{/number}","milestones_url":"https://api.github.com/repos/evergreen-ci/evergreen/milestones{/number}","notifications_url":"https://api.github.com/repos/evergreen-ci/evergreen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evergreen-ci/evergreen/labels{/name}","releases_url":"https://api.github.com/repos/evergreen-ci/evergreen/releases{/id}","deployments_url":"https://api.github.com/repos/evergreen-ci/evergreen/deployments","created_at":"2015-05-27T18:03:09Z","updated_at":"2018-09-27T21:26:55Z","pushed_at":"2018-09-28T15:19:34Z","git_url":"git://github.com/evergreen-ci/evergreen.git","ssh_url":"git@github.com:evergreen-ci/evergreen.git","clone_url":"https://github.com/evergreen-ci/evergreen.git","svn_url":"https://github.com/evergreen-ci/evergreen","homepage":"http://evergreen.mongodb.com","size":63244,"stargazers_count":179,"watchers_count":179,"language":"Go","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":52,"open_issues":6,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682"},"html":{"href":"https://github.com/evergreen-ci/evergreen/pull/1682"},"issue":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/issues/1682"},"comments":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/issues/1682/comments"},"review_comments":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682/comments"},"review_comment":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/pulls/1682/commits"},"statuses":{"href":"https://api.github.com/repos/evergreen-ci/evergreen/statuses/b508fb001be312e2e8485d507adaef239afe1c25"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"john-m-liu"}}