-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency patch resolution: resolve file paths to local patches stored in dependencies #549
Comments
👋 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! |
Edit: Created a separate issue: #551 (original comment)Bah, this breaks my setup in We've been using https://github.com/wieni/composer-plugin-patchsets, which worked well for our use-case. I see it's possible to exclude patches from a dependency using I think the default option we have now (granting every dependency patch rights by default) can become a potential can of worms to debug. People will have a much better understanding of why certain conflicts/errors happen if they are responsible to define which dependencies they want to grab patches from, which result in less GitHub issues/questions. Is it possible to define: {
"ignore-dependency-patches": ["*"], // don't allow patches from anyone else (should be default I think)
"dependency-patches": ["your-org/drupal-patches"] // list of repositories you trust to apply patches from
} |
|
@cweagans if you want I can also take a look at this one. |
I won't say no :) I'll update here if I beat you to it! |
Verification
composer self-update
)composer update cweagans/composer-patches
)Is your feature request related to a problem?
If a dependency defines a patch that is distributed alongside that dependency, it has historically been difficult to actually get that patch to apply to the project.
Describe your proposed solution(s)
If a dependency defines a patch and also distributes that patch alongside the dependency, we should just fix the path so that Composer Patches does the right thing.
Describe alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: