- Issue created by @ressa
Currently, the three Drupal core project links in the command line from Composer are Github links. So if you click the link, you end up at the Github repo ...:
$ composer outdated "drupal/*"
Color legend:
- patch or minor release available - update recommended
- major release available - update possible
Direct dependencies required in composer.json:
drupal/core-composer-scaffold 10.3.1 11.0.0 A flexible Composer project scaffold builder.
[...]
The link is pointing at https://github.com/drupal/core-composer-scaffold/tree/10.3.1.
From composer.lock:
{
"name": "drupal/core-composer-scaffold",
"version": "10.3.1",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-composer-scaffold.git",
"reference": "a1a186caeb89899143e0c6912ccee9d3d7181dbe"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/a1a186caeb89899143e0c6912ccee9d3d7181dbe",
"reference": "a1a186caeb89899143e0c6912ccee9d3d7181dbe",
"shasum": ""
},
"require": {
"composer-plugin-api": "^2",
"php": ">=7.3.0"
},
"conflict": {
"drupal-composer/drupal-scaffold": "*"
},
"require-dev": {
"composer/composer": "^1.8@stable"
},
"type": "composer-plugin",
"extra": {
"class": "Drupal\\Composer\\Plugin\\Scaffold\\Plugin",
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Drupal\\Composer\\Plugin\\Scaffold\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
],
"description": "A flexible Composer project scaffold builder.",
"homepage": "https://www.drupal.org/project/drupal",
"keywords": [
"drupal"
],
"support": {
"source": "https://github.com/drupal/core-composer-scaffold/tree/10.3.1"
},
"time": "2024-05-11T08:21:39+00:00"
},
Need support and more info, but end up at the Github repo page.
It would be more user friendly, if Drupal core project links pointed at the release page on drupal.org, under https://www.drupal.org/project/drupal/releases/10.3.1 → .
Update "support" > "source" section link to this format in composer.lock:
"support": {
"source": "https://www.drupal.org/project/drupal/releases/10.3.1"
},
... in these three packages:
drupal/core-composer-scaffold
drupal/core-project-message
drupal/core-recommended