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

Show version from appinfo on occ app:list #33482

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

juliushaertl
Copy link
Member

Otherwise this might be confusing when the web UI shows a different version number than occ

@juliushaertl juliushaertl requested review from a team, ArtificialOwl, icewind1991, blizzz, CarlSchwan and nickvergessen and removed request for a team and blizzz August 8, 2022 13:08
@juliushaertl juliushaertl added this to the Nextcloud 25 milestone Aug 8, 2022
core/Command/App/ListApps.php Fixed Show fixed Hide fixed
core/Command/App/ListApps.php Fixed Show fixed Hide fixed
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

are the warnings legit?

@nickvergessen
Copy link
Member

How can there be 2 different versions? Ah, file vs db?

@juliushaertl
Copy link
Member Author

Yes, in case the app has not been upgraded (through enabling or occ upgrade) or if the upgrade may have failed for the app, the installed version from the db still has the old one while the version from app info returns the new one.

@juliushaertl
Copy link
Member Author

Yes, legit warning and fixed

@nickvergessen
Copy link
Member

While I get the point of returning the same info, the idea was to be able to see the "installed" but disabled version with the occ command. That is also what the Support report shows and is really helpful when people fail to enable apps (because they were actually installed back then but the migration is not working from their old version to the newest one)

@nickvergessen
Copy link
Member

Maybe we need to show/add both versions

This was referenced Aug 12, 2022
This was referenced Aug 24, 2022
This was referenced Sep 6, 2022
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
@PVince81 PVince81 added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Sep 16, 2022
This was referenced Sep 20, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Nov 11, 2022
@juliushaertl juliushaertl merged commit 87105a2 into master Nov 13, 2022
@juliushaertl juliushaertl deleted the bugfix/app-version-disabled branch November 13, 2022 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants