Task #85619

Streamline package interdependencies

Added by Mathias Brodala 5 months ago. Updated 4 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
composer
Target version:
Start date:
2018-07-23
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #85645: CMS Fluid has hidden dependency on CMS Backend New 2018-07-25

History

#1 Updated by Georg Ringer 5 months ago

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

#2 Updated by Mathias Brodala 4 months ago

  • Related to Bug #85645: CMS Fluid has hidden dependency on CMS Backend added

#3 Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57865

Also available in: Atom PDF