Identify & vet commonly used composer plugins in the Drupal ecosystem

Created on 27 January 2023, over 1 year ago
Updated 14 February 2023, over 1 year ago

Problem/Motivation

Follow-up for πŸ“Œ Limit trusted Composer plugins to a known list, allow user to add more Fixed .

πŸ“Œ Limit trusted Composer plugins to a known list, allow user to add more Fixed explicitly allows all composer plugins used by Drupal core. This was not hard to achieve because despite not having ComposerPluginValidator until that issue, of course all work to make Automatic Updates function as expected already means that core's composer plugins either work without limitations or got the necessary validators already.

But other modules may install additional composer plugins, for example the https://www.drupal.org/project/simplesamlphp_auth β†’ module depends on https://github.com/simplesamlphp/simplesamlphp ^1.19, whose composer.json has an indirect dependency on simplesamlphp/composer-module-installer.

Right now, DrupalCI does not allow additional composer plugins to be installed, so that ironically is a pretty good way to discover which modules need additional composer dependencies … which is exactly why #3334914: Testing is broken because simplesamlphp/composer-module-installer contains a Composer plugin which is blocked β†’ exists for simplesamlphp/composer-module-installer πŸ˜…

Based on the absence of more people complaining in #3334914, it looks like there's fairly few modules using composer plugins πŸ‘

Steps to reproduce

Try to install e.g. https://www.drupal.org/project/simplesamlphp_auth β†’ .

Proposed resolution

Research how widespread the contrib impact is. Based on

it doesn't seem to be widespread at all!

Remaining tasks

TBD

User interface changes

TBD

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Wim Leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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

Comments & Activities

Production build 0.69.0 2024