source the drupal/core-vendor-hardening plugin from the drupal project, or document why not

Created on 6 April 2021, over 3 years ago
Updated 20 November 2023, about 1 year ago

Problem/Motivation

Drupal comes with 3 Composer plugins, in /composer/Plugin/

When Drupal is installed with Composer, Drupal defines Composer respositories these Composer in the root Drupal composer.json. This is so that Composer symlinks these plugins into the project's vendor/drupal folder, rather than download them.

However, only two of the plugins get this treatment:

    "repositories": [
        {
            "type": "path",
            "url": "core"
        },
        {
            "type": "path",
            "url": "composer/Plugin/ProjectMessage"
        },
        {
            "type": "path",
            "url": "composer/Plugin/VendorHardening"
        },
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }

Is the absence of drupal/core-scaffold here an omission, or is there a reason? If there's a reason, it should be documented somewhere, such as the plugin's README file.

Proposed resolution

Either add a Composer repository for the plugin, or document why it doesn't have one.

Remaining tasks

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
ComposerΒ  β†’

Last updated 6 days ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Missing content requested by

πŸ‡¦πŸ‡ΊAustralia dpi
about 1 year ago
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024