Skip to content
Snippets Groups Projects
Commit 5a49b689 authored by Helmut Hummel's avatar Helmut Hummel
Browse files

[TASK] Allow composer installers ^4.0

Allow composer installers ^4.0 and also enforce some constraints
that could be violated with the new installers.

1. Do not allow duplicate extension keys

Multiple packages could define the same extension key.
When all extensions are then installed in vendor folder, there won't
be any conflicts on the file system, so an exception is now thrown
to make people aware of this misconfiguration.

2. Throw an exception if extensions of type typo3-cms-extension do
   not define an extension key

Actually this exception is thrown in the installers package, but the
artifact builder must propagate this exception to ensure it
reaches the users.

composer req typo3/cms-composer-installers:"^2.0 || ^3.0 || ^4.0"
composer req typo3/cms-composer-installers:"^2.0 || ^3.0 || ^4.0" \
 --no-update -d typo3/sysext/core/

Resolves: #96276
Releases: main, 11.5
Change-Id: Ib76e829f09dbf095fb01031389e301c6e7742103
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72570


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarHelmut Hummel <typo3@helhum.io>
Reviewed-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarHelmut Hummel <typo3@helhum.io>
parent c358320d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment