[!!!][TASK] Simplify PackageManagement / Remove Flow 18/39518/11
authorBenjamin Mack <benni@typo3.org>
Wed, 13 May 2015 06:47:31 +0000 (14:47 +0800)
committerBenjamin Mack <benni@typo3.org>
Tue, 19 May 2015 15:43:35 +0000 (17:43 +0200)
commitabc29af1a184e6983f5134431d6f5c08aca1d832
tree60229aa506de773f14970244a5d09b6f4961e817
parentaf47213068b938feee8beb4ffcb39c53b18ef46e
[!!!][TASK] Simplify PackageManagement / Remove Flow

The PackageManager was originally backported from Flow
but includes too many classes and options that the Core does not
use or cannot use at all.

The Package code is thus merged with only the parts needed
for the TYPO3 Core, and adapted accordingly. All Flow classes
are either removed or merged into the needed Package classes
of the TYPO3 Core.

In order to speed up the bootstrap and prepare for tight composer
integration, this task needs to be sorted out first.

Next step is to further cleanup code within the Package*
classes themselves - things that are not called at all in
the TYPO3 Core.

Resolves: #67027
Releases: master
Change-Id: Ia6823374afa515902e3d5237cef596a440747e3b
Reviewed-on: http://review.typo3.org/39518
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
69 files changed:
composer.json
typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/ClassAliasMap.php
typo3/sysext/core/Classes/Core/ClassLoader.php
typo3/sysext/core/Classes/Package/DependencyResolver.php
typo3/sysext/core/Classes/Package/Exception/CorruptPackageException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/InvalidPackageKeyException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/InvalidPackageManifestException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/InvalidPackagePathException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/InvalidPackageStateException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/MissingPackageManifestException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/PackageStatesFileNotWritableException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/ProtectedPackageKeyException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Exception/UnknownPackageException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/FailsafePackageManager.php
typo3/sysext/core/Classes/Package/MetaData.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/MetaData/PackageConstraint.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Package.php
typo3/sysext/core/Classes/Package/PackageFactory.php [deleted file]
typo3/sysext/core/Classes/Package/PackageInterface.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Classes/Package/UnitTestPackageManager.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-67027-RemovedFlowCompatibilityFromPackageManager.rst [new file with mode: 0644]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Core/ClassLoader.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Exception.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Log/LoggerInterface.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Log/SystemLoggerInterface.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Documentation.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Documentation/Format.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/CorruptPackageException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/DuplicatePackageException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/InvalidPackageKeyException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/InvalidPackageManifestException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/InvalidPackagePathException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/InvalidPackageStateException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/MissingPackageManifestException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/PackageKeyAlreadyExistsException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/PackageRepositoryException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/PackageStatesFileNotWritableException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/ProtectedPackageKeyException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Exception/UnknownPackageException.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaData.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaData/AbstractConstraint.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaData/AbstractParty.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaData/Company.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaData/PackageConstraint.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaData/Person.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaData/SystemConstraint.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/MetaDataInterface.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/Package.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageFactory.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageInterface.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManagerInterface.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Exception.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Files.php [deleted file]
typo3/sysext/core/Resources/PHP/TYPO3.Flow/README [deleted file]
typo3/sysext/core/Tests/Unit/Core/ClassLoaderTest.php
typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php
typo3/sysext/core/Tests/Unit/Package/PackageTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/core/composer.json
typo3/sysext/extensionmanager/Classes/Controller/ActionController.php
typo3/sysext/extensionmanager/Classes/Utility/ListUtility.php
typo3/sysext/install/Classes/Controller/Action/Step/EnvironmentAndFolders.php
typo3/sysext/install/Classes/Controller/StepController.php