Patch-ignore IS NOW ignoring specified patch

Created on 5 April 2024, 8 months ago
Updated 22 April 2024, 7 months ago

Problem/Motivation

hi
Varbase has included the patch #37 of the issue Add a Normalizer and Denormalizer to support Layout Builder Add a Normalizer and Denormalizer to support Layout Builder Needs work .

When i was on varbase-9.0* , for some reasons i can't remember in detail bu that are related to default_content module that was not exporting as i expected, i applied the patch #53 Add a Normalizer and Denormalizer to support Layout Builder Needs work of the issue mentioned above while ignoring the the patch #37 in my composer file as recommended in Varbase Doc and everything was working fine.

Yesterday, because of drupal core warning about security (10.2.3) i manually run a lando composer update to move to D10.2.5 . But when the process reach the patching step, after applying the patch #53 to default_content module, the patch-ignore section in which i specify to ignore varbase included patch #37 is not considered anymore which make composer try to still apply the patch #37

At the end composer could not finish properly the update process.

Steps to reproduce

in composer.json :

               "patches": {
            "drupal/default_content": {
                "1 - Add a Normalizer and Denormalizer to support Layout Builder - https://www.drupal.org/project/default_content/issues/3160146#comment-14814050": "https://www.drupal.org/files/issues/2022-12-06/default_content-3160146-53.patch",
                "2 - Do not reimport existing entities": "https://www.drupal.org/files/issues/2022-07-29/default_content-fix-uuid-duplicate-entry-2698425.patch",
                "3 - Update inline block usage on import - https://www.drupal.org/project/default_content/issues/3359137#comment-15042582": "https://www.drupal.org/files/issues/2023-05-09/default_content-3359137-3.patch",
                "4 - Null references in dependencies": "https://www.drupal.org/files/issues/2021-04-19/default-content-check-null-reference-3209506-3.patch",
                "5 - Drush comand to export all items from entity with defined criteria ": "https://www.drupal.org/files/issues/2023-10-06/2786479-46.patch"
            },
            "drupal/easy_install": {
                "PHP warning on": "https://www.drupal.org/files/issues/2020-07-25/Solution.patch"
            }
        },
        "patches-ignore": {
            "drupal/varbase_core": {
                "drupal/default_content": {
                    "Issue #3160146: Add Layout Builder Normalizer and Denormalize": "https://www.drupal.org/files/issues/2021-04-07/3160146-37.patch"
                }
            }
        }

and then composer update --lock
**************
i also tried

               "patches": {
.....................................
            }
        "patches-ignore": {
                "drupal/default_content": {
                    "Issue #3160146: Add Layout Builder Normalizer and Denormalize": "https://www.drupal.org/files/issues/2021-04-07/3160146-37.patch"
                }
            }

the result is in attached image

💬 Support request
Status

Fixed

Version

9.1

Component

Composer or Makefile

Created by

🇧🇯Benin delacosta456

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024