sourcebroker / typo3-upgrade
A helper to make TYPO3 upgrade repeatable.
Installs: 3 202
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 1
Open Issues: 0
Requires
- symfony/dotenv: ^5.3
- symfony/process: ^5.3
This package is auto-updated.
Last update: 2024-10-29 05:51:59 UTC
README
What does it do?
The aim of this script is to make process of upgrade repeatable so you can easily repeat it on you local instance and run it also on staging and finally on production instance.
Its tested and written to work only with composer based TYPO3.
Install
Create subdirectory in your TYPO3 root (for example .upgrade
) and inside this folder run:
composer require sourcebroker/typo3-upgrade
Configuration
Basically the script search for branches with name "upgrade_*" switch to them and run commands (look for typo3-upgrade.php for more insights).
If you have some project specific SQL then put it in .upgrade/config/project/[branch part].sql
(for example .upgrade/config/project/76.sql
)
If you have some instance specific SQL then put it in .upgrade/config/instances/[instance name]/[branch part].sql
The [branch part]
is taken from branch name. If branch name is "upgrade_76" then [branch part]
is equal to 76
.
The [instance name]
is taken from INSTANCE env var. Make sure its set in .env file of your project.
Run upgrade in your TYPO3 root directory
./.upgrade/vendor/bin/typo3-upgrade.php
Changelog
See https://github.com/sourcebroker/typo3-upgrade/blob/master/CHANGELOG.rst