i'm building automated script installs latest version of symfony 2.2, adds our company's cms bundles composer.json, creates couple of new bundles , on.
the automation works otherwise fine, of vendor downloads github fail randomly due timeouts. when run php composer.phar install again, download succeeds , install process fails again few dependencies later. after 10 executions, installed.
this causes big problems installer, quits , cleans installed in case assertions fail. there way can either keep running composer install command until i'm sure installed, or ask composer retry downloads if fail?
composer has built in feature retry downloads, see:
https://github.com/composer/composer/commit/5267bafa2cb28e564dbca8d1bfaa64de2a120827
Comments
Post a Comment