-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Display the package(s) that required a failing patch #256
Comments
|
Thank you, @cweagans. Could you point me to a PR/issue detailing this behavior change whereby "patches from dependencies are no longer resolved out-of-the-box"? I need to fully understand the change so I know whether my Drupal builds need to do anything in response. |
#267 is where it was removed. Don't make changes just yet though. This will be detailed in the release announcement down the road a bit + there may be another way to do it by then if I (or somebody else) writes a plugin to re-add the functionality. |
Just to be clear - this is for 2.x, which is not released yet. I won't be changing that behavior in 1.x. |
Great, thanks. 🙂 |
When a build fails because composer-patches can't apply a patch declared by a third party package, it can be difficult to find the culprit in order to fix it. Output in that case currently looks like this:
Perhaps it output could be expanded to include the package(s) that called for the patch. As inspiration, consider the output of
composer depends
:Workaround: It appears that this information gets written to
composer.lock
underextra.patches_applied
in the declaring package object(s), so you can manually search for the answer there (if you get that far). ht @phenaproximaThe text was updated successfully, but these errors were encountered: