Let the `drupal install` console command support profiles that are marked as distributions

Created on 18 October 2024, about 2 months ago

Problem/Motivation

If you have an install profile marked as a distribution (which, for legitimate reasons, includes Drupal CMS), it won't work with the drupal install console command. There is an explicit, unexplained line in there which prevents it from seeing profiles marked as distributions.

This is sad for Drupal CMS, since it means we cannot have a nice composer quick-start command without patching core.

Why, though, does this limitation exist? The installer automatically already selects profiles marked as distributions, so it seems like it would make sense for drupal install (and therefore drupal quick-start) to behave consistently with that.

Proposed resolution

I propose that we lift this limitation and allow drupal install to automatically select a distribution, if one is found. This would not affect the ability for users to install any profile of their choosing; it would just make the command compatible with profiles that, for whatever reason, need to be marked as distributions. (In Drupal CMS's case, it uses the distribution key to bypass the profile selection form and redirect to the dashboard post-install.)

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

install system

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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

Comments & Activities

Production build 0.71.5 2024