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
core:update displays instructions -after- updating #6317
Comments
Thanks for the suggestion! |
Just had a look at this / wanted to implement this but noticed after a while I'd have to pass the Output instance of the console to the controller or better refactor most parts into a model or something so it is reusable in the command and CLI does not use Controller at all. Is there another script to update Piwik on CLI beside this one? Alternatively I was wondering if it is needed at all since one can get all the queries via |
It's useful change: otherwise there could be no output on the console which is confusing UX for users. +1 to refactor the code. |
There is always a message (after the update). Maybe it could be enough to only show an initial message? Otherwise for the person who is going to implement this: It might be a good idea in this case to apply the |
We will by default always run a --dry-run before actually upgrading and then ask the user for confirmation to execute those updates. Alternatively a user can use a parameter --yes to avoid asking for confirmation.
See pull request |
We will by default always run a --dry-run before actually upgrading and then ask the user for confirmation to execute those updates. Alternatively a user can use a parameter --yes to avoid asking for confirmation.
Good work @tsteur |
When updating using core:update, instead of showing the instructions when running it (the "Database Upgrade Required" message), it shows nothing until the update is completed and then shows the message.
This is kind of confusing, instructions should be shown before because it can take a long time to complete updates, making it look like the script has stalled without any message as it is right now.
The text was updated successfully, but these errors were encountered: