tbachert/spi requesting trusted action

Created on 5 October 2024, 3 months ago

Problem/Motivation

Running composer update (composer v2.4.1) I get the following:

tbachert/spi contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "tbachert/spi" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] n

Looking at its README it just says: 'Service provider loading facility, inspired by Javas `ServiceLoader`.' which does not help much.

If 'n' is selected (at least) the following is added to composer.json

            "php-http/discovery": true,
            "tbachert/spi": false

The tbachert/spi module is recently installed under vendor (also php-http)

This was to get Core 10.3.6 (but might be more linked to composer so core version may be irrelevant)

Steps to reproduce

Run composer update

Proposed resolution

Understand risk of running this

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Active

Component

Miscellaneous

Created by

🇬🇧United Kingdom Jons

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

Comments & Activities

Production build 0.71.5 2024