welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 165 forks source link

Wpcli_all_the_way #625

Closed alessandro-fazzi closed 2 years ago

alessandro-fazzi commented 2 years ago

This is going to be merged into the 6.0 version branch.

This will bring a big feature: standing on the shoulder of the 6.0's mandatory peer dependency on wp-cli, we going to drop all the custom methods and configuration for the local environment relative to

All these actions and config will be done/get through wp-cli.

Now the only configuration we'll have for local environment will be

local:
  wordpress_path: /some/path

The goals of this feature are:

doctor command will still check for database config (user, password, etc.), erroring when actually we can't get those configs from wp-cli.

port and mysqldump_options and mysql_options and charset database configs are dropped: if you need to tweak around those, you'll need to do it the wordpress way (https://wordpress.org/support/article/editing-wp-config-php) and the wp-cli way (https://make.wordpress.org/cli/handbook/references/config/#config-files).

Last but not the least: this branch will update ruby language support to the current stable version 3.0.2.

Nonetheless the vision steering this feature was endorsed in #601 . I'm not taking all the ideas from @nlemoine , but I'm looking at what I can afford to bring out of alpha within my winter holidays ^^"

alessandro-fazzi commented 2 years ago

I've also updated the movefile.yml generator called by wordmove init command to reflect current changes

nlemoine commented 2 years ago

This is awesome! Thanks so much for implementing all these new features 😃 I just left a tiny comment.