From 17488fc177dc887f1511b5a7cb24e9a8f34fa55e Mon Sep 17 00:00:00 2001 From: Helmut Hummel Date: Mon, 12 Dec 2016 15:09:33 +0100 Subject: [PATCH] [TASK] Add default rsync excludes for TYPO3 CMS By default fileadmin and uploads folder are symlinked with Data, so we must exclude them in rsync in any case. --- src/Application/TYPO3/CMS.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Application/TYPO3/CMS.php b/src/Application/TYPO3/CMS.php index a0db0061..60839503 100644 --- a/src/Application/TYPO3/CMS.php +++ b/src/Application/TYPO3/CMS.php @@ -46,7 +46,12 @@ public function __construct($name = 'TYPO3 CMS') $this->options = array_merge($this->options, array( 'context' => 'Production', 'scriptFileName' => 'vendor/bin/typo3cms', - 'webDirectory' => 'web' + 'webDirectory' => 'web', + 'rsyncExcludes' => array( + '.git', + 'web/fileadmin', + 'web/uploads' + ) )); }