Patches copied to composer.json causes 'patches-file' to be ignored

Created on 21 February 2023, about 2 years ago

Problem/Motivation

We use the patches-file feature of cweagans/composer-patches to store all patches in a separate file. If patches are copied into the root composer.json by drush update:lightning --upgrade (i.e. when Lightning Layout is installed), this causes patches-file entry to be ignored by Composer, and any patched code (modules and/or core) will be reinstalled sans patches on subsequent updates.

Easy enough to copy the patches to the patch file, or remove them entirely, but something to be aware of.

Not sure if it's worth adding to the release notes where the Panels/Panelizer patches are already mentioned.

πŸ“Œ Task
Status

Active

Version

5.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States justcaldwell Austin, Texas

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

Comments & Activities

Production build 0.71.5 2024