Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Drupal.org Composer endpoints provides the exact metadata we need for the update module. #2716015: Add version number in the extra section of each package contains the spec.
Comments
Comment #2
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #3
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #4
nerdsteinFrom IRC:
webflo
11:51 nerdstein: i think we should the login for the drupal.org composer endpoints above line 21 https://github.com/webflo/composer_deploy/blob/8.x-1.x/composer_deploy.m... and fallback to the existing logic if no version was found in the package
webflo
11:52 nerdstein: because the curreent code is just some guessing from other composer metadata. but the drupal.org endpoints provide the exact metadata we need
Comment #5
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedComment #6
jhedstromFor reference, here is where Drush calculates the version data that is injected into the
.info.yml
files.Comment #7
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedFixed in 1094c58
Comment #8
webflo CreditAttribution: webflo at UEBERBIT GmbH commented