Skip to content

Commit

Permalink
Drop ending dot of Caption objects
Browse files Browse the repository at this point in the history
Validate AppData file failed on Flathub, because metainfo's <caption>
objects cannot end in '.'.

flatpak run --env=G_DEBUG=fatal-criticals --command=appstream-util org.flatpak.Builder validate builddir/*/share/appdata/org.endlessos.Key.appdata.xml
 in dir /srv/buildbot/worker/build-x86_64-5/build (timeout 1200 secs)
 watching logfiles {}
 argv: b'flatpak run --env=G_DEBUG=fatal-criticals --command=appstream-util org.flatpak.Builder validate builddir/*/share/appdata/org.endlessos.Key.appdata.xml'
 using PTY: False
builddir/files/share/appdata/org.endlessos.Key.appdata.xml: FAILED:
• style-invalid         : <caption> cannot end in '.' [Completely free; access without an account, safeguarded data, and no ads.]
• style-invalid         : <caption> cannot end in '.' [Engaging and interactive; discover an abundance of ready-made resources, games, simulations, etc.]
Validation of files failed

So, drop the ending dots.

Fixes: #46
  • Loading branch information
starnight committed Sep 13, 2023
1 parent 22c041f commit 278b652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/metainfo/org.endlessos.Key.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
<image type="source" width="1800" height="1013">https://raw.githubusercontent.com/endlessm/endless-key-flatpak/main/data/screenshots/3-tiles.png</image>
</screenshot>
<screenshot>
<caption>Engaging and interactive; discover an abundance of ready-made resources, games, simulations, etc.</caption>
<caption>Engaging and interactive; discover an abundance of ready-made resources, games, simulations, etc</caption>
<image type="source" width="1800" height="1013">https://raw.githubusercontent.com/endlessm/endless-key-flatpak/main/data/screenshots/4-interactive.png</image>
</screenshot>
<screenshot>
<caption>Completely free; access without an account, safeguarded data, and no ads.</caption>
<caption>Completely free; access without an account, safeguarded data, and no ads</caption>
<image type="source" width="1800" height="1013">https://raw.githubusercontent.com/endlessm/endless-key-flatpak/main/data/screenshots/5-free.png</image>
</screenshot>
<screenshot>
Expand Down

0 comments on commit 278b652

Please sign in to comment.