Bug 500396 - Spectacle appstream .xml fails validation
Summary: Spectacle appstream .xml fails validation
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.3.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-19 12:00 UTC by Steve Cossette
Modified: 2025-02-21 23:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Cossette 2025-02-19 12:00:12 UTC
When running appstream-util on org.kde.spectacle.appdata.xml, I get the following error:

/builddir/build/BUILD/spectacle-6.3.1.2-build/BUILDROOT/usr/share/metainfo/org.kde.spectacle.appdata.xml: FAILED: • tag-invalid           : <release> versions are not in order [6.3.0 before 24.12.1]

Seems maybe the older releases need to be dropped?
Comment 1 Steve Cossette 2025-02-19 12:02:07 UTC
Note that this is with version 6.3.1.2 by the way.
Comment 2 Noah Davis 2025-02-19 14:06:59 UTC
> Seems maybe the older releases need to be dropped?

Perhaps? I don't really know appstream very well. It's usually people who manage releases that update the appstream file. We currently support 24.12 and 6.3 at the same time until 24.12.3, but maybe 6.3 and git master branches don't need to have 24.12 in the appstream file?
Comment 3 Bug Janitor Service 2025-02-19 14:13:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/442
Comment 4 Noah Davis 2025-02-21 23:31:59 UTC
Git commit 4df2691188cbb30adfa8dd61f70fa9d8663a3ce3 by Noah Davis.
Committed on 21/02/2025 at 23:31.
Pushed by ndavis into branch 'master'.

Remove 24.12 versions from appstream file

M  +0    -2    desktop/org.kde.spectacle.appdata.xml

https://invent.kde.org/graphics/spectacle/-/commit/4df2691188cbb30adfa8dd61f70fa9d8663a3ce3
Comment 5 Noah Davis 2025-02-21 23:35:06 UTC
Git commit 6bb1fcf4adf03091c38513419d4474ca97d96404 by Noah Davis.
Committed on 21/02/2025 at 23:34.
Pushed by ndavis into branch 'Plasma/6.3'.

Remove 24.12 versions from appstream file
(cherry picked from commit 4df2691188cbb30adfa8dd61f70fa9d8663a3ce3)

M  +0    -2    desktop/org.kde.spectacle.appdata.xml

https://invent.kde.org/graphics/spectacle/-/commit/6bb1fcf4adf03091c38513419d4474ca97d96404