[!!!][TASK] Use typo3/contrib/vendor/ instead of Packages/
In a result of best practices with composer as well as taking the tarball distributions (typo3_src.zip) into account, the directory Packages/ is not necessarily optimal now for either development and shipping a package. Distributions (like the composer-installer for TYPO3) can still use the Packages/ directory in their webroot for other packages. This means: The TYPO3 source will not contain any third party library anymore in its GIT repository but instead these are installed via composer. For development purposes this means that a "composer install" command will install all required dev-dependencies into typo3/contrib/vendor/ which is now ignored by git and no changes are installed anymore. For the packaging process a "composer install --no-dev -o" will be executed when building the tarball and zip files on each release, downloading the necessary third-party libraries directly into "typo3/contrib/vendor/". Existing developer installations need to run "rm -rf typo3/contrib/vendor/ bin/ Packages/Libraries/ composer.lock" inside the typo3 repository directory and do a "composer install" again after applying this patch. This way, there is no conflict between autoloader as well as the Packages/ directory anymore for the TYPO3 CMS Core. The typo3/contrib/vendor/ folder is completely removed from Git as it is now handled via composer. Resolves: #66001 Releases: master Change-Id: I70ff4e1427f2b9d888b7de336e577851116b93cf Reviewed-on: http://review.typo3.org/38138 Reviewed-by:Markus Klein <klein.t3@reelworx.at> Tested-by:
Markus Klein <klein.t3@reelworx.at>
Showing
- .gitignore 2 additions, 1 deletion.gitignore
- composer.json 1 addition, 1 deletioncomposer.json
- typo3/contrib/vendor/autoload.php 0 additions, 22 deletionstypo3/contrib/vendor/autoload.php
- typo3/contrib/vendor/composer/ClassLoader.php 0 additions, 387 deletionstypo3/contrib/vendor/composer/ClassLoader.php
- typo3/contrib/vendor/composer/autoload_classaliasmap.php 0 additions, 14 deletionstypo3/contrib/vendor/composer/autoload_classaliasmap.php
- typo3/contrib/vendor/composer/autoload_classmap.php 0 additions, 1346 deletionstypo3/contrib/vendor/composer/autoload_classmap.php
- typo3/contrib/vendor/composer/autoload_files.php 0 additions, 11 deletionstypo3/contrib/vendor/composer/autoload_files.php
- typo3/contrib/vendor/composer/autoload_namespaces.php 0 additions, 14 deletionstypo3/contrib/vendor/composer/autoload_namespaces.php
- typo3/contrib/vendor/composer/autoload_psr4.php 0 additions, 22 deletionstypo3/contrib/vendor/composer/autoload_psr4.php
- typo3/contrib/vendor/composer/autoload_real.php 0 additions, 59 deletionstypo3/contrib/vendor/composer/autoload_real.php
- typo3/contrib/vendor/composer/include_paths.php 0 additions, 12 deletionstypo3/contrib/vendor/composer/include_paths.php
- typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasGenerator.php 0 additions, 142 deletions...ass-alias-loader/Classes/Composer/ClassAliasGenerator.php
- typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasLoader.php 0 additions, 164 deletions.../class-alias-loader/Classes/Composer/ClassAliasLoader.php
- typo3/contrib/vendor/helhum/class-alias-loader/LICENSE 0 additions, 19 deletionstypo3/contrib/vendor/helhum/class-alias-loader/LICENSE
- typo3/contrib/vendor/helhum/class-alias-loader/composer.json 0 additions, 23 deletionstypo3/contrib/vendor/helhum/class-alias-loader/composer.json
- typo3/contrib/vendor/pear/http_request2/HTTP/Request2.php 0 additions, 1030 deletionstypo3/contrib/vendor/pear/http_request2/HTTP/Request2.php
- typo3/contrib/vendor/pear/http_request2/HTTP/Request2/Adapter.php 0 additions, 137 deletions...ntrib/vendor/pear/http_request2/HTTP/Request2/Adapter.php
- typo3/contrib/vendor/pear/http_request2/HTTP/Request2/Adapter/Curl.php 0 additions, 567 deletions.../vendor/pear/http_request2/HTTP/Request2/Adapter/Curl.php
- typo3/contrib/vendor/pear/http_request2/HTTP/Request2/Adapter/Mock.php 0 additions, 166 deletions.../vendor/pear/http_request2/HTTP/Request2/Adapter/Mock.php
- typo3/contrib/vendor/pear/http_request2/HTTP/Request2/Adapter/Socket.php 0 additions, 1121 deletions...endor/pear/http_request2/HTTP/Request2/Adapter/Socket.php
Please register or sign in to comment