Task #85619

Streamline package interdependencies

Added by Mathias Brodala almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
composer
Start date:
2018-07-23
Due date:
% Done:

0%

Estimated time:
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 BackendAccepted2018-07-25

Actions
Related to TYPO3 Core - Bug #87508: composer.json doesn't list all (soft-)mandatory PHP extensionsClosed2019-01-21

Actions
Related to TYPO3 Core - Task #89519: Add missing dependencies to composer.json of extbaseClosedDaniel Siepmann2019-10-26

Actions
#1

Updated by Georg Ringer almost 3 years 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 almost 3 years ago

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

Updated by Gerrit Code Review over 2 years 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

#4

Updated by Susanne Moog about 2 years ago

  • 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?

#5

Updated by Benni Mack about 2 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
#6

Updated by Georg Ringer about 1 year ago

  • Related to Bug #87508: composer.json doesn't list all (soft-)mandatory PHP extensions added
#7

Updated by Georg Ringer about 1 year ago

  • Related to Task #89519: Add missing dependencies to composer.json of extbase added
#8

Updated by Susanne Moog about 1 year ago

  • 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