Open bomoko opened 11 months ago
I think if users have the ability to do this using custom sync commands, then this would be the best path forward. Giving the power to the users to create their own command scripts that the sync tool can use definitely makes more sense.
I'm mainly against the idea of building post dump processing or streaming support into lagoon-sync because there are so many ways that people may want to do things, and capturing all these to then support within lagoon-sync seems like a battle that could be never ending. Let alone then having to continue to maintain that list or add new functionality to it over time because someone wants it to do something slightly different.
We've found that in certain cases (for instance, the "DEFINER" statements added by https://www.drupal.org/project/dynamic_entity_reference) require some post mysqldump processing - for instance, piping the dump stream through
sed
and filtering out certain lines.The idea here is to be able to support this kind of post-dump processing.
There are a few options here.
Thoughts/feedback would be appreciated.