282 Commits

Author SHA1 Message Date
Anton Medvedev
427b83ea55 Release 6.5.0 2019-08-12 21:28:24 +03:00
Anton Medvedev
85aae9fd68 Add deploy:check_remote task 2019-08-12 21:01:32 +03:00
Anton Medvedev
d1a6e201ef Release 6.4.7 2019-08-12 13:42:32 +03:00
Kyle Tucker
6180366acf Update config:hosts and config:current task recipes (#1901)
* Update config:hosts and config:current task recipes

* Update changelog

* Fix variable refs
2019-08-09 22:16:00 +03:00
Markus Staab
301ebedc3b fixed invalid phpdoc (#1899)
* 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
2019-08-09 13:45:41 +03:00
Anton Medvedev
f891e29817 Add infection configuration 2019-08-08 13:24:56 +03:00
Anton Medvedev
4190e28fcb
Revert "Handle asterisk wildcard in shared files (#1895)" (#1897)
This reverts commit 6dd0a2c1f7eda33f9b5dbde287ffeda889e025de.
2019-08-08 11:26:20 +03:00
Anton Medvedev
24c22a049d Update CHANGELOG.md 2019-08-07 11:02:26 +03:00
Vytautas Koryzna
6dd0a2c1f7 Handle asterisk wildcard in shared files (#1895) 2019-08-07 11:02:08 +03:00
Anton Medvedev
a7808a21f8 Update CHANGELOG.md 2019-08-07 11:01:25 +03:00
Anton Medvedev
ae07194beb
Update CHANGELOG.md 2019-08-06 22:03:58 +03:00
Wim Griffioen
a6ff2eb4c6 Add tasks to cache a manifest of event listeners (#1893)
* 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
2019-08-06 21:55:32 +03:00
Ahmad Mayahi
bb4d41c896 Add check_remote_head option to avoid unnecessary new releases by che… (#1759)
* 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.
2019-08-06 21:52:41 +03:00
Anton Medvedev
86c407b339 Release 6.4.6 2019-07-30 10:42:26 +03:00
Matthew Muscat
9dcd4eeab1 Update Laravel View Cache commands (#1889)
* 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
2019-07-30 10:39:03 +03:00
extacy
756f121205 Fix crashes on including autoloader in recipe file (#1833)
* Fix crashes on including autoloader in recipe file

* Update CHANGELOG.md
2019-07-17 11:34:47 +03:00
Benjamin Porquet
e1606a09c1 Update CHANGELOG.md (#1882) 2019-07-11 07:35:14 +03:00
Anton Medvedev
be14a4f757 Release 6.4.5 2019-07-01 16:14:52 +03:00
Anton Medvedev
1292b348c6 Release 6.4.4 2019-07-01 07:36:59 +03:00
Alex Plekhanov
0fc524ee58 Laravel view cache task (#1860)
* Substituted laravel view:clear command with view:cache command

* Added version check to view:cache task

* Updated Changelog
2019-06-11 13:16:23 +03:00
Jānis Gruzis
10ba0fae78 Avoid zombie processes in http user resolution. (#1805)
* Avoid zombie processes in http user resolution.

* Changelog improved.
2019-05-16 14:51:00 +07:00
Quynh Xuan Nguyen
2e54dc3bce Fix deployer detects wrong version (#1843)
* Fix deployer detects wrong version

* Update CHANGELOG
2019-05-15 11:59:01 +07:00
Andréas Lundgren
ef55283b4f Add artisan:optimize:clear to Laravel recipe (#1837)
* Add artisan:optimize:clear for Laravel recipe

* Update artisan:optimize to run on newer versions of Laravel
2019-05-06 20:08:45 +08:00
Sander de Jonge
eec02040d2 Support default wordpress implementation (#1834)
* Default Wordpress doesn't use composer

* updated changelog
2019-04-24 23:03:11 +07:00
Ján Regeš
c37f5998fc Added writable_recursive option (default: true) used in all writable modes (chmod, chown, chgrp, acl) (#1823)
* Added `writable_recursive` option (default: true) used in all writable modes (chmod, chown, chgrp, acl) (#1822)

* Update CHANGELOG.md
2019-03-31 20:11:54 +07:00
Filippo Tessarotto
ec0e8c4fdc Git: add option to disable --dissociate flag on cloning (#1820) 2019-03-28 20:26:42 +07:00
Jon Uhlmann
f84dc4dfaf Add lock/unlock to deploy task (#1810)
* Add lock/unlock to deploy task

* Add changelog entry
2019-02-15 13:28:58 +07:00
Anton Medvedev
b948ab82a2 Update CHANGELOG.md 2019-01-20 10:49:46 +07:00
Anton Medvedev
bde7847461 Update CHANGELOG.md 2019-01-18 12:39:06 +07:00
Anton Medvedev
a7d03f8feb Release 6.4.3 2019-01-17 20:53:14 +07:00
Kick_the_BUCKET
c27aa03019 Properly handle input options (#1793)
* Properly handle VALUE_NONE options

* Add test-case for unset VALUE_NONE option

* Fix null and empty string handling

* Better handle value-required options

* Add test-case names for easier issue finding

* Properly handle empty string values

* Update changelog

* Minor test expectation improvement

* Make the input filtering anonymous function static
2019-01-17 12:55:36 +07:00
Anton Medvedev
a1c7ac66a0 Release 6.4.2 2019-01-15 12:58:34 +07:00
Anton Medvedev
98d85929a4 Update CHANGELOG.md 2019-01-15 12:57:56 +07:00
Anton Medvedev
1dba41fcfc Release 6.4.1 2019-01-11 19:02:01 +07:00
Anton Medvedev
dcbc3ca85a Update CHANGELOG.md 2019-01-11 18:56:01 +07:00
Anton Medvedev
c19358df48 Release 6.4.0 2019-01-11 14:54:30 +07:00
Jérémie Augustin
f8ecded38c Fix task(...)->once() with --parallel and --limit (#1784)
* 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
2019-01-06 14:07:40 +07:00
Marko Kruljac
ab290fb04f http_user detection command could return wrong user (#1779)
* 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.
2019-01-02 19:44:33 +07:00
Dmitri Yourchev
6cc8b14a07 Fix laravel set version (#1729)
* Fix Laravel recipe laravel_version failure

Change directory before {{bin/php}} artisan --version.

* Add change log
2018-12-18 00:37:52 +07:00
Arnout Boks
cf8a23e940 Let rsync honor 'become' option for host (#1769)
* 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
2018-11-30 11:13:47 +07:00
Arnout Boks
0b2179632c Escape arguments passed to rsync shell command (#1768)
* Escape arguments passed to rsync shell command

This fixes errors when attempting to upload a path containing spaces.

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-11-30 11:11:53 +07:00
Alexander Schranz
63ab978ad1 Added recipe for sulu 1.x and improve sulu 2.x recipe (#1764)
* added recipe for sulu 1.x

* improve sulu 2 recipe
2018-11-14 13:44:04 +07:00
Jeffrey Cafferata
231d7dcef0 Added the trim function to the Parser tokens. (#1761) 2018-11-10 19:34:47 +07:00
Alexander Schranz
f2bdcef135 added recipe for sulu 2 (#1758) 2018-11-08 08:39:53 +07:00
Jérémy DECOOL
a4ab269df0 Added migrations_config option to the Symfony recipes (#1739)
* Add option to define migration file configuration to Symfony recipe

* Add option to define migration file configuration to Symfony4 recipe

* Update CHANGELOG
2018-10-13 21:02:35 +07:00
Michiel Gerritsen
d5e519a7bc Added horizon:terminate to the Laravel recipe (#1732) 2018-10-10 14:08:47 +07:00
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