[TASK] Exclude non-production files from Git archives 29/48429/5
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:33:00 +0000 (19:33 +0200)
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/48429
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..863f7aa
--- /dev/null
@@ -0,0 +1,36 @@
+/.editorconfig export-ignore
+/.gitattributes export-ignore
+/.gitreview export-ignore
+/.travis.yml export-ignore
+/Build/ export-ignore
+/dynamicReturnTypeMeta.json export-ignore
+/typo3/sysext/backend/Tests/ export-ignore
+/typo3/sysext/belog/Tests/ export-ignore
+/typo3/sysext/beuser/Tests/ export-ignore
+/typo3/sysext/core/Tests/Acceptance/ export-ignore
+/typo3/sysext/core/Tests/Functional/ export-ignore
+/typo3/sysext/core/Tests/Integrity/ export-ignore
+/typo3/sysext/core/Tests/Legacy/ export-ignore
+/typo3/sysext/core/Tests/Unit/ export-ignore
+/typo3/sysext/dbal/Tests/ export-ignore
+/typo3/sysext/documentation/Tests/ export-ignore
+/typo3/sysext/extbase/Tests/ export-ignore
+/typo3/sysext/extensionmanager/Tests/ export-ignore
+/typo3/sysext/felogin/Tests/ export-ignore
+/typo3/sysext/fluid/Tests/ export-ignore
+/typo3/sysext/form/Tests/ export-ignore
+/typo3/sysext/frontend/Tests/ export-ignore
+/typo3/sysext/impexp/Tests/ export-ignore
+/typo3/sysext/indexed_search/Tests/ export-ignore
+/typo3/sysext/install/Tests/ export-ignore
+/typo3/sysext/lang/Tests/ export-ignore
+/typo3/sysext/lowlevel/Tests/ export-ignore
+/typo3/sysext/recordlist/Tests/ export-ignore
+/typo3/sysext/recycler/Tests/ export-ignore
+/typo3/sysext/reports/Tests/ export-ignore
+/typo3/sysext/rsaauth/Tests/ export-ignore
+/typo3/sysext/saltedpasswords/Tests/ export-ignore
+/typo3/sysext/scheduler/Tests/ export-ignore
+/typo3/sysext/setup/Tests/ export-ignore
+/typo3/sysext/sv/Tests/ export-ignore
+/typo3/sysext/workspaces/Tests/ export-ignore