[policy, no patch] Decide if and when automatic updates should rely only on packagist data to determine installability of modules

Created on 14 December 2023, 6 months ago
Updated 9 February 2024, 5 months ago

Problem/Motivation

This is a follow-up discussion to 📌 [policy, no patch] Use Update XML in Package manager to determine release support status Active , the relevant (postponed) implementation issue is 🐛 Rely on TUF-protected resources to determine which updates are available Postponed: needs info .

In 📌 [policy, no patch] Use Update XML in Package manager to determine release support status Active , we decided that automatic updates should use project XML data from Drupal.org (which is served over https, but is not TUF-protected) for checking whether a release that can be updated to is supported. Because 'supported' is a Drupal.org concept that doesn't exist in the packagist world, it's not in the packagist data at all.

The idea is that AU will check the supported status to reduce the likelihood of updating someone to a 'bad' release - either a paper bag that has been hastily marked unsupported until a hotfix can be released, or a dead-end minor branch of a contrib module.

However, it leaves open certain possibilities of freeze attacks (i.e. an attacker marking perfectly good releases of modules as unsupported to stop people updating to them).

In this issue we need to decide two things:

1. Do we want to move (duplicate) this additional data that's currently only in the update XML to d.o's packagist endpoint - if so we'll need an implementation issue against project_composer to do so. In the previous release we decided this shouldn't be alpha blocking, because once we add this to the data, it will be very hard to change the format, so it might take time to figure out how we want to do that.

2. If the answer to #1 is yes, is this beta or stable blocking for automatic updates, or just a 'nice to have'?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🌱 Plan
Status

Active

Version

11.0 🔥

Component
Base 

Last updated 1 minute ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024