Problem/Motivation

This recipe requires drupal/vmi at 5.0.x-dev, a dev branch. A dev constraint can never be satisfied on a project using Composer's default minimum-stability: stable, whatever the module does, so this alone blocks the Varbase site templates on Drupal CMS:

drupal/vmi 5.0.x-dev -> found drupal/vmi[5.0.x-dev (alias of dev-5.0.x)] but it does not match your minimum-stability.

View Modes Inventory already has a stable release, 5.0.0, and the dev branch is zero commits ahead of that tag. There is nothing on the branch the tag does not have.

Unlike the Ultimate Cron, Rabbit Hole and Advanced Text Formatter blockers, this one needs nobody's cooperation. It is our own constraint.

Steps to reproduce

  1. On a project with the default minimum-stability: stable, require this recipe.
  2. Resolution fails on drupal/vmi.

Proposed resolution

Require ~5.0.0 instead of 5.0.x-dev.

A tilde constraint keeps taking patch releases, so a later 5.0.0 is picked up without another change here.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ✅ Reviewed by a human
  • ✅ Code review by maintainers
  • ✅ Release varbase_content_base-1.0.1

User interface changes

  • None. The same code is installed; only the constraint changes.

API changes

  • drupal/vmi is required as ~5.0.0 rather than 5.0.x-dev.

Data model changes

  • None.

Release notes snippet

  • Require the released View Modes Inventory 5.0.0 instead of its dev branch, so this recipe resolves on a project with the default stable stability.
Command icon 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

rajab natshah created an issue. See original summary.

  • rajab natshah committed bb572c17 on 1.0.x
    fix: #3621558 Require the released View Modes Inventory 5.0.0 instead of...
rajab natshah’s picture

Issue summary: View changes
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
Issue tags: +varbase_content_base-1.0.1