clitools
clitools copied to clipboard
Remove default "finalize" commands
The default src/conf/clisync.yml contains:
command:
finalize:
...
# EXAMPLE: create user "dev" with password "dev"
- "ct typo3:beuser"
# EXAMPLE: append toplevel-domain .vm to all domains
- "ct typo3:domain"
We cannot "clean" this finalize in our own clisync.yml because the arrays are merged. Only way to do that is:
command:
finalize:
- echo Success
- echo Success
which is kind of ugly.
Suggestion: Either remove the defaults from the original file, or allow us to "override" the entire "finalize" (instead of merging it).
This issue will be fixed with the clitools sync successor gosync
Workaround: remove the commands in the global section :)
You are absolutely right, I missed to see them in the GLOBAL section, thanks for the hint!
gosync will fix this and many other issues:
- introduce native docker usage eg. direct communication with docker containers even for remote environments
- docker-compose support
- mysql/postgres support
- local mysql/postgres client not needed/not used when using docker
- standalone binary, no runtime needed (no PHP needed)
- support for multiple database and filesystem syncs
- file stub generation based on a remote filesystem (files are not transfered but created with dummy content)