ddev / ddev-contrib

Contrib space for DDEV services, tools, snippets, and approaches.
Apache License 2.0
162 stars 162 forks source link

Properly handle special characters and update output (dump-and-deploy) #242

Closed jonaseberle closed 5 months ago

jonaseberle commented 5 months ago

The New Solution/Problem/Issue/Bug:

This updates the dump-and-deploy custom command. It had some problems that were fixed over the time.

How this PR Solves The Problem:

Properly handle special characters and update output (dump-and-deploy)

This deals with special characters in passwords (and everywhere else).

It lints code and improves the output.

Manual Testing Instructions:

After following the installation instructions the simplest to test is to run ddev dump-db ddev on a project database and afterwards ddev deploy-db ddev (the only side-effect is that it creates the directory ./data/sql).

Related Issue Link(s):