286 Commits

Author SHA1 Message Date
Justinas
075b5b5d0a fixed default header override caused by array union (#1727)
* Fix header merge

We should use array_merge to append and reindex header array, + causes an issue where if we add a header, like for example Authorization, then the first item in merged header will be skipped (Content-Type) as there will already be a header at 0 index of array. + does not replace values which keys already exist in arrays

* Update CHANGELOG.md
2018-10-07 20:41:11 +07:00
Philipp Bräutigam
ad8e77579d Pass-through the quiet mode into the git commands for updating code (#1724)
* Enabled quiet mode for git if the verbosity level is 16 (QUIET)

* Updated CHANGELOG.md
2018-10-05 13:20:49 +07:00
Bernhard Zürn
6625420b42 Allow the remote shell path to be overridden by host config (#1708)
* Allow the remote shell path to be overridden by host config

Allow the remote shell path to be overridden by host config -> right now i have the case that $SHELL is incorrect on the remote but I can't fix it (shared hosting). Secondly with this implementation I can explicitly select the shell via Host Config

* Update SshCommand.php

* Update SshCommand.php

* #1706 php bin/changelog§
2018-09-22 10:18:39 +07:00
Anton Medvedev
9e24cf4c1b
Changelog parser (#1692)
* Add changelog parser

* Add changelog stringer

* Fix empty lines

* Better error message

* Remove getters

* Remove extra white space

* Style fix

* Add test

* Add update/release/fix commands

* Update PULL_REQUEST_TEMPLATE.md

* Update tests
2018-09-06 13:03:38 +07:00
Bernhard Zürn
26c3400d53 Added Exception Handling for perhaps missing config param (#1677)
* modify wrong ticket url (#1605)

* moving the name column to the last position to show full name

- bug fix: #1579

* add changelog

* update changelog.md

* update CHANGELOG.md

* modify command to find http user

* modify command to find http user

* modify wrong ticket url

* Remove magento:enable from Magento 2 recipe (#1606)

* Remove magento:enable from Magento 2 recipe

Magento's module states are stored in app/etc/config.php. This task
ignored that and blindly enabled all installed modules.

* Mention the removal of magento:enable in the changelog

* Extend deploy:cleanup with tty allocation when using sudo. (#1607)

* Added option cleanup_tty to allow allocation when using sudo

* Added comment for new option cleanup_tty to CHANGELOG

* Allow to set template path in Drupal 7 Settings recipe (#1613)

* Change drupal:settings task to drupal:configure

* Drupal 7 recipe - Set template file path

* Changelog

* Fixed once() tasks that where being run multiple times with ParallelE… (#1624)

* Fixed once() tasks that where being run multiple times with ParallelExecutor

* CHANGELOG: reorder issue

* Add test case for parallel deploy on ->once() task

* Added cleanup_use_sudo option to all commands in deploy:cleanup (#1632)

* Added option cleanup_tty to allow allocation when using sudo

* Added comment for new option cleanup_tty to CHANGELOG

* Added cleanup_use_sudo option to all commands in cleanup.php

* Fix return types for fluent interface (#1638)

* Add Prestashop 1.6 recipe (#1641)

* Add Prestashop 1.6 recipe

* Update changelog

* Sleep between process status calls to prevent 100% CPU usage (#1654)

* Sleep between progress status calls to prevent 100% CPU usage

* Add changelog entry

* Typo in changelog entry

* Update ParallelExecutor.php

* Update ParallelExecutor.php

* locate binary with less subprocesses (#1634)

* Set custom user for CI environments (#1659)

* Detect CI user

* Update CHANGELOG.md

* Update README.md

* [deploy:writable] chgrp doesn't need http_user (#1660)

* deploy:writable: chgrp doesn't need http_user

* Update CHANGELOG.md

* Add missing deploy:writable entries (#1662)

* Fix missing deploy:shared entries (#1664)

* Added Exception Handling for perhaps missing config param

Sometimes deploy_path is not set and a cd into this folder is not possible. But the deployment can be successful without it.

* style

* #1677 fixes according pull-request feedback

* #1677 code style fixes

* Added Exception Handling for perhaps missing config param

Sometimes deploy_path is not set and a cd into this folder is not possible. But the deployment can be successful without it.

* style

* #1677 fixes according pull-request feedback

* #1677 code style fixes

* Changelog entry for #1677

* Changelog entry for #1677

* Changelog entry for #1677
2018-09-05 19:03:04 +07:00
J Randall
b4672dd2fb Fixes issue #1671, Range expansion in FileLoader when host.yml is loa… (#1686) 2018-09-04 13:28:33 +07:00
leo108
17ce9a86b0 Laravel deploy task should not call cache:clear (#1681)
* Laravel deploy task should not call cache:clear

* Update CHANGELOG.md
2018-08-28 01:08:53 +07:00
Anton Medvedev
3013995ad7 Release v6.3.0 2018-08-27 13:37:53 +07:00
leo108
c1309f255f Laravel Task artisan:migrate should only run once. (#1679) 2018-08-27 13:33:45 +07:00
Jamie Burchell
03454faadb Fix missing deploy:shared entries (#1664) 2018-08-27 13:33:45 +07:00
Jamie Burchell
3a6d4878fa Add missing deploy:writable entries (#1662) 2018-08-27 13:33:45 +07:00
Filippo Tessarotto
68d2cf32e9 [deploy:writable] chgrp doesn't need http_user (#1660)
* deploy:writable: chgrp doesn't need http_user

* Update CHANGELOG.md
2018-08-27 13:33:45 +07:00
Filippo Tessarotto
3ee12d7365 Set custom user for CI environments (#1659)
* Detect CI user

* Update CHANGELOG.md
2018-08-27 13:33:45 +07:00
Markus Staab
05d935de52 locate binary with less subprocesses (#1634) 2018-08-27 13:33:45 +07:00
Michel Bardelmeijer
8f8aad6508 Sleep between process status calls to prevent 100% CPU usage (#1654)
* Sleep between progress status calls to prevent 100% CPU usage

* Add changelog entry

* Typo in changelog entry

* Update ParallelExecutor.php

* Update ParallelExecutor.php
2018-08-27 13:33:45 +07:00
Léopold Jacquot
9b12fe31dc Add Prestashop 1.6 recipe (#1641)
* Add Prestashop 1.6 recipe

* Update changelog
2018-08-27 13:33:45 +07:00
Marc Legay
fe88babd85 Fixed once() tasks that where being run multiple times with ParallelE… (#1624)
* Fixed once() tasks that where being run multiple times with ParallelExecutor

* CHANGELOG: reorder issue

* Add test case for parallel deploy on ->once() task
2018-08-27 13:33:45 +07:00
Sergio Carracedo Martinez
2b154bead2 Allow to set template path in Drupal 7 Settings recipe (#1613)
* Change drupal:settings task to drupal:configure

* Drupal 7 recipe - Set template file path

* Changelog
2018-08-27 13:33:45 +07:00
klopschlike
c9333cc376 Extend deploy:cleanup with tty allocation when using sudo. (#1607)
* Added option cleanup_tty to allow allocation when using sudo

* Added comment for new option cleanup_tty to CHANGELOG
2018-08-27 13:33:45 +07:00
Rudolph Gottesheim
25e0824cb1 Remove magento:enable from Magento 2 recipe (#1606)
* Remove magento:enable from Magento 2 recipe

Magento's module states are stored in app/etc/config.php. This task
ignored that and blindly enabled all installed modules.

* Mention the removal of magento:enable in the changelog
2018-08-27 13:33:45 +07:00
Ryan Park
1f6a74c23e modify wrong ticket url (#1605)
* moving the name column to the last position to show full name

- bug fix: #1579

* add changelog

* update changelog.md

* update CHANGELOG.md

* modify command to find http user

* modify command to find http user

* modify wrong ticket url
2018-08-27 13:33:45 +07:00
Anton Medvedev
79245fdbe3 Add missing release 2018-08-27 13:33:26 +07:00
Anton Medvedev
49c694b384 Warning with host without configuration [#1583] 2018-04-18 11:50:02 +07:00
Gabriele Formenti
1e26eff4af added becomeSetHome method to add -H flag when using sudo (#1556)
* added becomeSetHome method to add -H flag when using sudo

* updated changelog file

* updated changelog file

* added default -H flag  when become is used

* updated changelog
2018-04-18 11:40:23 +07:00
Anton Medvedev
fee943f8d3 Add missing var/sessions [#1566] 2018-04-18 11:38:05 +07:00
GoodVibesDevelopment
4d0df304f9 Using param's value inside (#1541)
* Parse Host params

* update changelog
2018-04-18 11:34:39 +07:00
Anton Medvedev
88e4085f58 Update CHANGELOG.md 2018-04-18 11:31:22 +07:00
Ryan Park
96f5edaebe moving the name column to the last position to show full name (#1580)
* moving the name column to the last position to show full name

- bug fix: #1579

* add changelog

* update changelog.md

* update CHANGELOG.md

* modify command to find http user

* modify command to find http user
2018-04-18 11:22:03 +07:00
Anton Medvedev
467969b3fe Update CHANGELOG.md 2018-04-18 11:15:54 +07:00
Markus Staab
42f9b75d77 Update CHANGELOG.md (#1563) 2018-03-06 00:02:44 +07:00
Anton Medvedev
cc5574f6fb Update CHANGELOG.md 2018-03-05 20:25:09 +07:00
Oskar van Velden
b3361841ce Add DebugCommand to display task execution order (#1491)
* Add DebugCommand

* Adjust display of debug to table layout

* Update changelog

* Update CHANGELOG.md

* Fix StyleCI error

* Revert "Adjust display of debug to table layout" and setup new tree structure

This reverts commit db97551c1a2e83b0d7cc026c06c86d050fa14939.

* Render tree view (the basic)

* Tweak rendering of tree

* Add depth for groups and pipe symbol

* Fix rendering of last element

* Display postfix for groups

* Fix issue with display of after-task after last grouped task

* Fix CS

* Fix StyleCI issues

* Add doc-comments

* Update CHANGELOG.md

Fix issue order (by request of Scrutinizer)
2018-02-28 00:48:13 +07:00
xakzona
5f2659a0f0 Update symfony package dependencies to 4.0 (#1559)
* Update symfony package dependencies to 4.0

* Update changelog

* Update changelog 2
2018-02-27 23:25:32 +07:00
pascal08
056db8a1b1 Improve readability of command for finding web server user (#1558)
* Improve readability of command for finding web server user

* Update CHANGELOG.md

* Add reference link to CHANGELOG.md
2018-02-22 20:56:14 +07:00
Barry vd. Heuvel
c3f77d3dfc Show regular output when errorOutput is empty (#1554)
* Show regular output when errorOutput is empty

* Update CHANGELOG.md
2018-02-18 08:59:26 +07:00
Gregor Harlan
c1e2633687 parse input before using dirname() (#1545)
* parse input of dirname()

* tests

* changelog
2018-02-14 15:44:35 +07:00
Markus Staab
25bd695251 reverted changelog from deployphp/deployer#1521 as the impl also was reverted (#1538) 2018-02-08 18:45:46 +07:00
Anton Medvedev
7c1b8567cd
Revert "Missing {{bin/php}} in deploy:vendors" (#1537)
* Revert "create objects only when necessary (#1528)"

This reverts commit 0fc63021061f3265ccae203f549e958120ab968a.

* Revert "fixed typo (#1520)"

This reverts commit 971843db5d1ec706f6a8685108ad56f24dc9253f.

* Revert "throw meaningfull exception on errors in cd() (#1519)"

This reverts commit b139933b24e0f6c419e869a72e69e85955517b7f.

* Revert "Missing {{bin/php}} in deploy:vendors (#1521)"

This reverts commit 6dae113be8277bedb1e74658dfbf71e0712dd578.
2018-02-08 11:42:52 +07:00
Markus Staab
b139933b24 throw meaningfull exception on errors in cd() (#1519)
* throw meaningfull exception on errors in cd()

* CHANGELOG

* fixed CS

* Update CHANGELOG.md
2018-01-25 11:21:45 +07:00
Adam Gąsowski
6dae113be8 Missing {{bin/php}} in deploy:vendors (#1521)
* Missing {{bin/php}} in deploy:vendors

* Update CHANGELOG.md
2018-01-25 08:34:20 +07:00
Markus Staab
722b693688 Make sure pop() is called when Callback errors in on(...) function (#1513)
* Make sure pop() is called when Callback errors in on(...) function

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-01-21 20:22:45 +07:00
Anton Medvedev
55fc698cb5
Update CHANGELOG.md 2018-01-19 14:40:11 +07:00
Corey Sewell
217935fc1e Update silverstripe recipe to support silverstripe 4 (#1499) 2018-01-11 11:47:05 +07:00
Markus Staab
703292c1e9 prevent warning when pcntl_fork() is on disable_functions php.ini bla… (#1476)
* prevent warning when pcntl_fork() is on disable_functions php.ini blacklist

* Update CHANGELOG.md

* Update Reporter.php

* Update CHANGELOG.md
2018-01-06 20:17:33 +07:00
Markus Staab
4b2c9fe427 Log unhandled Exceptions into logfile (#1482)
* log symfony-console handled exceptions into logfile

* log early bootstrap exceptions into logfile

* updated CHANGELOG.md

* fixed CS

* try to fix php warning

Declaration of Deployer\Console\Application::renderException(Exception $e, Symfony\Component\Console\Output\OutputInterface $output) should be compatible with Symfony\Component\Console\Application::renderException($e, $output)

* log in TaskCommand instead of Application, to prevent x-symfony-console version issues
2017-12-29 15:04:11 +07:00
Markus Staab
c0eb202991 Add a description to the autocomplete command (#1472)
* Add a description to the autocomplete command

* updated changelog

* fixed CS
2017-12-22 20:28:40 +07:00
Markus Staab
b8c81fab0e use try/finally to make sure working-path restore on Exceptions (#1463)
* use try/finally to make sure working-path restore on Exceptions

* Update functions.php

* Update CHANGELOG.md

* Update CHANGELOG.md

* fixed CS
2017-12-20 19:19:16 +07:00
Anton Medvedev
4d5d5d0f9e Release v6.0.5 2017-12-16 21:42:03 +07:00
Anton Medvedev
e8192fd596 Add release script 2017-12-16 21:39:15 +07:00
Anton Medvedev
67063c3c24 Add tests for deploy:release 2017-12-16 20:29:52 +07:00