deployer
deployer copied to clipboard
hiddeninput doesn't work under Windows
while using this under Windows
server(...)
...
->pubKey('~/.ssh/id_rsa.pub', '~/.ssh/id_rsa', null);
get an error
PassPhrase: "D:\OpenServer\userdata\tmp/hiddeninput.exe" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
Warning: unlink(D:\OpenServer\userdata\tmp/hiddeninput.exe): No such file or directory in phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/vendor/symfony/console/Sy
mfony/Component/Console/Helper/DialogHelper.php on line 280
Call Stack:
0.0140 219912 1. {main}() D:\OpenServer\modules\php\PHP-5.5\deployer.phar:0
0.0140 220272 2. require('phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/bin/dep') D:\OpenServer\modules\php\PHP-5.5\deployer.phar:4
0.0630 1759312 3. Deployer\Deployer->run() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/bin/dep:51
0.0810 1829168 4. Symfony\Component\Console\Application->run() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Deployer.php:114
0.0820 1829672 5. Symfony\Component\Console\Application->doRun() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/vendor/symfony/console/Symfony/Component/
Console/Application.php:126
0.0830 1830112 6. Symfony\Component\Console\Application->doRunCommand() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/vendor/symfony/console/Symfony/Com
ponent/Console/Application.php:195
0.0830 1830320 7. Symfony\Component\Console\Command\Command->run() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/vendor/symfony/console/Symfony/Componen
t/Console/Application.php:874
0.0850 1832112 8. Deployer\Console\RunTaskCommand->execute() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/vendor/symfony/console/Symfony/Component/Cons
ole/Command/Command.php:253
0.0900 1841128 9. Deployer\Console\RunTaskCommand->runSeries() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Console/RunTaskCommand.php:118
0.0900 1841352 10. Deployer\Task\Runner->run() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Console/RunTaskCommand.php:168
0.0900 1841384 11. call_user_func:{phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Task/Runner.php:45}() phar://D:/OpenServer/modules/php/PHP-5.5/deplo
yer.phar/src/Task/Runner.php:45
0.0900 1841432 12. {closure:phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/recipe/common.php:33-44}() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.ph
ar/src/Task/Runner.php:45
0.0900 1841752 13. run() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/recipe/common.php:37
0.0900 1841928 14. Deployer\Server\Ssh2->run() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/functions.php:115
0.0900 1841960 15. Deployer\Server\Ssh2->checkConnection() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Server/Ssh2.php:92
0.0900 1842272 16. Deployer\Server\Ssh2->connect() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Server/Ssh2.php:83
0.0910 1860608 17. Deployer\Server\Configuration->getPassPhrase() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Server/Ssh2.php:61
0.0910 1860712 18. askHiddenResponse() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/Server/Configuration.php:235
0.0920 1861016 19. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponse() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/src/functions.php:305
0.2130 1862288 20. unlink() phar://D:/OpenServer/modules/php/PHP-5.5/deployer.phar/vendor/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php:280
what can be done to avoid it?
deployer version 2.0.2 (self-update made, why it's not newer?) php version PHP 5.5.13 (cli) (built: May 28 2014 09:50:06) windows 7 pro
managed to make this by installing deployer from sources.
It's looks like Symfony Console bug.
maybe exe file is not included into phar archive? or it cannot be executed from there?
Yes, maybe. Let me check.
Fixed.