64584[!!!][TASK] Remove deprecated constants and runtime activated packages
Commit message
Review
-
Code review CR +2 Done
- Benni Mack +2
- Wouter Wolters +1
- Anja Leichsenring +1
-
Verified V +2 Done
- Benni Mack +2
- Wouter Wolters +1
- Anja Leichsenring +1
- TYPO3com +1 CI
Issues 2
Files 7
- typo3/sysext/core/Classes/Core/Bootstrap.php1+0 −18
- typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php+0 −41
- typo3/sysext/core/Classes/Package/PackageManager.php+3 −41
- typo3/sysext/core/Documentation/Changelog/master/Breaking-91473-DeprecatedFunctionalityRemoved.rst+11 −0
- typo3/sysext/core/Tests/Functional/Package/RuntimeActivatedPackagesTest.phpdeleted+0 −41
- typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php+0 −29
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ConstantMatcher.php+16 −8
Review log 1014
-
Benni Mack uploaded patch set 1 05/26/20, 14:41
-
TYPO3com voted on patch set 1 V -1 05/26/20, 16:13 Completed build in 01m 43s on Tue, 26 May, 04:13 PM Test Summary: No tests found Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3568
-
Benni Mack rebased onto patch set 2 05/26/20, 19:00
-
TYPO3com voted on patch set 2 V -1 05/26/20, 19:00 Completed build in 22s on Tue, 26 May, 07:00 PM Test Summary: No tests found Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3580
-
Benni Mack uploaded patch set 3 05/26/20, 19:44
-
TYPO3com voted on patch set 3 V -1 05/26/20, 19:59 Completed build in 14m 34s on Tue, 26 May, 07:59 PM Test Summary: 99 of 74295 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3581
-
Benni Mack uploaded patch set 4 05/26/20, 20:02
-
TYPO3com voted on patch set 4 V +1 05/26/20, 20:21 Completed build in 17m 07s on Tue, 26 May, 08:21 PM Test Summary: 73709 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3584
-
Anja Leichsenring voted on patch set 4 V +1 CR +1 05/26/20, 20:24
-
Wouter Wolters voted on patch set 4 V +1 CR +1 05/26/20, 20:30
-
Benni Mack voted on patch set 4 V +2 CR +2 05/26/20, 20:31
-
Benni Mack merged patch set 5 05/26/20, 20:31
-
Benjamin Franzke commented on patch set 5 05/27/20, 06:52
Post CR -1, I would ask for a bit more time for reviews. From what I see right now there are some remaining places where runtimeActivatesPackages are still taken into account: typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php calculates $GLOBALS['TYPO3_CONF_VARS']['EXT']['runtimeActivatedPackages'] into cache hashes. typo3/sysext/core/Configuration/DefaultConfiguration.php contains the default value. typo3/sysext/extensionmanager/Classes/ViewHelpers/ToggleExtensionInstallationStateViewHelper.php contains logic regarding runtimeActivatedPackages. See: git grep runtimeActivatedPackages | grep -v "/Documentation/\|/ExtensionScanner/"Bootstrap.php:111UnresolvedAs the patch removes PackageManager->activePackageDuringRuntime, the comment would need to be updated to contain "@todo refactor as activePackageDuringRuntime as been removed". Because, like the comment said, setSingletonInstance and setPackageManager was necessary because the packageManager was needed at this point for runtime activated packages, now that they are gone, the bootstrapping can be cleaned up (thats of course fine with another commit, but I would have adapted the comment in this patch) -
Benjamin Franzke commented on patch set 5 05/27/20, 09:10