Skip to content

Avoid executing recipes of dependencies of dependencies #940

Closed as not planned
@alexander-schranz

Description

@alexander-schranz

I'm running more and more issues when recipes of dependencies of dependencies are executed. As example I create a bundle which is build on top of symfony/ux components. Now installing the bundle modifies always the projects package.json and other files of the project which are completely on another stack. Know the installaton guide of that library need to tell undo that files as it has nothing todo with the installed library.
Same problem we already have in sulu/sulu which requires doctrinephpcrbundle which recipe doesn't match sulu/sulu requirements. The problem I see could be fixed by that recipes are only execute when they are first party requirements and not requirements of requirements.

This could also be like contrib a flag in composer.json to make it configurable. Or requirements of requirements should always be asked if they should be executed.

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