Remove farm_install_modules() installation task

Created on 18 December 2024, 4 days ago

Problem/Motivation

farmOS currently implements hook_install_tasks() in farm.install in the root of the repository, which presents a form for selecting farmOS modules to install.

https://github.com/farmOS/farmOS/blob/ca5728fbe07976f3d43e43d5d036fdf341...

This creates a concept of "default" modules, which appear "checked" in the installation form by default, and are installed by default when farmOS is installed via the command line.

We are essentially maintaining two

We also had to add a workaround to prevent "default" modules from being installed during functional tests: #3183739: Functional tests are installing all default farmOS modules

Proposed resolution

Let's remove this extra installation task and present the farmOS module form after installation.

This will simplify and centralize all our farmOS module installation form logic.

We can remove the farm_modules() function from farm.profile, and delete the src/ directory from the root of the repository.

It will also allow us to remove the workaround we added in #3183739: Functional tests are installing all default farmOS modules .

Remaining tasks

TBD

User interface changes

Remove farmOS module installation step from Drupal installation.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

3.0

Component

User interface

Created by

🇺🇸United States m.stenta

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