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
Problem
Currently, Pricore requires each repository to contain exactly one package with its
composer.jsonat 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.jsonpackages. 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