Open
Description
So, I have some modules (including core) mapped on a file-per-file base and not as folders. I started a new project today and nothing got added to the .gitignore file. After some poking around I found out the following:
- in MagentoHackathon/Composer/Magento/DeployManager.php the $eventManager property has no events in it and therefore the post-package-deploy dispatch does nothing
- in MagentoHackathon/Composer/Magento/Deploystrategy/Copy.php when there's a file-to-file copy the files are not added to the deployed files and therefore even if the event is properly added the files do not get appended to the .gitignore file.
Since I needed it working I hacked it by manually adding the event listener for post-package-deploy and also by modifying the code so that it also adds deployed files when it does file-to-file copy.
P.S. I might be using the whole thing "wrong", but the situation seemed as an issue and not as an intended behavior.
Thank you for your time.
Metadata
Metadata
Assignees
Labels
No labels