{"action":"created","comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/comments/91624450","pull_request_review_id":12135199,"id":91624450,"diff_hunk":"@@ -128,7 +140,20 @@\n \n run(\"tar -cf $moduleArchivePath * .??*\");\n \n-run(\"git clone --depth=100 --quiet -b $coreInstallerBranch git://github.com/silverstripe/silverstripe-installer.git $targetPath\");\n+run(\"wget $installerDist -O /tmp/installer.zip\");\n+\n+$zip = new ZipArchive();\n+$zip->open('/tmp/installer.zip');\n+$folderName = $zip->getNameIndex(0);\n+\n+run(\"unzip /tmp/installer.zip -d /tmp/\");\n+\n+run(\"mkdir -p $targetPath\");\n+\n+run(\"mv /tmp/{$folderName}/* $targetPath\");\n+run(\"mv /tmp/{$folderName}/.* $targetPath\");\n+\n+die;","path":"travis_setup.php","position":null,"original_position":44,"commit_id":"064b4a84219d0e7365a1efbb7bd459453f7bc0d8","original_commit_id":"ddd6d4be0a5dffc0c77c89222ab0593d9e72c120","user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"body":"removing the `die` would be a good idea...","created_at":"2016-12-08T22:43:14Z","updated_at":"2016-12-08T22:43:14Z","html_url":"https://github.com/silverstripe/silverstripe-travis-support/pull/39#discussion_r91624450","pull_request_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/comments/91624450"},"html":{"href":"https://github.com/silverstripe/silverstripe-travis-support/pull/39#discussion_r91624450"},"pull_request":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39","id":97213604,"html_url":"https://github.com/silverstripe/silverstripe-travis-support/pull/39","diff_url":"https://github.com/silverstripe/silverstripe-travis-support/pull/39.diff","patch_url":"https://github.com/silverstripe/silverstripe-travis-support/pull/39.patch","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/issues/39","number":39,"state":"open","locked":false,"title":"Download correct installer version","user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"body":"Download the correct installer version for a given core release","created_at":"2016-12-08T22:27:30Z","updated_at":"2016-12-08T22:43:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f8fe30483a8cbaab4801ed592276b284be9cc81","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39/commits","review_comments_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39/comments","review_comment_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/comments{/number}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/issues/39/comments","statuses_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/statuses/064b4a84219d0e7365a1efbb7bd459453f7bc0d8","head":{"label":"dhensby:pulls/download-correct-installer","ref":"pulls/download-correct-installer","sha":"064b4a84219d0e7365a1efbb7bd459453f7bc0d8","user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"repo":{"id":75736129,"name":"silverstripe-travis-support","full_name":"dhensby/silverstripe-travis-support","owner":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhensby/silverstripe-travis-support","description":"Creates a SilverStripe project \"around\" a module, based on core version constraints and its composer.json definitions","fork":true,"url":"https://api.github.com/repos/dhensby/silverstripe-travis-support","forks_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/forks","keys_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/teams","hooks_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/hooks","issue_events_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/issues/events{/number}","events_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/events","assignees_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/assignees{/user}","branches_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/branches{/branch}","tags_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/tags","blobs_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/statuses/{sha}","languages_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/languages","stargazers_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/stargazers","contributors_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/contributors","subscribers_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/subscribers","subscription_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/subscription","commits_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/contents/{+path}","compare_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/merges","archive_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/downloads","issues_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/issues{/number}","pulls_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/pulls{/number}","milestones_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/milestones{/number}","notifications_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/labels{/name}","releases_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/releases{/id}","deployments_url":"https://api.github.com/repos/dhensby/silverstripe-travis-support/deployments","created_at":"2016-12-06T13:55:02Z","updated_at":"2016-12-06T13:55:02Z","pushed_at":"2016-12-08T22:43:13Z","git_url":"git://github.com/dhensby/silverstripe-travis-support.git","ssh_url":"git@github.com:dhensby/silverstripe-travis-support.git","clone_url":"https://github.com/dhensby/silverstripe-travis-support.git","svn_url":"https://github.com/dhensby/silverstripe-travis-support","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"silverstripe:master","ref":"master","sha":"59dcf9309ebaa23019f6c4d7dbe5f693f19b8354","user":{"login":"silverstripe","id":379348,"avatar_url":"https://avatars.githubusercontent.com/u/379348?v=3","gravatar_id":"","url":"https://api.github.com/users/silverstripe","html_url":"https://github.com/silverstripe","followers_url":"https://api.github.com/users/silverstripe/followers","following_url":"https://api.github.com/users/silverstripe/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe/subscriptions","organizations_url":"https://api.github.com/users/silverstripe/orgs","repos_url":"https://api.github.com/users/silverstripe/repos","events_url":"https://api.github.com/users/silverstripe/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe/received_events","type":"Organization","site_admin":false},"repo":{"id":9082820,"name":"silverstripe-travis-support","full_name":"silverstripe/silverstripe-travis-support","owner":{"login":"silverstripe","id":379348,"avatar_url":"https://avatars.githubusercontent.com/u/379348?v=3","gravatar_id":"","url":"https://api.github.com/users/silverstripe","html_url":"https://github.com/silverstripe","followers_url":"https://api.github.com/users/silverstripe/followers","following_url":"https://api.github.com/users/silverstripe/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe/subscriptions","organizations_url":"https://api.github.com/users/silverstripe/orgs","repos_url":"https://api.github.com/users/silverstripe/repos","events_url":"https://api.github.com/users/silverstripe/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/silverstripe/silverstripe-travis-support","description":"Creates a SilverStripe project \"around\" a module, based on core version constraints and its composer.json definitions","fork":false,"url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support","forks_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/forks","keys_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/teams","hooks_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/hooks","issue_events_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/issues/events{/number}","events_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/events","assignees_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/assignees{/user}","branches_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/branches{/branch}","tags_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/tags","blobs_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/git/refs{/sha}","trees_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/statuses/{sha}","languages_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/languages","stargazers_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/stargazers","contributors_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/contributors","subscribers_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/subscribers","subscription_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/subscription","commits_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/commits{/sha}","git_commits_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/git/commits{/sha}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/comments{/number}","issue_comment_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/issues/comments{/number}","contents_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/contents/{+path}","compare_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/merges","archive_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/downloads","issues_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/issues{/number}","pulls_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls{/number}","milestones_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/milestones{/number}","notifications_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/labels{/name}","releases_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/releases{/id}","deployments_url":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/deployments","created_at":"2013-03-28T17:47:50Z","updated_at":"2016-12-06T19:26:14Z","pushed_at":"2016-12-08T22:43:13Z","git_url":"git://github.com/silverstripe/silverstripe-travis-support.git","ssh_url":"git@github.com:silverstripe/silverstripe-travis-support.git","clone_url":"https://github.com/silverstripe/silverstripe-travis-support.git","svn_url":"https://github.com/silverstripe/silverstripe-travis-support","homepage":null,"size":158,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":7,"forks":17,"open_issues":7,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39"},"html":{"href":"https://github.com/silverstripe/silverstripe-travis-support/pull/39"},"issue":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/issues/39"},"comments":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/silverstripe/silverstripe-travis-support/statuses/064b4a84219d0e7365a1efbb7bd459453f7bc0d8"}}}}
{"actor":{"display_login":"dhensby"}}