I am preparing an app for flathub submission and here is my metainfo file screen-orientation-manager/io.github.archisman_panigrahi.screen-orientation-manager.metainfo.xml at screen-orientation-manager · archisman-panigrahi/screen-orientation-manager · GitHub
When I try to validate manually, my metainfo file passes validation.
$ flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream io.github.archisman_panigrahi.screen-orientation-manager.metainfo.xml
✔ Validation was successful.
However, after building, when I run flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo repo, it shows
{
"errors": [
"appstream-failed-validation"
],
"appstream": [
"W: io.github.archisman_panigrahi.screen-orientation-manager:24: description-spurious-text",
"W: io.github.archisman_panigrahi.screen-orientation-manager:22: description-no-valid-content"
],
"info": [
"appstream-failed-validation: Metainfo file /tmp/tmp55xe79zc/metainfo/io.github.archisman_panigrahi.screen-orientation-manager.metainfo.xml has failed validation. Please see the errors in appstream block"
],
"message": "See https://docs.flathub.org/linter for details and exceptions"
}
How to debug this?