Problem/Motivation

Follow-up from #3261486: Remove core updates added prior to 9.3.0 and adjust test coverage.

Does it make sense to add drupal-9.3.0.bare.standard.php.gz and drupal-9.3.0.filled.standard.php.gz to Drupal 9.3 and 9.4?

contrib modules with update tests that try to add Drupal 10 support can reference those files, instead of adding a check if the current Drupal version is Drupal 10, use drupal-9.3.0.bare.standard.php.gz. Else, use drupal-9.0.0.bare.standard.php.gz

Proposed resolution

Copy drupal-9.3.0.bare.standard.php.gz and drupal-9.3.0.filled.standard.php.gz from the Drupal 10 branch to Drupal 9.4 so contrib modules can use those dumps for their update tests in both Drupal versions.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#2 3263886-2.patch729.23 KBjeroent

Comments

JeroenT created an issue. See original summary.

jeroent’s picture

Status: Active » Needs review
StatusFileSize
new729.23 KB
jeroent’s picture

catch’s picture

This is a good idea. Is it worth adding a 9.3 to 9.4+ update test while we're in here?

spokje’s picture

Just wanting to point out that in issues where we move Core modules from Core to Contrib in D10, changes in both the fixtures drupal-9.3.0.bare.standard.php.gz and drupal-9.3.0.filled.standard.php.gz are needed.

For example, #3227033: Remove Quick Edit from core changes both and #3049857: Remove HAL module from core and create a contrib project for it will change drupal-9.3.0.filled.standard.php.gz at some point.

This would mean that those changes would probably need to be backported also to 9.4.x.

We _could_ postpone this on the release of D10.0.0-beta1 at which point all removals should be done and the fixtures should be stable for a long time, or we can trust in our Core Committers to remember to backport any changes to those fixtures every time they occur.

catch’s picture

Theoretically it ought to work if the 9.3.0 fixture stays the same in 9.4.x, since we'd only be testing updates added to 9.4.x which still has those modules - however it could be confusing for backports.

catch’s picture

Priority: Normal » Critical

Bumping to critical, since as pointed out in #3261486: Remove core updates added prior to 9.3.0 and adjust test coverage this makes backports of new updates very difficult.

daffie’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

dww’s picture

Okay, great. I wasn’t sure if we had a separate issue for this. Happy to fix it separately

Thanks!

  • catch committed 4a1de7f on 9.4.x
    Issue #3263886 by JeroenT, Spokje: Copy drupal-9.3.0.bare.standard.php....
catch’s picture

Version: 9.4.x-dev » 9.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 9.4.x and cherry-picked to 9.3.x, thanks!

  • catch committed ca25786 on 9.3.x
    Issue #3263886 by JeroenT, Spokje: Copy drupal-9.3.0.bare.standard.php....
dww’s picture

Sweet, thanks! Adding credit for @daffie's review and for myself (since I created / uploaded an identical patch to #3261486 at xjm's request).

Cheers,
-Derek

Status: Fixed » Closed (fixed)

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