The update status XML system is starting to show its age. We can improve:

Comments

drumm created an issue. See original summary.

drumm’s picture

drumm’s picture

Wim Leers’s picture

Can't we add better edge case support and better support & sec information to the existing format? We'll have to continue to support XML update status information for another decade anyway probably.

drumm’s picture

Yes, the existing system will be in place indefinitely. It may end up being okay to keep extending.

drumm credited Mixologic.

drumm’s picture

Ryan had an idea in a meeting this came up in a meeting.

Right now we have API-compatibility-specific histories like

And all for everything:

We could add current which:

drumm’s picture

Since #3085041: Drupal core 9.x.x releases should not attach API compatibility term, Drupal 9.0.x is not at https://updates.drupal.org/release-history/drupal/9.x. That just has some junk about the former “9.x” release which I’ll remove, see #2864048: Delete the 9.x branch and its associated release.

Also with 8.x-… modules optionally being compatible with Drupal 9, grouping modern/current releases by 8.x or 9.x doesn’t make sense.

Wim Leers’s picture

Is #8 saying that the logical/semantical changes that D9 is forcing us to deal with, we might as well execute on this issue's original intent and scope?

drumm’s picture

Probably not the whole scope. XML isn’t a “cool” file format, but this really should be backported to D8, #3074993: Use "current" in update URLs instead of CORE_COMPATIBILITY to retrieve all future updates. Completely changing the format would probably kill any chance of that happening.

(I could see putting semver contrib releases in the 8.x XML if their .info file says they are compatible with D8. That would probably confuse some logic in update.module on sites that haven’t updated.)

drumm’s picture

Title: Replace update status XML with a more modern system » Update update status XML for Drupal 9 and contrib semantic versioning
Project: Drupal.org infrastructure » Drupal.org customizations
Version: » 7.x-3.x-dev
Component: Updates System » Code

  • drumm committed 47901f2 on 2688479-update-status
    Issue #2688479: Move project status...

  • drumm committed 7743cb3 on 2688479-update-status
    Issue #2688479: Add current update status XML file
    

  • drumm committed 81b4df4 on 2688479-update-status
    Issue #2688479: Remove version_* elements from common update status XML
    

  • drumm committed 5125b3c on 2688479-update-status
    Issue #2688479: Avoid side-effects when removing version_* elements
    

  • drumm committed 210f7f6 on 2688479-update-status
    Issue #2688479: Only put current releases in the current XML
    

  • drumm committed 210f7f6 on 7.x-3.x
    Issue #2688479: Only put current releases in the current XML
    
  • drumm committed 47901f2 on 7.x-3.x
    Issue #2688479: Move project status...
  • drumm committed 5125b3c on 7.x-3.x
    Issue #2688479: Avoid side-effects when removing version_* elements
    
  • drumm committed 7743cb3 on 7.x-3.x
    Issue #2688479: Add current update status XML file
    
  • drumm committed 81b4df4 on 7.x-3.x
    Issue #2688479: Remove version_* elements from common update status XML
    
drumm’s picture

Status: Active » Fixed

This should not affect existing update status XML, it adds a new …-current.xml, which is described at #3074993-18: Use "current" in update URLs instead of CORE_COMPATIBILITY to retrieve all future updates

  • drumm committed 75bed2e on 7.x-3.x
    Issue #2688479: Fix error when no current releases are supported
    

Status: Fixed » Closed (fixed)

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