Cotya / magento-composer-installer

Composer installer for Magento modules
212 stars 77 forks source link

Redeploy doesn't work #169

Open Radio opened 6 years ago

Radio commented 6 years ago

I'm running:

composer run-script post-install-cmd -vvv -- --redeploy

It outputs (besides composer stuff):

start magento core deploy via deployManager
start magento module deploy via deployManager
jump over deployLibraries as no Magento libraryPath is set

But no package is re-deployed. I've checked in: \MagentoHackathon\Composer\Magento\DeployManager::doDeploy And found out that there are no packages set up in the deploy manager. \MagentoHackathon\Composer\Magento\DeployManager::addPackage needs to be called in order to add packages, but it looks like this only happens on composer install and composer update (see: \MagentoHackathon\Composer\Magento\Installer\MagentoInstallerAbstract::install and \MagentoHackathon\Composer\Magento\Installer\MagentoInstallerAbstract::update).

I also found it in \MagentoHackathon\Composer\Magento\Command\DeployCommand::execute but this class seems not being used anymore.

Please suggest.

kozie commented 6 years ago

It isn't doing a thing for me neither. It even doesn't patch the app/Mage.php.