-
Notifications
You must be signed in to change notification settings - Fork 1
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
User Goal: wp plugin commands to reinstall extensions exactly (active/inactive, auto updates on/off) from list file or database backup #171
Comments
Great idea, @porg ! This is similar to a project I worked on in the past: https://github.com/danielbachhuber/dictator I've moved your issue to the wp-cli/ideas repo. Our existing packages try to emulate WordPress core behavior as much as possible. This particular idea probably makes most sense as a standalone package. If you'd like to work on such a package, here are some docs to help get you started: https://make.wordpress.org/cli/handbook/guides/commands-cookbook/ Hope this helps! |
Flattered that you like my idea! As mentioned I'm a UX designer and no developer. To model the command verbs along the Wordpress core terminology is a good decision! My wording below is purely to present the idea. Ofc it should match the typical
You see: It quickly gets a mess. Because with a database file as a source the user may have different intents for the target (restore the plugins from it or the database tables itself, or only the plugin options, or … or …). It gets manifold pretty soon!
|
https://github.com/danielbachhuber/dictator is not available, but I found https://danielbachhuber.com/introducing-dictator/
|
@porg Oh! Sorry, I made it a private archive previously and forgot about it. These folks are actively working on it: https://github.com/boxuk/dictator
Yes — and offer an abstraction for doing so, to bring the data into a YAML file that can be tracked in version control.
Oh, I didn't want to pursue it anymore. |
|
I have no idea! I think this would make a great blog post 😁 Post Status might pay you for a guest contribution. |
Thanks for the info. As a relatively new arrival to the Wordpress scene (intensive research for my website from 9-12/2021, then a pause (content creation), now 12/2022 resuming website work) I may have the unbiased outside view, and see features or the lack of it, maybe differently. But nevertheless I'm no expert at all for a serious guest contribution. Maybe when my website is finally done, and I had some "DevOps" experience with it (with life teaching disasters along the way 😉 ) I may qualify 😂 |
Big picture: Efficiently backup my Wordpress database. Then restore Wordpress Core + Extensions (Themes, Plugins) as exactly as possible in an automated fashion.
wp_options
in the various*_plugins
rows.→ wp plugin install: Accepts also path to full or partial database backup .sql (.zip) extension-command#345
wp plugin list
.→ Include additional column (field) "auto-updates" which can be on or off extension-command#344
The text was updated successfully, but these errors were encountered: