* fixed invalid phpdoc
* Update CHANGELOG.md
* fixed askChoice() @return phpdoc
it can return array on multiselect questions but also scalars on non-multi
* fixed typo
* fixed another typo
* more precise phpdoc
* Add tasks to cache a manifest of event listeners
Laravel supports automatic discovery of events and listeners since
version 5.8.9. (https://laravel.com/docs/5.8/events#event-discovery)
As the documentation states, you want to cache the manifest of event
listeners in a production environment to prevent scanning the
directories on every request.
The new tasks are not added to the deploy task because automatic event
discovery is opt-in functionality in Laravel.
* Update CHANGELOG.md
* Add check_remote_head option to avoid unnecessary new releases by checking the remote git HEAD without cloning the repo.
* Add check_remote_head into the CHANGELOG
* Add the pull request link to CHANGELOG
* Update CHANGELOG.md
Removed extra spaces: https://github.com/deployphp/deployer/pull/1759
* Fix changelog. Improve check_remote_head
* Use GrasefulSutdown exception instead of exit(0).
* Change bash if statement in check_remote_head.
* Remove redundant code.
* Replace if statement with test.
* Update artisan cache commands
- Re-add `artisan:view:clear` command
- Modify the existing `artisan:view:cache` command to remove the call to clear the cache, as this is already completed by the Laravel Framework
* Updated changelog with laravel view cache changes
* Update CHANGELOG.md
Update newline spacing to fix scrutinizer failure
* add test to show issue with once() used with --parallel and --limit issue
* handle once() in a better way to prevent issue with --parallel and --limit
* Add test before http_user detection
Script will no attempt to longer detect http_user if there are more than 1 possible candidates.
* Update CHANGELOG.md
Updated for issue #1778
* Update CHANGELOG.md
Added missing link to issue
* Change detection strategy from bash test to php
This reduces the number of ssh calls to the remote host.
* Let rsync honor 'become' option for host
If a host has a 'become' option set, it seems sensible that rsync uploads
should also be performed as that same user, which is currently not the case.
This change makes rsync run as the 'become' user by running sudo on the
remote side, just like how 'become' is implemented for normal SSH commands.
* Update CHANGELOG.md
* Update CHANGELOG.md
* Escape arguments passed to rsync shell command
This fixes errors when attempting to upload a path containing spaces.
* Update CHANGELOG.md
* Update CHANGELOG.md
* 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
* 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§
* 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