-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add test case for mysqldump deprecation #54
Conversation
This is a test for a proposed change to lando/core, to address lando#47.
✅ Deploy Preview for lando-mariadb ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Make better use of `grep` in the test, and direct output of dump command to STDOUT so the test doesn't generate export files.
@christopher-b the one thing I'd be curious about verifying is whether recipes that inherit MariaDB will use the script you've included in the MariaDB plugin's I'm not sure which will take precedence. To test, I'd download a recipe, and after you run |
Hey @reynoldsalec! Since the script in this recipe is in example/tooling/scripts, I wouldn't imagine it would get auto-included anywhere, yeah? I realized I didn't reference the other PR (in lando/core) here, which is probably contributing to some confusion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
@christopher-b thinking about it, I'm wondering if the tooling command you're adding should simply copy what the recipes (LAMP/Drupal/Laravel/etc.) use for their Basically we're trying to make sure the script added in core is working. The tooling commands are distributed across repos, so testing here is a centralized proxy for testing on ALL recipes that implement a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny typo in introduced code.
Does the command and script name pattern follow the MySQL implementation? I noticed the command is db-export
and the script is scripts/sql-export.sh
, just checking that's not a new variation. I don't see analogous export script in https://github.com/lando/mysql/tree/main - looks like that's in landó/core only?
Edit: yeah that change in lando/core#148 is more what I expected to see than adding a new sql-export.sh script here.
I thinking that once lando/core#148 is merged, we should nix this PR and introduce a new one with the test that @reynoldsalec is suggesting. |
I merged the PR for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment.
This add a test case for a proposed change to lando/core to address #47.
Bare minimum self-checks
main
Pieces of flare
Finally
If you have any issues or need help please join the
#contributors
channel in the Lando slack and someone will gladly help you out!You can also check out the coder guide.