Skip to content

Inconsistency results for font styles from appstream-builder #493

Open
@tagoh

Description

@tagoh

Currently appstream-builder seems picking up a first entry from query of the packages in the alphabetical order though, this affects a screenshot inconsistently.

$ rm -rf /tmp/logs /tmp/appstream /tmp/repodata || :; mkdir /tmp/logs; appstream-builder --verbose --max-threads=8 --log-dir=/tmp/logs --packages-dir=./google-noto-fonts/noarch --temp-dir=/tmp/appstream --output-dir=/tmp/repodata
<snip>
Done!
$ zgrep summary /tmp/repodata/example.xml.gz | wc -l
294
$ zgrep summary /tmp/repodata/example.xml.gz | grep Black | wc -l  
63
$ zgrep summary /tmp/repodata/example.xml.gz | grep Regular | wc -l
197
$ zgrep summary /tmp/repodata/example.xml.gz | grep Bold | wc -l
30
$ zgrep summary /tmp/repodata/example.xml.gz | grep Light | wc -l
1
$ zgrep summary /tmp/repodata/example.xml.gz | grep Italic | wc -l
4

Shouldn't be the first attempt "Regular"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions