Bug#1086181: lintian: Many false positive warnings for appstream-metadata-validation-failed
[Louis-Philippe Véronneau]
> As for the right command to run, I'm adding pere in CC, as he's the
> one who wrote that code. I'm certainly no expert on this subject and
> he'll probably have a more interesting opinion than I.
Thank you for the heads up. The lintian test is using appstreamcli
validate-tree, and as far as I know this do not report any false
positives, but the same issues that would make the appstream parser
ignore the Appstream information.
Peter, do you have an example package I could look at to see the false
positives you are talking about? The example fragments mentioned
earlier are confusing, as the lintian check should only run if a file is
discovered in /usr/share/metainfo/, and the message "I: ~:~:
dir-no-metadata-found" indicate that no metainfo XML file was present in
the directory.
Just as a test and to check, I fetched the source for a random package
listed on
<URL: https://udd.debian.org/lintian-tag/appstream-metadata-validation-failed?affected=yes >,
catfish, and its lintian detected Appstream error was present (W:
org.xfce.Catfish:~: metainfo-filename-cid-mismatch). If there is a
false positive somewhere, I am happy to investigate.
--
Happy hacking
Petter Reinholdtsen
Reply to: