Skip to content
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

Updating WordPress outside of wp-cli #22

Open
ataylorme opened this issue Dec 13, 2017 · 3 comments
Open

Updating WordPress outside of wp-cli #22

ataylorme opened this issue Dec 13, 2017 · 3 comments

Comments

@ataylorme
Copy link

I was wondering if the update verification can be run stand-alone, after updating WordPress outside of wp-cli. Specifically, after updating with Composer.

@danielbachhuber
Copy link
Owner

Interesting thought. There would be a couple nuances to such an implementation:

  1. This update verification code is dependent on a working WordPress install because it makes a HTTP request against the site. composer update doesn't necessarily happen within the context of a working WordPress install.
  2. We'd need to adapt much of the code to work as a Composer plugin. To be honest, the code itself is quite minimal. I'm not sure there'd be much overlap between the two implementations.

@ataylorme
Copy link
Author

I was thinking more of someone uses Composer and a CI process to update WordPress being able to run a wp-cli command on a staging environment, or wherever the working WordPress installation lives, to verify the update didn't break anything.

@danielbachhuber
Copy link
Owner

I was thinking more of someone uses Composer and a CI process to update WordPress being able to run a wp-cli command on a staging environment, or wherever the working WordPress installation lives, to verify the update didn't break anything.

Ah, this would be easier to do. We could expose some command that performs the basic heuristic check before and after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants