[TASK] Only show active packages in PackageStates.php
Update the version to 5 and include a list of active packages, everything else is stored in the core cache, and not needed to be stored. Note: the order of the package keys in the DependencyResolver tests is changed intentionally. The order created by the DependencyResolver has not changed. The tests did not detect any difference in the order because we had an associative array before (now it is indexed where the order is relevant). Resolves: #73041 Releases: master Change-Id: I34e0c89efbef306ce49823069bd9dd4c38fa3091 Reviewed-on: https://review.typo3.org/46389 Reviewed-by:Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Helmut Hummel <helmut.hummel@typo3.org> Tested-by:
Helmut Hummel <helmut.hummel@typo3.org>
Showing
- typo3/sysext/core/Classes/Package/DependencyResolver.php 1 addition, 23 deletionstypo3/sysext/core/Classes/Package/DependencyResolver.php
- typo3/sysext/core/Classes/Package/FailsafePackageManager.php 0 additions, 25 deletionstypo3/sysext/core/Classes/Package/FailsafePackageManager.php
- typo3/sysext/core/Classes/Package/PackageManager.php 101 additions, 87 deletionstypo3/sysext/core/Classes/Package/PackageManager.php
- typo3/sysext/core/Classes/Package/UnitTestPackageManager.php 3 additions, 1 deletiontypo3/sysext/core/Classes/Package/UnitTestPackageManager.php
- typo3/sysext/core/Documentation/Changelog/master/Important-73041-PackageStatesIncludesOnlyActivePackages.rst 9 additions, 0 deletions...portant-73041-PackageStatesIncludesOnlyActivePackages.rst
- typo3/sysext/core/Tests/Testbase.php 4 additions, 22 deletionstypo3/sysext/core/Tests/Testbase.php
- typo3/sysext/core/Tests/Unit/Package/DependencyResolverTest.php 21 additions, 113 deletions...sysext/core/Tests/Unit/Package/DependencyResolverTest.php
- typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php 18 additions, 11 deletionstypo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php
Please register or sign in to comment