On 2024-11-05 11 h 33 a.m., Peter Blackman wrote:
On 04/11/2024 19:21, Louis-Philippe Véronneau wrote:
On 2024-10-28 9 h 12 a.m., Peter B wrote:
Package: lintian
Version: 2.119.0
Severity: normal
X-Debbugs-Cc: pe...@pblackman.plus.com
Dear Maintainer,
Since the release of version 2.119.0, the package trackers for many
(possibly all)
packages that have Appstream metadata are showing the warning
"appstream-metadata-validation-failed".
However, the metadata is valid according to
"appstreamcli validate" & "appstream-util validate".
The link in the tag notes
https://wiki.debian.org/AppStream/Guidelines
does not contain any clues as to what might be the problem here.
If these are not false positives,
please provide information on what maintainers are expected to do
about them.
Appstream is an optional upstream feature.
Please consider introducing Appstream related tags at a lower
severity than Warning.
Regards,
Peter
Hi,
Thanks for reporting this issue. The lintian tag message says the
command you should run is ` --no-net` and not `appstreamcli validate`.
Can you try that instead?
As for more information, the wiki page refers to https://
appstream.debian.org/, which seems to give detailed information about
issues flagged.
Cheers,
Hi,
Running `appstreamcli validate-tree --no-net`
gives the response
I: ~:~: dir-no-metadata-found
✔ Validation was successful: infos: 1
The result is always the same irrespective of whether a path to the
source tree,
or the actual metadata file is given as the parameter.
I can't see any reference to 'appstreamcli validate-tree' from your link,
and haven't found any useful information anywhere else.
I mentioned `appstreamcli validate` because it shows that the metadata
is correct.
It is probably a more reliable test than 'appstreamcli validate-tree'
(There is also appstream-util validate, which also shows the metadata is
valid)
Regards,
Peter
The command that is ran is in the Lintian tag explanation (the message
that you see on the CLI, or on the HTML output). You can also find this
message here:
https://udd.debian.org/lintian-tag/appstream-metadata-validation-failed
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.
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
⢿⡄⠘⠷⠚⠋ po...@debian.org / veronneau.org
⠈⠳⣄