Verification
Is your feature request related to a problem?
In the 2.0 release the description isn't in the output making it more difficult to debug patch failures.
For example, previously patch failures would look something like:
- Applying patches for drupal/core
https://git.drupalcode.org/project/drupal/-/commit/dne.patch (really cool patch from next release)
Could not apply patch! Skipping. The error was: Cannot apply patch https://git.drupalcode.org/project/drupal/-/commit/dne.patch
Its quite clear this was the "really cool patch"
But now they look like:
- Patching drupal/core
- Found cached patch at /mnt/ddev-global-cache/composer/patches/c0388b619228608ba69d8303e07789fb3762d41d58ba8aa26d53529ad498022a.patch
In Patches.php line 288:
No available patcher was able to apply patch https://git.drupalcode.org/project/drupal/-/commit/dne.patch to drupal/core
I often use this to reference the merge/issue or other relevant context so when you see the failure its obvious what failed, what it was used for, where to go to engage with fixing it, etc.
Now, unless its a local patch with a very descriptive file name, its much more difficult to diagnose requiring digging through the patches list.
Describe your proposed solution(s)
Add the description back some where in the patching or failure output so its clear what is being applied and failed.
Describe alternatives
Don't know what an alternative would be. This would just be restoring some useful context to developers.
Additional context
No response
Verification
composer self-update)composer update cweagans/composer-patches)Is your feature request related to a problem?
In the 2.0 release the description isn't in the output making it more difficult to debug patch failures.
For example, previously patch failures would look something like:
Its quite clear this was the "really cool patch"
But now they look like:
I often use this to reference the merge/issue or other relevant context so when you see the failure its obvious what failed, what it was used for, where to go to engage with fixing it, etc.
Now, unless its a local patch with a very descriptive file name, its much more difficult to diagnose requiring digging through the patches list.
Describe your proposed solution(s)
Add the description back some where in the patching or failure output so its clear what is being applied and failed.
Describe alternatives
Don't know what an alternative would be. This would just be restoring some useful context to developers.
Additional context
No response