clitools icon indicating copy to clipboard operation
clitools copied to clipboard

Remove default "finalize" commands

Open baschny opened this issue 8 years ago • 3 comments

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).

baschny avatar Oct 16 '17 09:10 baschny

This issue will be fixed with the clitools sync successor gosync

Workaround: remove the commands in the global section :)

mblaschke avatar Oct 16 '17 09:10 mblaschke

You are absolutely right, I missed to see them in the GLOBAL section, thanks for the hint!

baschny avatar Oct 16 '17 10:10 baschny

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)

mblaschke avatar Oct 16 '17 10:10 mblaschke