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
Running composer update drupal/core*
on 9.0.x leads to this diff:
diff --git a/composer.lock b/composer.lock
index b75e457532..959558421e 100644
--- a/composer.lock
+++ b/composer.lock
@@ -457,7 +457,7 @@
"dist": {
"type": "path",
"url": "core",
- "reference": "f8e50d64acdddb816b10f83ca307712bd2cd65e5"
+ "reference": "1135d82ca80e22e7f25b1bd9a8613cae5ae06372"
},
"require": {
"asm89/stack-cors": "^1.1",
This is adding noise every time a release milestone is tagged.
Proposed resolution
Fix it.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#8 | 3117558-8.patch | 1.47 KB | alexpott |
#8 | 4-8-interdiff.txt | 587 bytes | alexpott |
#4 | 3117558-3.patch | 1.45 KB | alexpott |
#4 | 3117558-3-test-only.patch | 1 KB | alexpott |
#2 | composer_lock.patch | 460 bytes | xjm |
Comments
Comment #2
xjmComment #3
xjmFWIW, I verified that 8.9.x and 8.8.x do not have the same problem.
Comment #4
alexpottWe can add a test for this so it doesn't happen in the future. We have something similar for the composer lock hash of the root composer.json.
Comment #6
Gábor HojtsySuperb, thanks! Good catch.
Comment #7
longwaveNit: we can probably
break;
here once we have found the package we want.Comment #8
alexpott@longwave sure why not.
Comment #10
catchCommitted d5fc3d9 and pushed to 9.0.x. Thanks!