Restrict package_manager (and update_manager) behind a dev/prod toggle

Created on 25 October 2024, about 2 months ago

Problem/Motivation

At DrupalCon Barcelona we discussed possible ways to have package_manager and automatic updates (update manager) as alpha in tagged releases of core.

Usually, alpha-stability experimental modules are removed from release branches (e.g. they stay in 11.x but would be removed from 11.0.x). However, to update a site between releases, you need.... releases to update to/from, which creates a catch-22 (sorry) situation for a module that is all about updating sites.

The solution we came up with was to prevent package_manager and update_manager from doing anything unless a dev toggle is enabled, via ✨ Add a Production/Development Toggle To Core Needs work .

This will ensure that it can't do anything on production then, but allow it to be tested on development environments including updating from release to release.

I can't remember the details of what we came up with for messaging/interface text for this, hopefully someone else can.

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

package_manager.module

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024