Bug 452531 - Skrooge's flatpak info indicates old version
Summary: Skrooge's flatpak info indicates old version
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: Trunk from git
Platform: Flatpak Linux
: NOR minor
Target Milestone: ---
Assignee: Guillaume DE BURE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-12 00:28 UTC by skierpage
Modified: 2022-04-12 20:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2022-04-12 00:28:50 UTC
SUMMARY
https://flathub.org/apps/details/org.kde.skrooge  or  `flatpak info org.kde.skrooge//stable`  and  `flatpak info org.kde.skrooge//master`  both report Skrooge's version as 2.20.0, which is from 2020. Both Flathub and kdeapps are way beyond that.

EXPECTED RESULT
Show the same version that the about box and `flatpak run org.kde.skrooge --version` report.

ADDITIONAL INFORMATION
I think the fix is easy, just add a line to the <releases> element in skrooge/org.kde.skrooge.appdata.xml; the latest one is
    <release version="2.20.0" date="2019-06-20"/>
Probably should add the other releases here as well. Maybe there's a way to automate adding to this on each version change.

It seems the Flathub flatpak recipe attempts to insert a newer version line as a local workaround, https://github.com/flathub/org.kde.skrooge/blob/master/org.kde.skrooge.json#L233 :
     "sed -i '517i <release version=\"2.24.6\" date=\"2020-12-05\"/>' skrooge/org.kde.skrooge.appdata.xml"
but this is also out of date and it does it in the wrong place ;-)