319 Commits

Author SHA1 Message Date
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
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