Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default "finalize" commands #117

Open
baschny opened this issue Oct 16, 2017 · 3 comments
Open

Remove default "finalize" commands #117

baschny opened this issue Oct 16, 2017 · 3 comments

Comments

@baschny
Copy link

baschny commented Oct 16, 2017

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

@mblaschke
Copy link
Member

mblaschke commented Oct 16, 2017

This issue will be fixed with the clitools sync successor gosync

Workaround: remove the commands in the global section :)

@baschny
Copy link
Author

baschny commented Oct 16, 2017

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

@mblaschke
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants