Skip to content

magento core/modules mapped per-file are not appended to gitignore #175

Open
@gganchev

Description

@gganchev

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:

  1. in MagentoHackathon/Composer/Magento/DeployManager.php the $eventManager property has no events in it and therefore the post-package-deploy dispatch does nothing
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions