deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.41k stars 1.47k forks source link

refactor(shopware): Optimize `getPlugins` to use json output #3780

Closed mralexandernickel closed 4 months ago

mralexandernickel commented 4 months ago

Refactoring the getPlugins function to not parse regular commandline output anymore, instead use the --json flag plugin:list. Refactoring 'sw:plugin:update:all' to not upgrade every installed plugin, but every installed plugin that in fact is upgradable.

Schrank commented 4 months ago

Thank you so much for taking care of that. It is on my list for months.

Schrank commented 4 months ago

And please regenerate the doc:

Please, regenerate docs by running next command: $ php bin/docgen

Thanks! :)

mralexandernickel commented 4 months ago

@Schrank so, I've removed the explode (obviously^^), and used these changes within a real projects deployment, looking good to me. And I've also updated the docs 😊

And thank you very much for your effort on this project! ❤

Schrank commented 4 months ago

Awesome, thank you!