Task #85619
closed
Streamline package interdependencies
Added by Mathias Brodala over 6 years ago.
Updated over 4 years ago.
Description
Currently a lot of typo3/cms-*
packages have hidden dependencies on other typo3/cms-*
packages, e.g. by using views and wizards defined in these packages. For example the Redirects module (typo3/cms-redirects
) fails with an exception if typo3/cms-recordlist
is not installed.
It should be checked where dependencies are still missing and should be declared explicitly in each Composer manifest.
take a look at https://github.com/georgringer/requirement_checker where I just check the use statements of all classes to know those dependenies. it does not take full namespace usages into account nor false negatives like hooks, ... but maybe a start
- Related to Bug #85645: CMS Fluid has hidden dependency on CMS Backend added
- Status changed from New to Under Review
- Status changed from Under Review to Needs Feedback
Patch has been abandoned, Frank states it will be fixed in another patch. Is that done yet?
- Target version changed from next-patchlevel to Candidate for patchlevel
- Related to Bug #87508: composer.json doesn't list all (soft-)mandatory PHP extensions added
- Related to Task #89519: Add missing dependencies to composer.json of extbase added
- Status changed from Needs Feedback to Closed
I'm going to close this ticket now, in general there are multiple things to do here before we can go full-composer in these areas. As of now, recordlist is part of "minimalUsableSystem" and therefor not optional. Removing extensions marked like that may and will result in errors.
Let's use #85645 to track the general issue at hand and #87508 to track the same for the PHP issues.
Also available in: Atom
PDF