Closed sascha-meissner closed 5 months ago
👋 Thanks for the idea! Please remember that this is an open source project - feature requests may or may not be implemented, and if they are, the timeline is unknown. If you need a guaranteed implementation or timeline, sponsorships are welcome!
I´m sorry i didnt find https://github.com/cweagans/composer-patches/issues/139 in the first place, this issue here should be a duplicate
2.x does what you want :)
Verification
composer self-update
)composer update cweagans/composer-patches
)Is your feature request related to a problem?
Currently you can either choose to have one patches-file containing the patches OR having the patches in the root composer json,
if you try to use:
it will ignore the patches-file no matter the order.
BUT it would be a very nice feature to have multiple patch-sources, in example to have a centralized patchmanagement and still have the possibility to have exotic project-specific patches only in the project and not in the central.
Describe your proposed solution(s)
Either support multiple patchfiles, in example:
"patches-file": ["upstream.patches.json", "custom.patches.json"]
which would be the desired solution
Describe alternatives
for our use case two-dimensional approach would also work in example when having
that both, the patches in root composer json will be applied as well as the patches in patches file
Additional context
No response