MarFarMa/wp-cli — comment on commit dcc129348e11efdf14d0630ce9aa53daa019d2fa
File:  line 0
By MarFarMa:

It's human editable. Serialized options can be easily modified, with the migration/import function re-packaging the values as needed.

And a YAML file can contain PHP code that is evaluated just before parsing. I'm not sure that I'll need that feature immediately -- but I like having the option.

I've reverted my changes to the plugin.php file and will be adding a community command DbMigration. It enables the generation of migration templates for core, plugin, and theme settings - with specific migrations functionality defined via hooks.

The generated migration template can be edited and separated into staging targets as desired. The migration files can be placed under source code control and participate in a capistrano deploy -- so I can deploy to UAT and migrate with UAT settings, and deploy to production and migrate with the production settings. It's meant to address this: http://wordpress.stackexchange.com/questions/24314/wordpress-database-synch-between-dev-and-prod/24982#24982