You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix database restore SSL issues and improve test setup logging (#862)
* Fix database restore to use mariadb client directly
Replace wp-cli database import with mariadb client to avoid SSL connection
errors. The mariadb client with --skip-ssl flag properly handles the database
connection without requiring SSL certificates.
Changes:
- Update restore_db function to use mariadb client instead of wp-cli
- Add proper stdin handling for SQL dump file import
- Add necessary imports for File and Stdio
* Improve log output for make test-server command
Suppress verbose curl responses during WordPress setup to reduce log clutter
while preserving error messages for debugging. Added descriptive echo
statements to track setup progress.
Changes:
- Redirect curl stdout to /dev/null for template creation
- Redirect curl stdout to /dev/null for post revision generation
- Add progress messages for template and revision setup steps
* Add comments to wp_cli::restore_db
* Combine password flag in restore_db
0 commit comments