On Mon, May 25, 2020 at 9:31 PM Vascom <vasc...@gmail.com> wrote:
>
> Hi all.
>
> Some packages has string
> <icon type="stock">...
> And appstream-util validate-relax show error
> ? tag-invalid           : stock icon is not valid
>
> There exist bugreport one year old!
> https://bugzilla.redhat.com/show_bug.cgi?id=1584944
>
>
> Please pay attention to it.
>
> No I don't know what to do:
> 1. Remove this string from xml file.
> 2. Disable validation at all. But guidelines say that I MUST run it
> https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage
>
> And I see that some packages not run validation like
> plasma-systemsettings bit still contain metainfo .xml with <icon
> type="stock">systemsettings</icon>

Hi!

I opened an issue with appstream-glib upstream project about this.
Turns out, it's not that icons of type "stock" are considered invalid,
but there's only a short whitelist of *stock icon names* that's
considered valid:

https://github.com/hughsie/appstream-glib/issues/360

Fabio

> --
> Best Regards,
> Vasiliy Glazov
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to