-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow Drush site-install to install from recipes #5999
Comments
This would be a great feature, and improve Starshot and DDEV integration. |
See #6026 |
Lets use PR for discussion |
greg-1-anderson
added a commit
that referenced
this issue
Jun 21, 2024
* Allow drush site:install to work with recipes. * Code style * Add a test for installing from a recipe. * Touch up comments * Code style * Skip recipe tests on versions of Drupal that do not yet support recipes. * Rename "profile" arg to "recipeOrProfile". Add better error checking, e.g. Drupal versions and missing recipes. * Code style * Use test recipe on recipe-not-supported test. * Mark the recipe-not-supported test as skipped on sqlite. * Update src/Commands/core/SiteInstallCommands.php Co-authored-by: Moshe Weitzman <weitzman@tejasa.com> * Search paths relative to cwd when looking for recipes. --------- Co-authored-by: Greg Anderson <greg.anderson@greenknowe.org> Co-authored-by: Moshe Weitzman <weitzman@tejasa.com>
greg-1-anderson
added a commit
that referenced
this issue
Jun 21, 2024
* Allow drush site:install to work with recipes. * Code style * Add a test for installing from a recipe. * Touch up comments * Code style * Skip recipe tests on versions of Drupal that do not yet support recipes. * Rename "profile" arg to "recipeOrProfile". Add better error checking, e.g. Drupal versions and missing recipes. * Code style * Use test recipe on recipe-not-supported test. * Mark the recipe-not-supported test as skipped on sqlite. * Update src/Commands/core/SiteInstallCommands.php Co-authored-by: Moshe Weitzman <weitzman@tejasa.com> * Search paths relative to cwd when looking for recipes. --------- Co-authored-by: Greg Anderson <greg.anderson@greenknowe.org> Co-authored-by: Moshe Weitzman <weitzman@tejasa.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Drupal can now be installed using recipes, which bypasses the need for install profiles.
Users are currently using the
drupal quick-start
anddrupal install
scripts to install from recipes, but that only allows for an sql-lite database. A must more real-world example will be to allow this from Drush, like most folks do to install Drupal now.Describe the solution you'd like
Add an option like
drush site-install --recipe /path/to/recipe
which would follow the steps in the Drupal installer and install Drupal with no install profile, and apply the recipelDescribe alternatives you've considered
Allow for selecting no install profile. We could then use the proposed
drush recipe
to apply recipes.Additional context
N/A
The text was updated successfully, but these errors were encountered: