{"action":"created","issue":{"url":"https://api.github.com/repos/tunapanda/provision/issues/58","labels_url":"https://api.github.com/repos/tunapanda/provision/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/tunapanda/provision/issues/58/comments","events_url":"https://api.github.com/repos/tunapanda/provision/issues/58/events","html_url":"https://github.com/tunapanda/provision/issues/58","id":74281549,"number":58,"title":"Use git+https:// rather than git:// if we can","user":{"login":"limikael","id":902911,"avatar_url":"https://avatars.githubusercontent.com/u/902911?v=3","gravatar_id":"","url":"https://api.github.com/users/limikael","html_url":"https://github.com/limikael","followers_url":"https://api.github.com/users/limikael/followers","following_url":"https://api.github.com/users/limikael/following{/other_user}","gists_url":"https://api.github.com/users/limikael/gists{/gist_id}","starred_url":"https://api.github.com/users/limikael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limikael/subscriptions","organizations_url":"https://api.github.com/users/limikael/orgs","repos_url":"https://api.github.com/users/limikael/repos","events_url":"https://api.github.com/users/limikael/events{/privacy}","received_events_url":"https://api.github.com/users/limikael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-08T08:24:16Z","updated_at":"2015-05-08T12:07:13Z","closed_at":null,"body":"I'm behind a corporate firewall that doesn't allow me to check out things using the git:// protocol from github. If I specify git+https:// it works, however. Admittedly, this is a very stupid firewall, and there is a workaround which is to connect the network cable and use WiFi instead, which I will do.\r\n\r\nBut if this is something we have control over it would be nice if we could make it resilient. Or maybe it is LearningLockers \"fault\"? \r\n\r\n````\r\n==> default: TASK: [learninglocker | Install dependencies (composer)] ********************** \r\n==> default: failed: [127.0.0.1] => {\"failed\": true}\r\n==> default: msg: Loading composer repositories with package information Installing dependencies from lock file - Installing symfony/translation (v2.5.11) Downloading - Installing symfony/security-core (v2.5.11) Downloading - Installing symfony/routing (v2.5.11) Downloading - Installing symfony/process (v2.5.11) Downloading - Installing symfony/http-foundation (v2.5.11) Downloading - Installing symfony/event-dispatcher (v2.6.6) Downloading - Installing symfony/debug (v2.5.11) Downloading - Installing psr/log (1.0.0) Downloading - Installing symfony/http-kernel (v2.5.11) Downloading - Installing symfony/finder (v2.5.11) Downloading - Installing symfony/dom-crawler (v2.5.11) Downloading - Installing symfony/css-selector (v2.5.11) Downloading - Installing symfony/console (v2.5.11) Downloading - Installing symfony/browser-kit \r\n==> default: (v2.5.11) Downloading - Installing swiftmailer/swiftmailer (v5.4.0) Downloading - Installing stack/builder (v1.0.3) Downloading - Installing predis/predis (v0.8.7) Downloading - Installing phpseclib/phpseclib (0.3.10) Downloading - Installing patchwork/utf8 (v1.1.29) Downloading - Installing nesbot/carbon (1.17.0) Downloading - Installing monolog/monolog (1.13.1) Downloading - Installing nikic/php-parser (v0.9.5) Downloading - Installing jeremeamia/superclosure (1.0.2) Downloading - Installing ircmaxell/password-compat (v1.0.4) Downloading - Installing filp/whoops (1.1.5) Downloading - Installing d11wtq/boris (v1.0.8) Downloading Failed to download d11wtq/boris from dist: The \"https://api.github.com/repos/d11wtq/boris/zipball/125dd4e5752639af7678a22ea597115646d89c6e\" file could not be downloaded (HTTP/1.1 404 Not Found) Now trying to download from source - Installing d11wtq/boris (v1.0.8) Cloning 125dd4e5752639af7678a22ea597115646d89c6e - Installing symfony/filesystem (v2.6.6) Downloading - Installing classpreloader/classpreloader (1.0.2) Downloading Failed to download classpreloader/classpreloader from dist: The \"https://api.github.com/repos/mtdowling/ClassPreloader/zipball/2c9f3bcbab329570c57339895bd11b5dd3b00877\" file could not be downloaded (HTTP/1.1 404 Not Found) Now trying to download from source - Installing classpreloader/classpreloader (1.0.2) Cloning 2c9f3bcbab329570c57339895bd11b5dd3b00877 - Installing laravel/framework (v4.2.8) Downloading - Installing andywer/js-localization (dev-laravel-4.2 8f6ba01) Cloning 8f6ba018a15e9dd26591eb3abd7b2dcd03282df3 - Installing asm89/stack-cors (0.2.1) Downloading - Installing barryvdh/laravel-cors (v0.2.3) Downloading - Installing bshaffer/oauth2-server-php (v1.7.0) Downloading - Installing bshaffer/oauth2-server-httpfoundation-bridge (v1.1) Downloading - Installing davejamesmiller/laravel-breadcrumbs (2.2.3) Downloading - Installing jenssegers/mongodb (v1.4.3) Downloading - Installing learninglocker/statementfactory (v0.0.1) Downloading - Installing philo/laravel-translate (v1.0.6) Downloading - Installing ramsey/array_column (1.1.3) Downloading - Installing way/generators (2.6.1) Downloading Generating optimized autoload files Script cd public/assets/js && bower --allow-root update && cd ../../.. handling the post-install-cmd event returned with an error [RuntimeException] Error Output: bower text#~2.0.12 ECMDERR Failed to execute \"git ls-remote --tags --heads git://github.com/requirejs/text.git\", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.130]: errno=Connection timed out Additional error details: fatal: unable to connect to github.com: github.com[0: 192.30.252.130]: errno=Connection timed out install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]\r\n==> default: \r\n==> default: FATAL: all hosts have already failed -- aborting\r\n==> default: \r\n==> default: PLAY RECAP ******************************************************************** \r\n==> default:            to retry, use: --limit @/root/swag_dev.retry\r\n==> default: \r\n==> default: 127.0.0.1                  : ok=42   changed=31   unreachable=0    failed=1   \r\n==> default: !!! PROVISIONING FAILED !!!\r\n````"},"comment":{"url":"https://api.github.com/repos/tunapanda/provision/issues/comments/100212497","html_url":"https://github.com/tunapanda/provision/issues/58#issuecomment-100212497","issue_url":"https://api.github.com/repos/tunapanda/provision/issues/58","id":100212497,"user":{"login":"usernamenumber","id":188349,"avatar_url":"https://avatars.githubusercontent.com/u/188349?v=3","gravatar_id":"","url":"https://api.github.com/users/usernamenumber","html_url":"https://github.com/usernamenumber","followers_url":"https://api.github.com/users/usernamenumber/followers","following_url":"https://api.github.com/users/usernamenumber/following{/other_user}","gists_url":"https://api.github.com/users/usernamenumber/gists{/gist_id}","starred_url":"https://api.github.com/users/usernamenumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usernamenumber/subscriptions","organizations_url":"https://api.github.com/users/usernamenumber/orgs","repos_url":"https://api.github.com/users/usernamenumber/repos","events_url":"https://api.github.com/users/usernamenumber/events{/privacy}","received_events_url":"https://api.github.com/users/usernamenumber/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T12:07:13Z","updated_at":"2015-05-08T12:07:13Z","body":"Yeah, unfortunately this appears to be a url generated by composer, not\nsomething the provisioning scripts have control over. I don't know enough\nabout composer to know whether the offending url is part of\nlearninglocker's config, or require.js's in a composer repo somewhere or\nwhat, but I think the only way to change this would be to file an issue\nupstream.\n\n\n...well, I guess I *could* have the provisioning system do\ns/git:/git+http:/ on all the composer files provided by LL? Kind of a\nhorrible kludge, though.\n\nOn Fri, May 8, 2015 at 4:24 AM, Mikael Lindqvist <notifications@github.com>\nwrote:\n\n> I'm behind a corporate firewall that doesn't allow me to check out things\n> using the git:// protocol from github. If I specify git+https:// it\n> works, however. Admittedly, this is a very stupid firewall, and there is a\n> workaround which is to connect the network cable and use WiFi instead,\n> which I will do.\n>\n> But if this is something we have control over it would be nice if we could\n> make it resilient. Or maybe it is LearningLockers \"fault\"?\n>\n> ==> default: TASK: [learninglocker | Install dependencies (composer)] **********************\n> ==> default: failed: [127.0.0.1] => {\"failed\": true}\n> ==> default: msg: Loading composer repositories with package information Installing dependencies from lock file - Installing symfony/translation (v2.5.11) Downloading - Installing symfony/security-core (v2.5.11) Downloading - Installing symfony/routing (v2.5.11) Downloading - Installing symfony/process (v2.5.11) Downloading - Installing symfony/http-foundation (v2.5.11) Downloading - Installing symfony/event-dispatcher (v2.6.6) Downloading - Installing symfony/debug (v2.5.11) Downloading - Installing psr/log (1.0.0) Downloading - Installing symfony/http-kernel (v2.5.11) Downloading - Installing symfony/finder (v2.5.11) Downloading - Installing symfony/dom-crawler (v2.5.11) Downloading - Installing symfony/css-selector (v2.5.11) Downloading - Installing symfony/console (v2.5.11) Downloading - Installing symfony/browser-kit\n> ==> default: (v2.5.11) Downloading - Installing swiftmailer/swiftmailer (v5.4.0) Downloading - Installing stack/builder (v1.0.3) Downloading - Installing predis/predis (v0.8.7) Downloading - Installing phpseclib/phpseclib (0.3.10) Downloading - Installing patchwork/utf8 (v1.1.29) Downloading - Installing nesbot/carbon (1.17.0) Downloading - Installing monolog/monolog (1.13.1) Downloading - Installing nikic/php-parser (v0.9.5) Downloading - Installing jeremeamia/superclosure (1.0.2) Downloading - Installing ircmaxell/password-compat (v1.0.4) Downloading - Installing filp/whoops (1.1.5) Downloading - Installing d11wtq/boris (v1.0.8) Downloading Failed to download d11wtq/boris from dist: The \"https://api.github.com/repos/d11wtq/boris/zipball/125dd4e5752639af7678a22ea597115646d89c6e\" file could not be downloaded (HTTP/1.1 404 Not Found) Now trying to download from source - Installing d11wtq/boris (v1.0.8) Cloning 125dd4e5752639af7678a22ea597115646d89c6e - Installing symfony/filesystem\n>   (v2.6.6) Downloading - Installing classpreloader/classpreloader (1.0.2) Downloading Failed to download classpreloader/classpreloader from dist: The \"https://api.github.com/repos/mtdowling/ClassPreloader/zipball/2c9f3bcbab329570c57339895bd11b5dd3b00877\" file could not be downloaded (HTTP/1.1 404 Not Found) Now trying to download from source - Installing classpreloader/classpreloader (1.0.2) Cloning 2c9f3bcbab329570c57339895bd11b5dd3b00877 - Installing laravel/framework (v4.2.8) Downloading - Installing andywer/js-localization (dev-laravel-4.2 8f6ba01) Cloning 8f6ba018a15e9dd26591eb3abd7b2dcd03282df3 - Installing asm89/stack-cors (0.2.1) Downloading - Installing barryvdh/laravel-cors (v0.2.3) Downloading - Installing bshaffer/oauth2-server-php (v1.7.0) Downloading - Installing bshaffer/oauth2-server-httpfoundation-bridge (v1.1) Downloading - Installing davejamesmiller/laravel-breadcrumbs (2.2.3) Downloading - Installing jenssegers/mongodb (v1.4.3) Downloading - Installing learningloc\n>  ker/statementfactory (v0.0.1) Downloading - Installing philo/laravel-translate (v1.0.6) Downloading - Installing ramsey/array_column (1.1.3) Downloading - Installing way/generators (2.6.1) Downloading Generating optimized autoload files Script cd public/assets/js && bower --allow-root update && cd ../../.. handling the post-install-cmd event returned with an error [RuntimeException] Error Output: bower text#~2.0.12 ECMDERR Failed to execute \"git ls-remote --tags --heads git://github.com/requirejs/text.git\", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.130]: errno=Connection timed out Additional error details: fatal: unable to connect to github.com: github.com[0: 192.30.252.130]: errno=Connection timed out install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platfor\n>  m-reqs] [packages1] ... [packagesN]\n> ==> default:\n> ==> default: FATAL: all hosts have already failed -- aborting\n> ==> default:\n> ==> default: PLAY RECAP ********************************************************************\n> ==> default:            to retry, use: --limit @/root/swag_dev.retry\n> ==> default:\n> ==> default: 127.0.0.1                  : ok=42   changed=31   unreachable=0    failed=1\n> ==> default: !!! PROVISIONING FAILED !!!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/tunapanda/provision/issues/58>.\n>\n"}}