Problem/Motivation

#3074993: Use "current" in update URLs instead of CORE_COMPATIBILITY to retrieve all future updates we are switching to a new XML feed from drupal.org that provides supported_branches instead of supported_majors and some other metadata changes.

#3074993 is changing to this new XML feed but keeping the current functionality based on majors. For instances if:

  • The site's current core version is 8.7.0
  • The latest 8.7.x release is 8.7.10
  • The latest 8.8.x release is 8.8.0
  • the project XML has <supported_branches>8.7.,8.8.x</supported_branches>

currently 8.8.0 will be the recommended release even 8.7.10 is still release on a supported branch and doesn't require jumping to the next minor version of core which can be disruptive.(this will be the same after (#30749930)

Currently this does not affect contrib because support branches are the same as minors. this will change when #2681459: Support contrib semver releases is done.

Proposed resolution

The update module should recommend the latest release for the current branch if it is still supported. It should also indicate there is another release on the next supported branch.

Remaining tasks

Determine if this is the desired functionality

User interface changes

User shown updates by supported branch

API changes

Data model changes

Release notes snippet

Comments

tedbow created an issue. See original summary.

drumm’s picture

#2189131: Update DrupalorgVersioncontrolLabelVersionMapperGit for semantic versioning in contrib is a blocker here, at least for Drupal.org support. As that issue is done, Drupal.org will have a sample contrib project using semver.

#3074993: Use "current" in update URLs instead of CORE_COMPATIBILITY to retrieve all future updates remains the most important core blocker.

webchick’s picture

Priority: Normal » Critical
Issue tags: +Drupal 9.0.0-beta1 requirement

Based on the #d9readiness meeting, this one's a biggie, as it impacts semver support in contrib.

catch’s picture

It looks like #3111929: If no recommended update is found, Update Status recommends the latest release, even if it is unsupported will fix the beta-blocking part of this (i.e. update status recommending unsupported releases of core).

This issue then would be a blocker to proper semantic versioning in contrib (i.e. 3.0.0 releases) - which is still critical but not beta blocking.

So... tentatively untagging but please re-tag if necessary.

xjm’s picture

I'm not sure this is not still a beta blocker. We need 9.0.x and 8.9.x to support full semver for contrib, which is listed as a "should have" on the beta blocker list. If this issue involves API additions or changes, it would have a beta deadline.

We could choose to commit it during beta and potentially consider backport to 8.8 as well, but I'm concerned about descoping this too soon because we're likely to run into d.o bugs as we fix it and it it should be in 9.0. I do agree the other issue should be fixed first.

xjm’s picture

Title: The update module should recommend updates based on supported_branches not majors » The update module should recommend updates based on supported_branches rather than major versions majors
xjm’s picture

I'm going to re-tag it for now so we don't lose track of it, but we can still descope it later if we decide it's appropriate.

drumm’s picture

potentially consider backport to 8.8

I think it is okay to not go as far back as possible for this one. When we do open up semver versioning for all of contrib, we’ll have to put in documentation/warnings that let maintainers know they will only be supporting 8.9+, or wherever this lands.

xjm’s picture

Issue tags: +beta target
catch’s picture