Task #85119
closed
Remove tests from subtree split Composer packages
Added by Mathias Brodala over 6 years ago.
Updated about 6 years ago.
Description
All typo3/cms-*
subtree split Composer packages contain the Tests
directory. These should be excluded from the Composer packages.
- Status changed from New to Under Review
does it influence the git subtree split or just the composer packages?
What is the influence on the users? Please give more context here.
Tymoteusz Motylewski wrote:
does it influence the git subtree split or just the composer packages?
What is the influence on the users? Please give more context here.
Since the Composer packages only exist thanks to the Git subtree split it affects both.
The user will have TYPO3 packages without the Tests
directory.
If you install typo3/cms
(still possible with v8) you don't have any Tests
directories in typo3/sysext/*
thanks to the toplevel .gitattributes
definition. However, if you install typo3/cms-*
instead you will have them. This change addresses that by adding a separate .gitattributes
file per package.
To check the result of what Composer would produce you can use the following command to e.g. create a package for the core
system extension after switching to its directory in the TYPO3 source:
git archive --format zip --output ../core.zip HEAD .
Without any change, you'll get an archive including the Tests
directory. With the suggested change that directory will be gone as desired.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF