Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a distribution builder or site builder, I want the recipes included in Drupal CMS to be available as standalone packages so that I can reuse them in my distribution or site without using Drupal CMS's scaffold project. #71

Open
balsama opened this issue May 13, 2024 · 5 comments

Comments

@balsama
Copy link

balsama commented May 13, 2024

#70 implies that all of the recipes will be developed in a monolith repo (as it is currently). But we should have automation that splits the atomic Recipes into their own repos for distribution so that they can be reused outside of the scaffold project for both distribution builders and individual site builders.

@phenaproxima
Copy link
Owner

Yup, agreed on this. I'm not sure how to set up the subtree split, but at least there's prior art on that. This is most definitely blocked until Starshot finds its permanent home under DA control (most likely on GitLab...at least, that's what I hope for).

@phenaproxima
Copy link
Owner

phenaproxima commented May 13, 2024

Just for visibility - this is something I discussed with Alex Pott. The current plan is for all recipes (yes, all recipes, everywhere) to be their own tiny Composer packages -- this prevents ambiguity and package nesting, which is a pure Drupalism that needs to die.

Starshot would then be bifurcated into:

  1. A metapackage that brings in all the component recipes but provides nothing of its own. This is the same thing drupal/core-recommended does.
  2. A template project that sets up Starshot with quick installs, DDEV/Lando integration, etc.

@simesy
Copy link

simesy commented May 16, 2024

Why wouldn't (in time) all the recipes used by starshot just be avaialble in the project browser, or whatever tool will be used for recipes in Extend.

@phenaproxima
Copy link
Owner

@simesy: I think that is, eventually, the exact aim. But there's a lot of infrastructure that needs to happen for that first, across several initiatives and at the DA's end.

@simesy
Copy link

simesy commented May 16, 2024

Yes agreed, i see how it's a good thing at this point (and a good feature in general) to have default recipes in the same repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants