1674 Commits

Author SHA1 Message Date
Anton Medvedev
1364f6d081
Create SPONSORS.md 2018-12-10 11:01:07 +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
2ad907e14d Code style fixes (#1762)
* Update missing argument in PHPDoc.

* Splits the IF-statement/workflow(s) for readability

* Replace double quotes to single quotes.

* Replaced alias functions by original functions.

* Define return types.

* Type casting can be used

* Non-optimal regular expression, \d is a subset of \w.
2018-11-11 09:00:08 +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
AK
2eb2256377 Return self in addBefore and addAfter methods to follow builder pattern (#1750)
* Update Task.php

addBefore and addAfter methods should follow builder pattern

* Update Task.php
2018-10-25 13:48:09 +07:00
Daisuke Tsuji
9ff76cbf06 changed bin/dep, when error happend, output message to STDERR and exit(1) (#1745) 2018-10-17 12:10:48 +07:00
Janyk Steenbeek
16acc82b12 Updating shields to HTTPS (#1742) 2018-10-16 15:34:01 +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
Daisuke Tsuji
dcaf5f0c0d remove sudo: false from .travis.yml (#1737) 2018-10-11 11:28:28 +07:00
Michiel Gerritsen
d5e519a7bc Added horizon:terminate to the Laravel recipe (#1732) 2018-10-10 14:08:47 +07:00
Daisuke Tsuji
688b31de59 Speedup Travis CI (#1731)
* enable composer cache on Travis CI

* using Container on Travis CI
2018-10-10 12:35:01 +07:00
Daisuke Tsuji
658c2df22a Updated gitignore (#1726)
* added coverage.xml to .gitignore

* removed .php_cs.cache from .gitignore

* added .DS_Store to .gitignore

* Update CHANGELOG.md (updated .gitignore)

* Revert "added .DS_Store to .gitignore"

This reverts commit e372283ae79ea8bacdb8e6d3d1e789d36a2b14f3.

* Revert "added coverage.xml to .gitignore"

This reverts commit b34fc413223408af2cc3eb34a52904764132efa7.

* Revert "Update CHANGELOG.md (updated .gitignore)"

This reverts commit 5149eda8a0e264d2522dfd2636a31733e42778f5.
2018-10-08 12:09:38 +07:00
Vitaliy Ryaboy
3707561f5c [Collection], [Configuration], [Exception], [Executor] upgrade code to php7 (#1721)
* [Collection], [Configuration], [Exception], [Executor] upgrade code to php7

* implement CR feedback
2018-10-08 12:08:31 +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
Vitaliy Ryaboy
01782211e7 remove undefined class usage (#1714) 2018-09-28 08:17:11 +03: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
459c895eaf
Update README.md 2018-09-17 19:21:19 +07:00
Anton Medvedev
2b8dbcb0d7
Update PULL_REQUEST_TEMPLATE.md 2018-09-06 13:04:42 +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 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
Anton Medvedev
c44a95b3cb Update README.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
Lars Strojny
6ae0a81765 Fix return types for fluent interface (#1638) 2018-08-27 13:33:45 +07:00
klopschlike
218369dd02 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
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
00e0b27025 Add compression for Phar archives v6.2.0 2018-04-20 19:24:16 +07:00
Anton Medvedev
99423f0b6e Fix build script and update composer 2018-04-20 19:23:19 +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