Package manager/ Automatic Updates should disallow composer patches by default

Created on 13 September 2024, 3 months ago

Problem/Motivation

Spin-off from ✨ Add Alpha level Experimental Package Manager module Needs review .

Automatic updates allows sites to run both AU + composer patches at once.

Composer patches is incompatible with actually updating a site automatically, because as soon as a patch is committed upstream, or an upstream change causes a conflict, you need to manually determine the problem with the patch and either replace it with a newer one or remove it - both of which require manually editing JSON.

Additionally, applying patches that include update paths is very high risk and can leave a site in a state where it's not possible to update the database successfully - e.g. if a different update takes hook_update_N().

However, this is not a barrier to using project browser, or some advanced AU use-cases where a developer is prepared to manually intervene every so often and AU is only expected to handle what it can handle.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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

Comments & Activities

Production build 0.71.5 2024