chore: commit the German language packs instead of fetching them on deploy
TYPO3's base distribution keeps var/labels in Git (!/var/labels in .gitignore): the release build takes them from git archive, so deploys no longer depend on the translation server. Update them with "vendor/bin/typo3 language:update de" and commit the result. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
925e24397b
commit
f925c7f2d6
122 files changed
+20580
-7
No files matched your search
@@ -109,7 +109,6 @@ task('host:check', function () {
|
||||
'static/ep-reisen/fileadmin links there' => 'test "$(readlink -f /usr/home/eptypo3/public_html/static/ep-reisen/fileadmin)" = "$(readlink -f {{fileadmin_path}})" && echo yes',
|
||||
'free disk space' => 'df -h /usr/home/eptypo3 | tail -1',
|
||||
'secrets.php in place' => 'test -s {{deploy_path}}/shared/config/system/secrets.php && {{bin/php}} -r \'exit(is_array(require "{{deploy_path}}/shared/config/system/secrets.php") ? 0 : 1);\' && echo yes',
|
||||
'TYPO3 translation server reachable' => 'curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://localize.typo3.org/xliff/ | grep -v "^000$"',
|
||||
'MyE&P reachable' => 'curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://my.ep-reisen.de/api/last-update',
|
||||
];
|
||||
$failed = false;
|
||||
@@ -153,11 +152,6 @@ task('typo3:extension:setup', function () {
|
||||
run('{{bin/php}} {{release_path}}/{{bin/typo3}} extension:setup');
|
||||
});
|
||||
|
||||
desc('TYPO3 - German language packs (EXT:form validation messages, among others) into the release');
|
||||
task('typo3:language:update', function () {
|
||||
run('{{bin/php}} {{release_path}}/{{bin/typo3}} language:update de --no-progress');
|
||||
});
|
||||
|
||||
desc('TYPO3 - Clear all caches');
|
||||
task('typo3:cache:flush', function () {
|
||||
run('{{bin/php}} {{release_path}}/{{bin/typo3}} cache:flush');
|
||||
@@ -185,7 +179,6 @@ task('deploy', [
|
||||
'typo3:secrets:check',
|
||||
// The schema has to exist before the new code starts serving traffic (adds and changes only).
|
||||
'typo3:extension:setup',
|
||||
'typo3:language:update',
|
||||
// deploy:publish == deploy:symlink, deploy:unlock, deploy:cleanup, deploy:success
|
||||
'deploy:publish',
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user