* Safety to avoid modifying files outside deploy_path
Using writable_dirs with writable_use_sudo can lead to a disaster on a server (example using /var/log instead of var/log as writable dir).
* Update writable.php
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update writable.php
* trailing slash
* docgen
* throw exception if absolute path in writable dirs
Composer installer can now take an argument to select which version channel to use: https://github.com/composer/getcomposer.org/pull/156/files
This allows for exemple to stay on major version 1 without specifying a specific Composer version
* fixed issue #2209
Copy shared files and folder should be verbose only when deployer is run with Very verbose output
* updated CHANGELOG.md
* changed to -vvv
* changes sprintf to interpolation
Reworked the `deploy:check_remote` step, to use the `on(localhost(), ...)`,
instead of relying on `runLocally`.
This has been changed, to make sure that the all functions that
are being executed and are related to "local" part of the logic,
are ran on the local host.
Previously in `runLocally(sprintf("%s ls-remote $opt $repository $ref", get('bin/git')));`
the `get('bin/git')` would've been executed on the remote host, which
could have resulted in an unexpected behaviour.
By closing all of the instructions, in the closure that is executed
by the `on()` function, we are sure that the context is set to the
right host.
* 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.
* 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.
* 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
* 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
* 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