appstream-generator
appstream-generator copied to clipboard
Print "Last processed on" in addition to "Last updated on"
Due to recent appstream generation infrastructure issue (https://forums.debian.net/viewtopic.php?p=783933), metadata was not updated for apps. AS went live again yesterday, but I'm not yet seeing the updated metadata. It's quite difficult and tedious to look into the logs to figure out what exactly happened. It would be nice to have more details in the app's metainfo page.
E.g. Add the following information
Current Status:
Last updated on: 2023-09-02 20:37 [UTC]
New Status:
Last updated on: 2023-09-02 20:37 [UTC], Last processed on: 2023-10-02 20:37 [UTC]
When hovering over the Last processed on
, we can show
Last processed version: 44.2-3
Result: No change
Example:
From https://appstream.debian.org/sid/main/metainfo/gnome-boxes.html
Appstream metadata for gnome-boxes
is 44.2-3
Metadata for gnome-boxes in main
org.gnome.Boxes.desktop - 44.2-3 ⚙ amd64 ⚙ arm64 ⚙ armel ⚙ armhf ⚙ i386 ⚙ mips64el ⚙ mipsel ⚙ ppc64el ⚙ s390x
Latest available gnome-boxes
is 45.0-1
$ apt policy gnome-boxes
gnome-boxes:
Installed: 45.0-1
Candidate: 45.0-1
Version table:
*** 45.0-1 500
500 http://httpredir.debian.org/debian sid/main amd64 Packages
100 /var/lib/dpkg/status
"Last updated" is the same as "Last processed" - pages are always refreshed unless there is no change. What you are running into is the fact that the CDN copy wasn't fully up-to-date yet. There's really nothing asgen could do about that.
"Last updated" is the same as "Last processed" - pages are always refreshed unless there is no change.
Should this be called as Last generated on
( generated
as in appstream generator
) ?
Since we're dealing with packages Updated
have a different meaning.