Open sidt4 opened 1 year ago
Just FYI.
/usr/share/metainfo/org.gnome.DejaDup.metainfo.xml
(appstream-util:295440): As-WARNING **: 14:32:40.574: Unknown tag: <branding>
/usr/share/metainfo/org.inkscape.Inkscape.appdata.xml:
(appstream-util:295789): As-WARNING **: 14:32:42.416: Unknown tag: <supports>
I think using appstreamcli
is probably a much better idea - it's much more up to date that the validator here.
Yes, it seems like appstreamcli
is better. But, then why keep the validator ? It's confusing.
For a while there was still tools using appstream-glib
- nowadays we could probably remove it from Linux distributions, but then again, if someone needs it to reproduce previous behavior or wants to compile older code it is available and nice to have.
For newer things, just use appstreamcli
:)
Can we at least print a warning when using appstream-glib
saying "appstreamcli should be used etc."
?
Point here is that, it sounds good for those who are aware of appstream-glib
and appstreamcli
. But based on the information available in web ( some articles point to appstream-glib
and some appstreamcli
), new users could still start their appstream journey with appstream-glib
, thinking they are using the new tools.
I have wasted few clocks on this. Don't want others to go through the same.
Can we at least print a warning when using appstream-glib saying "appstreamcli should be used etc." ?
I'm worried about that breaking automated scripts --- but maybe that's something we should do anyway :)
The alternative is to just run appstreamcli if the user types in appstream-util validate. @ximion any concerns about this?
The alternative is to just run appstreamcli if the user types in appstream-util validate. @ximion any concerns about this?
The two tools are not quite 100% compatible - wouldn't that break scripts even more? It would also make appstream-glib and appstreamcli not coinstallable (although that's probably not an issue at this point).
<recommends>
tag is currently not supported / implemented inappstream-util
The invalid tag name is missing in above log. With https://github.com/hughsie/appstream-glib/pull/470, the invalid tag name is now displayed.
It appears that
<recommends>
tag is used by lot of apps, as below: