Closed (fixed)
Project:
Recipes Initiative
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2022 at 10:21 UTC
Updated:
7 Jul 2022 at 15:49 UTC
Jump to comment: Most recent
While working on the composer plugin to process recipes I hit a massive problem. We can not guarantee that Drupal will be installed when the recipe is being required by composer.
The prosed composer plugin cannot be responsible for applying the recipes. We need to develop:
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alexpottComment #4
daniel.bosenI think it is the right approach to split the responsibilities of installing dependencies and running them, into two separate things. It also sounds very reasonable to put the dependency and codebase building into composer space and the "apply to installation" part into Drupal space.
Decoupling the development of these two things is an added benefit.
I am a bit hesitant to put this into RTBC so quickly, but it gets my +1.
Comment #5
alexpottI think I will merge this since requiring database connectivity and an installed Drupal while doing composer require is just not going to work. There's just no way around that. Once this is merged I'll open tasks for all the items in phase 1 of recipe roadmap.
Comment #6
daniel.bosenIn the end, this is a no-brainer. It was discussed in the the bi-weekly distribution meeting in slack and bircher +1 it there as well. Quote:
"maybe I misunderstood the proposal at first but the way I thought this was going to work was always a drupal-thing with its UI running things on top of a minimal drupal (so that it can run as the last step of the installer basically) and then call out to a flex type composer plugin via the automatic updates composer API (or similar) as part of the pipeline, recursing when other recipes are part of the recipe to apply. So this is not really a surprise in terms of what to expect. And I agree with the proposed split."
So, lets RTBC it.
Comment #8
alexpottThanks @daniel.bosen