Ismael Ambrosi
8ae83cbabd
Use instanceof instead of method is_a
...
Since is_a is a method, it is significantly slower than using instanceof
Following is a perfomance comparison:
http://micro-optimization.com/is_a-vs-instanceof
2014-12-05 02:40:30 -02:00
Andrés Montañez
e453d1977d
Merge pull request #159 from SenseException/phpunit
...
Unittests for Magallanes
2014-12-01 22:21:41 -02:00
Andrés Montañez
ba9b322dab
Merge pull request #158 from samuel4x4/develop
...
Bug fix for scm/force-update, add general/manually task, bug fix for symfony2/doctrine-migrate, improve symfony2/cache-clear
2014-12-01 21:33:21 -02:00
Andrés Montañez
555269bf66
Merge pull request #154 from gudron/rollback_exception
...
Rollback exception. Fixed bug with deployment description in hosts section.
2014-12-01 21:33:10 -02:00
Andrés Montañez
d9e860a20c
Merge pull request #153 from edpauto/verbose-option
...
Add verbose option to commands
2014-12-01 21:17:54 -02:00
Claudio Zizza
d53b8fd8b8
new test added for unknown color names
2014-11-29 20:56:22 +01:00
Claudio Zizza
6e1a4d248d
group annotation added
2014-11-29 20:54:12 +01:00
Claudio Zizza
b11688ea2b
initial phpunit config with test example
2014-11-27 21:56:52 +01:00
samuel4x4
4d1048cca6
Add optional parameters for symfony2/cache-clear
...
Add optional parameters for symfony2/cache-clear task like --no-warmup.
2014-11-24 01:36:08 +02:00
samuel4x4
5eb771bf30
Rename DoctrineMigrate to DoctrineMigrateTask
...
I hope this is the reason it doesn't works.
2014-11-24 01:08:52 +02:00
samuel4x4
e9e5ab1d45
Fix ManuallyTask namespace
...
namespace Mage\Task\BuiltIn\General
2014-11-24 00:44:23 +02:00
samuel4x4
94673b4af2
manually task
...
one more example for the manually task
2014-11-23 23:57:00 +02:00
samuel4x4
41c3e00f67
Task for running multiple manually commands
...
The purpose of this task is to provide a way to run multiple custom
commands for your specific project, before Magallanes will have build-in
tasks for your needs. Also maybe you'll just not consider you should
create custom tasks for all commands you need (e.g. specific user rights
for specific files and directories).
2014-11-23 23:34:58 +02:00
samuel4x4
c010fc662e
Change runCommandRemote() to runCommand()
...
Change runCommandRemote() to runCommand(), you decide if the command is
running local or remote depending of the stage you put the
scm/force-update task. Remove the last $result =
$this->runCommandLocal($command), not necessary.
2014-11-23 23:03:31 +02:00
Alex V Kotelnikov
a632dac80a
added in-deploy flag @ rollback task.
2014-11-13 16:47:52 +04:00
Alex V Kotelnikov
5eb26748ab
added restriction to run the rollback.
...
small changes at rollback output.
2014-11-13 16:40:02 +04:00
Alex V Kotelnikov
db4b4299c2
added rollback delete default option from yaml configs
2014-11-13 02:07:20 +04:00
Alex V Kotelnikov
8e603bd0d2
fixed bug with a env-configuration containing deployment description in hosts section
2014-11-13 00:13:19 +04:00
Kuba Turek
9eb61d1d4b
Write down some example of verbose usage option
2014-11-11 20:41:02 +01:00
Kuba Turek
d63d105471
Add ability to set 'verbose_logging' for environment
2014-11-11 20:38:26 +01:00
Kuba Turek
0734c7be0a
Check if verbose logging is enabled
2014-11-11 20:34:50 +01:00
Kuba Turek
654753b70f
Avoid duplicating output when verbose option is turned on
2014-11-11 20:29:46 +01:00
Kuba Turek
67e00bca59
Add verbose logging state variable
2014-11-11 20:27:33 +01:00
Kuba Turek
575632d62b
Enable configurable verbose logging
2014-11-11 20:18:27 +01:00
Андрей Колченко
1dc97d77f8
Fix email.
2014-11-05 17:19:40 +03:00
Андрей Колченко
3a41a860d0
Make target dir before invoking "ln".
...
Fix bug with spaces in path.
2014-11-05 17:16:55 +03:00
Андрей Колченко
9d30900798
Add symfony/filesystem to requires block.
2014-11-05 17:12:49 +03:00
Андрей Колченко
ce2da4e270
Getting linked entities.
2014-11-05 16:42:13 +03:00
Андрей Колченко
d52927fe07
Get path and strategy.
2014-11-05 16:39:43 +03:00
Андрей Колченко
4c719f5efd
PHP 5.3 does not support "[]" brackets.
2014-11-05 15:37:07 +03:00
Андрей Колченко
642773b5af
PSR-2 style.
2014-11-05 15:36:14 +03:00
Андрей Колченко
5c4a2ad0be
Add .idea to .gitignore
2014-11-05 15:08:02 +03:00
Andrés Montañez
5199a915b6
Merge branch 'develop'
2014-11-01 19:49:41 -02:00
Andrés Montañez
609745ccc4
Prepare for new release.
2014-11-01 19:49:04 -02:00
Andrés Montañez
30a53fcfda
Merge branch 'master' into develop
2014-11-01 19:48:31 -02:00
Andrés Montañez
c34fa53af5
Fixes #121
2014-11-01 19:31:04 -02:00
Andrés Montañez
40e8c33846
Related to #130
2014-11-01 19:19:05 -02:00
Andrés Montañez
8771cf2ab1
Fixes #131
2014-11-01 19:09:25 -02:00
Andrés Montañez
e4aafb3d3f
Merge pull request #150 from gudron/rollback_exception
...
Rollback exception
2014-11-01 18:35:12 -02:00
Andrés Montañez
27a4da4115
Merge pull request #149 from gudron/relative_linking
...
Relative linking @ shared file task.
2014-11-01 18:27:10 -02:00
Andrés Montañez
df632b3fe3
Tweak excludes files.
2014-11-01 18:15:39 -02:00
Andrés Montañez
a71bd5fca0
Merge pull request #148 from gudron/exclude_from_file
...
Rsync , TarGz exclude from file
2014-11-01 18:08:08 -02:00
Andrés Montañez
c6fc7b786e
Merge pull request #146 from samuel4x4/develop
...
Add task for force updating a working copy
2014-11-01 17:49:29 -02:00
Alex V Kotelnikov
b924b92240
added config reload @ after rollback exception
2014-10-31 00:03:31 +04:00
Alex V Kotelnikov
438a81542e
changes @ deploy command. added rollback exception functionality.
2014-10-30 23:49:01 +04:00
Alex V Kotelnikov
50e2d6eeb5
small fixes @ link shared files task. wrong constant value
2014-10-30 23:16:07 +04:00
Alex V Kotelnikov
0a14573126
relative linking @ Link shared files task. Added exclusion rules to symlinks creation.
2014-10-30 23:16:07 +04:00
Alex V Kotelnikov
6f551cabf0
added relative linking @ Link shared files task
2014-10-30 23:16:07 +04:00
Alex V Kotelnikov
95f09dc3c9
small fixes @ rsync and targz tasks
2014-10-30 12:31:05 +04:00
Alex V Kotelnikov
a66478b3ab
exclude from file added.
...
rebased by upstream
2014-10-29 23:16:52 +04:00