[TASK] Exclude non-production files from Git archives 57/46357/10
authorMathias Brodala <mbrodala@pagemachine.de>
Fri, 6 Mar 2015 13:52:46 +0000 (14:52 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 1 Jun 2016 17:23:29 +0000 (19:23 +0200)
commit281d481006650a6b62c38ed0b835220bff727b7f
tree4215aca130371b80b70aeb83372f59f2421ae181
parent1af95ec8d5a0be47161b9260426cd838a20cc2a6
[TASK] Exclude non-production files from Git archives

This excludes various directories and files from release
archives as generated by Github and fetched via Composer.

These files and directories are not relevant for production
and excluding them reduces the size of release archives.

Such files are usually identified as security risk in security
reviews and should therefore be removed by default from production systems.

As an addition it also avoids issues with long file paths when installing
on Windows systems.

Resolves: #65570
Resolves: #68998
Resolves: #70810
Releases: 7.6, master
Change-Id: I615e0c7a4cafaea471c79e88e9df2c78c55b92ac
Reviewed-on: https://review.typo3.org/46357
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
.gitattributes [new file with mode: 0644]