Skip to content

Commit 79c24ee

Browse files
jan-vodiladevsk-io
andauthored
Update TYPO3 recipe: Remove _assets directory from TYPO3 shared and writable directories (#4142)
* fix(typo3): update assets directory to _assets * update(typo3): update doc * fix(typo3): remove _assets from shared and writable directories The _assets directory is generated by Composer and contains symlinks to Composer packages. It should not be shared between releases or marked as writable, as it can be regenerated via composer dumpautoload. * update(typo3): update doc --------- Co-authored-by: Jan Vodila <[email protected]>
1 parent 83e1367 commit 79c24ee

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

docs/recipe/typo3.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ Shared via symlinks from the shared/ directory.
129129
```php title="Default value"
130130
[
131131
'{{typo3/public_dir}}/fileadmin',
132-
'{{typo3/public_dir}}/assets',
133132
'{{typo3/public_dir}}/typo3temp/assets',
134133
'var/lock',
135134
'var/log',
@@ -140,7 +139,7 @@ Shared via symlinks from the shared/ directory.
140139

141140

142141
### writable_dirs
143-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L100)
142+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L99)
144143

145144
Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `recipe/deploy/writable.php`.
146145

@@ -149,7 +148,6 @@ Writeable directories
149148
```php title="Default value"
150149
[
151150
'{{typo3/public_dir}}/fileadmin',
152-
'{{typo3/public_dir}}/assets',
153151
'{{typo3/public_dir}}/typo3temp/assets',
154152
'var/cache',
155153
'var/lock',
@@ -159,7 +157,7 @@ Writeable directories
159157

160158

161159
### composer_options
162-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L112)
160+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L110)
163161

164162
Overrides [composer_options](/docs/recipe/deploy/vendors.md#composer_options) from `recipe/deploy/vendors.php`.
165163

@@ -171,7 +169,7 @@ Composer install options for production.
171169

172170

173171
### use_rsync
174-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L118)
172+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L116)
175173

176174
If set in the config this recipe uses rsync.
177175
Default setting: false (uses the Git repository)
@@ -182,7 +180,7 @@ false
182180

183181

184182
### update_code_task
185-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L120)
183+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L118)
186184

187185

188186

@@ -192,7 +190,7 @@ return get('use_rsync') ? 'rsync' : 'deploy:update_code';
192190

193191

194192
### rsync
195-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L148)
193+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L145)
196194

197195

198196

@@ -213,7 +211,7 @@ return get('use_rsync') ? 'rsync' : 'deploy:update_code';
213211

214212

215213
### typo3_updateschema_types
216-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L165)
214+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L162)
217215

218216
List of schema update types.
219217
`safe` includes all necessary operations, to add or change fields or tables.
@@ -227,15 +225,15 @@ List of schema update types.
227225
## Tasks
228226

229227
### typo3\:update_code {#typo3-update_code}
230-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L124)
228+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L122)
231229

232230

233231

234232

235233

236234

237235
### typo3\:cache\:flush {#typo3-cache-flush}
238-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L174)
236+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L171)
239237

240238
TYPO3 - Clear all caches.
241239

@@ -244,39 +242,39 @@ All run via [bin/php](/docs/recipe/common.md#bin/php) [release_path](/docs/recip
244242

245243

246244
### typo3\:cache\:warmup {#typo3-cache-warmup}
247-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L179)
245+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L176)
248246

249247
TYPO3 - Cache warmup for system caches.
250248

251249

252250

253251

254252
### typo3\:language\:update {#typo3-language-update}
255-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L184)
253+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L181)
256254

257255
TYPO3 - Update the language files of all activated extensions.
258256

259257

260258

261259

262260
### typo3\:extension\:setup {#typo3-extension-setup}
263-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L189)
261+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L186)
264262

265263
TYPO3 - Set up all extensions.
266264

267265

268266

269267

270268
### typo3\:install\:fixfolderstructure {#typo3-install-fixfolderstructure}
271-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L194)
269+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L191)
272270

273271
TYPO3 - Fix folder structure.
274272

275273

276274

277275

278276
### deploy {#deploy}
279-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L215)
277+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L212)
280278

281279
Deploys a TYPO3 project.
282280

recipe/typo3.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
*/
7777
set('shared_dirs', [
7878
'{{typo3/public_dir}}/fileadmin',
79-
'{{typo3/public_dir}}/assets',
8079
'{{typo3/public_dir}}/typo3temp/assets',
8180
'var/lock',
8281
'var/log',
@@ -99,7 +98,6 @@
9998
*/
10099
set('writable_dirs', [
101100
'{{typo3/public_dir}}/fileadmin',
102-
'{{typo3/public_dir}}/assets',
103101
'{{typo3/public_dir}}/typo3temp/assets',
104102
'var/cache',
105103
'var/lock',
@@ -140,7 +138,6 @@
140138
'package-lock.json',
141139
'node_modules/',
142140
'var/',
143-
'/{{typo3/public_dir}}/assets',
144141
'/{{typo3/public_dir}}/fileadmin',
145142
'/{{typo3/public_dir}}/typo3temp',
146143
];

0 commit comments

Comments
 (0)