Test the upgrade path for the Shortcut module

Problem/Motivation

Manually test the upgrade path from Shortcut in core in current development branch to contrib in next major development branch works correctly..

Remaining tasks

Install Drupal current development branch on a machine with composer.

  1. composer create-project drupal/recommended-project:x.y.* drupal-shortcut
  2. Go to the extension directory cd [drupal-shortcut
  3. Enable development settings cp web/sites/example.settings.local.php web/sites/default/settings.local.php
  4. Add Drush composer require drush/drush
  5. Install Umami vendor/bin/drush si demo_umami
  6. Enable settings.local.php at the end of web/sites/default/settings.php

Enable and test

  1. Enable the extension vendor/bin/drush en -y shortcut
  2. Test the extension functionality. Comment on what was tested.
  3. Confirm errors via update.php and warnings via drush updb about the missing core module.
Upgrade to contrib version and test
  1. composer require drupal/shortcut
    vendor/bin/drush cr
  2. Test the extension functionality. Comment on what was tested.

Upgrade to next major version and test

  1. composer config minimum-stability dev
    composer require drupal/core-composer-scaffold:dev-main drupal/core-project-message:dev-main drupal/core-recommended:dev-main drush/drush -W
  2. Update to next major version Either:
    • Via the UI: visit update.php for the local test site
    • Via drush:
      vendor/bin/drush updb
      vendor/bin/drush cr
  3. Confirm the core copy of Shortcut is not present.
  4. Test
    • Test the extension functionality. Comment on what was tested.
    • Confirm errors admin/reports/status

Comments

quietone created an issue. See original summary.

quietone’s picture

Status: Postponed » Active
quietone’s picture

This works when using composer require 'drupal/shortcut-shortcut:^2.0'

smustgrave’s picture

This has been fixed to not be shortcut-shortcut

quietone’s picture

Assigned: Unassigned » quietone

Assigning to myself to test later today. If I don't get this done in that time, then un-assign me.

quietone’s picture

Assigned: quietone » Unassigned

I still had to use ddev composer require drupal/shortcut-shortcut

smustgrave’s picture

Weird think it’s because we haven’t landed the composer replace yet?

quietone’s picture

Status: Active » Fixed

Reran today and this works correctly. Not sure what I did wrong last time, I guess I was just not paying attention.

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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.