mijorus / gearlever

Manage AppImages with ease 📦
https://mijorus.it/projects/gearlever
GNU General Public License v3.0
429 stars 15 forks source link

Update appdata according to the freedesktop appstream specifications, fix homepage url, switch to appstreamcli #111

Closed TuxDeluxe closed 1 month ago

TuxDeluxe commented 1 month ago

The url in the appdata.xml doesn't seem to be reachable, possibly because it doesn't auto-complete to adding a "/" on the end of the link whereas a web browser does.

W: it.mijorus.gearlever:7: url-not-reachable
     https://mijorus.it/projects/gearlever - Unexpected status code: 301
   Unable to reach remote location that this URL references - does it exist?

Simply adding a / on the end allows the link to be reachable.

The tag has been deprecated according to the freedesktop appstream specifications. I updated to the \ tag instead, made it untranslatable and use a unique id of "it.mijorus".

I believe flatpak switched to libappstream which uses appstreamcli validate instead of appstream-glib's appstream-util validate because appstream-glib is deprecated. I switched the check inside meson.build according to this which also allows a meson test to succeed. Also added --no-net to allow for offline validation, could possibly use --explain to allow for a more detailed explanation of any errors but it may not be needed.

mijorus commented 1 month ago

lgtm, thank you