In section "2.6.2. Example file" of the AppStream documentation this example id is given:
<id>org.gnome.gedit-code-assistance</id>
Which gives a bad example though, as section "2.1.3. XML Specification" has a note "Escaping characters in the component ID" which recommends "to replace any hyphens in the ID with underscores".
If being inspired by the example only, then appstreamcli complaining about such hyphens, results in developers rolling theirs eyes unwantedly, which can be harmful ;)
The text was updated successfully, but these errors were encountered:
results in developers rolling theirs eyes unwantedly, which can be harmful
Depends on how much force they use when rolling their eyes...
I thought I caught all the occurences of dashes in the docs, looks like I missed some... The "no hyphen" requirement was added to AppStream at a later time, so some IDs haven't been updated yet.
In section "2.6.2. Example file" of the AppStream documentation this example id is given:
Which gives a bad example though, as section "2.1.3. XML Specification" has a note "Escaping characters in the component ID" which recommends "to replace any hyphens in the ID with underscores".
If being inspired by the example only, then appstreamcli complaining about such hyphens, results in developers rolling theirs eyes unwantedly, which can be harmful ;)
The text was updated successfully, but these errors were encountered: