Problem/Motivation

Despite amazing work and much supporting infrastructure, distributions remain a very small percentage of the overall Drupal install base. While many factors contribute to that situation, one is simply that it's very difficult to switch to a distro after having started with a regular Drupal install.

Related discussions and initiatives:

Although Drupal install profiles currently are packaged as separate distributions, there are few technical reasons that should require this. Short of patching Drupal core, the full code base of a "distro" should be limited to an install profile and its subdirectories, and so be perfectly compatible with installing as an add-on to a given version of Drupal core.

Proposed resolution

  • Enable install profiles (distros) to be installed via enhancements to the extension install/update system. Some of these enhancements could draw on the Apps module.

Beyond this basic step, a further set of enhancements to consider:

  • Implement a set of requirements and protocols and a selection process for a distro to qualify for listing in the core installer.
  • Provide a mechanism for loading available curated distros compatible with a given version of core.
  • Enhance the installer to load as install time options a curated set of distros. If a non-installed distro is selected, download, install, and then enable.

Remaining tasks

User interface changes

API changes

Comments

nedjo’s picture

As a proof of concept I posted a D7 sandbox project, Distribution Installer, https://www.drupal.org/sandbox/nedjo/2429233.

Pasqualle’s picture

Version: 8.9.x-dev » 9.1.x-dev
alexpott’s picture

This is a great idea and should become easier once the #2940733: Site Builder Tool/Project Browser initiative has delivered. Doing this is part of #3274999: Distributions and Recipes initiative overview and roadmap

alexpott’s picture

Tagging to make this easy to find.

alexpott’s picture

This issue is blocked on the project browser existing - #2940733: Site Builder Tool/Project Browser initiative

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.