Skip to content

Root Package Versioning and 'child' packages #7

@jeffturcotte

Description

@jeffturcotte

Currently, If you were to add a new major version to a root/framework package where your directory structure changed, your packages supporting that framework cannot specify the version of the package they support.

The best "workaround" is currently to override the framework name in your root package config for the new version. This means that no new root package repository would be needed and your child packages can simply add the new framework name to their map.

I think the solution above is probably adequate, but we should at least explore the idea of specifying project/framework versions in the child package. It's most likely possible to take advantage of the functionality provided by \Composer\Package\Version\VersionParser in supporting this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions