Problem/Motivation
Drupal CMS site templates are installed on projects that resolve with Composer's default minimum-stability: stable. RightUp cannot, because contrib packages required through the base recipes have no stable release that satisfies the constraint.
Six of those packages arrive through recipes that this template requires in composer.json but never applies:
drupal/varbase_ai_basebringsai_integration_ecadrupal/varbase_api_basebringsopenapi_ui_redocdrupal/varbase_auth_basebringssocial_apiandsocial_authdrupal/varbase_i18n_basebringscanvas_translateandai_tmgmt
None of the four appears in the recipes: list in recipe.yml, so nothing installs them. They add weight to every RightUp site and block a stable install, for no functional gain.
Two more are required and never applied: drupal/varbase_dev_base and drupal/varbase_recipes. They carry no unstable dependency, so they are out of scope here, but a development-only recipe in a site template is worth a separate look.
Steps to reproduce
- On a project with the default
minimum-stability: stable, runcomposer require drupal/rightup. - Resolution fails on a dependency with no stable release.
- Compare the
requireblock incomposer.jsonwith therecipes:list inrecipe.yml. Thirteen of the nineteen required base recipes are applied.
Proposed resolution
Remove the four never-applied recipes from composer.json:
drupal/varbase_ai_basedrupal/varbase_api_basedrupal/varbase_auth_basedrupal/varbase_i18n_base
They move to the drupal/varbase_project template, whose root composer.json sets minimum-stability: dev and can carry them.
No change to recipe.yml, and no change to what the template installs.
Remaining tasks
- ✅ File an issue
- ❌ Addition/Change/Update/Fix
- ❌ Testing to ensure no regression
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Release
User interface changes
- None.
API changes
- Four packages are no longer required by this template.
Data model changes
- None.
Release notes snippet
- Remove the four base recipes the template required but never applied, so it resolves on a project with the default stable stability.
Issue fork rightup-3621337
Show commands
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
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #7
rajab natshahComment #8
rajab natshahReleased in rightup 1.0.0-alpha1.
Comment #10
rajab natshah