You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Top Level
Pacakge 1
Subpackage A
Subpackage B
Patch
Subpackage C
Package 2
Subpackage B
Patch
Subpackage D
The patch will get queued twice and on the second application will fail. You can also see this if you apply the same patch URL with a different description in one file:
{
"name": "cweagans/composer-patches-test-project",
"description": "Project for use in cweagans/composer-patches acceptance tests.",
"type": "project",
"license": "BSD-2-Clause",
"repositories": [
{
"type": "path",
"url": "../composer-patches"
}
],
"require": {
"cweagans/composer-patches": "*@dev",
"drupal/drupal": "~8.2"
},
"extra": {
"patches": {
"drupal/drupal": {
"Add a startup config for the PHP web server": "https://www.drupal.org/files/issues/add_a_startup-1543858-58.patch",
"Add a startup config for the PHP web server again": "https://www.drupal.org/files/issues/add_a_startup-1543858-58.patch"
}
}
}
}
I think if the same patch URL is presented twice, it should only be applied the first time.
The text was updated successfully, but these errors were encountered:
Given a structure like this:
The patch will get queued twice and on the second application will fail. You can also see this if you apply the same patch URL with a different description in one file:
I think if the same patch URL is presented twice, it should only be applied the first time.
The text was updated successfully, but these errors were encountered: