#1219 [master] Doc issue in file guidelines/modules/ROOT/pages/AppData.adoc
Opened a year ago by vandebugger. Modified a year ago

The page advertises appstream-util validate-relax which is in "deep maintenance mode" (read: almost abandoned). The page should recommend appstreamcli for validating metainfo files, not appstream-util.

See Error reporting of 'appstream-util validate' is too vague.


This is a known problem:
https://pagure.io/packaging-committee/issue/1053

TL;DR: appstream-glib is still used on the server-side, so we can't drop validation with appstream-util. However, appstream is now used by all client-side applications, so we might need to start validating with appstreamcli, as well.

Maybe we can put this stuff into RPM macros? ...

Feel free and rough out what you think a spec with these macros would look like. Maybe we can cook something up.

Could we add validation of appstream metadata into RPM's postinstall scriptlet or something? That way spec files wouldn't need to be changed, except for adding missing BRs.

Login to comment on this ticket.

Metadata