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

fix: improve wording of occ:upgrade command when no upgrade is required #49914

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

icewind1991
Copy link
Member

The current wording can be confusing as it implies that the instance is on the most up to date version. While it only means that the upgrade isn't required.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Dec 18, 2024
@icewind1991 icewind1991 added this to the Nextcloud 31 milestone Dec 18, 2024
@icewind1991 icewind1991 requested review from a team, provokateurin, sorbaugh and come-nc and removed request for a team December 18, 2024 14:53
core/Command/Upgrade.php Outdated Show resolved Hide resolved
@joshtrichards
Copy link
Member

Thanks for doing this.

Coincidentally I was just looking at the counterpart of this in the built-in updater the other day: if occ upgrade (or equivalent) hasn't been triggered after a code deployment, it'll state the currently deployed version is 30.0.4 then offer to download and deploy 30.0.4:

https://github.com/nextcloud/updater/blob/e73aa39fff1d3a9ebaf40746a9de093392a5f743/lib/Updater.php#L119-L131

I'll see about making a similar improvement over there.

Addressing these seemingly little usability paper cuts improves the overall Nextcloud experience. Always a good thing. :-)

@joshtrichards joshtrichards added the papercut Annoying recurring issue with possibly simple fix. label Dec 21, 2024
@joshtrichards joshtrichards added enhancement bug 4. to release Ready to be released and/or waiting for tests to finish and removed enhancement 3. to review Waiting for reviews labels Dec 30, 2024
@icewind1991 icewind1991 merged commit 72e8241 into master Jan 3, 2025
188 checks passed
@icewind1991 icewind1991 deleted the occ-upgrade-wording branch January 3, 2025 15:27
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: install and update papercut Annoying recurring issue with possibly simple fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants