Skip to content

Add Monorepo Support #176

Description

@Kenneth-Sills

Problem

Currently, Pricore requires each repository to contain exactly one package with its composer.json at the top-level directory. It'd be nice to be able to specify an optional subdirectory or subdirectories where package(s) in the repository may be found instead.

Proposed Solution

I would imagine this would work at the "Add Repository" level. In the modal, it could have another optional field similar to the default branch input where the user can put a pattern or glob for the directories to discover composer.json packages. An organization-wide default would also be nice.

I believe this would only work when distribution mirroring is enabled, since Composer itself is otherwise unable to handle subdirectories.

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions