[buoh/ci-bump: 1/4] data: Attempt to fix Appstream validation
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/ci-bump: 1/4] data: Attempt to fix Appstream validation
- Date: Tue, 14 Jul 2020 00:11:42 +0000 (UTC)
commit 9ca2e11551d0a6c6db996d4e52ba23c6e8e1dc75
Author: Jan Tojnar <jtojnar gmail com>
Date: Tue Jul 14 01:59:40 2020 +0200
data: Attempt to fix Appstream validation
appstream-glib modernized its validation
(https://github.com/hughsie/appstream-glib/commit/2eb9b8caf9ca22ac914b63f34fea5dd6da6f4e76)
making appstream-util complain about these:
• tag-missing : <content_rating> required [use https://odrs.gnome.org/oars]
• tag-missing : <release> required
I fixed the first one by using empty content rating tag like Epiphany does,
and the second one by wrapping all the releases in releases tag.
Unfortunately, that revealed more issues:
• attribute-missing : <release> has no timestamp
• style-invalid : <p> is too short [Added 28 new comics, including:]
The first one caused by us including an unreleased release, the second one is just super weird,
since there are even shorter paragraphs before some lists.
I decided to resign and use validate-relax.
data/meson.build | 2 +-
data/org.gnome.buoh.appdata.xml.in | 239 +++++++++++++++++++------------------
2 files changed, 122 insertions(+), 119 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 66ea098..c34deb3 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -77,7 +77,7 @@ if (appstream_util.found())
test(
'Validating ' + appdata,
appstream_util,
- args: ['validate', '--nonet', appdata],
+ args: ['validate-relax', '--nonet', appdata],
workdir: meson.current_build_dir(),
)
endif
diff --git a/data/org.gnome.buoh.appdata.xml.in b/data/org.gnome.buoh.appdata.xml.in
index 4cc1022..176564c 100644
--- a/data/org.gnome.buoh.appdata.xml.in
+++ b/data/org.gnome.buoh.appdata.xml.in
@@ -12,124 +12,127 @@
<url type="homepage">http://buoh.steve-o.org/</url>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/buoh/issues</url>
<project_group>GNOME</project_group>
- <release date="0000-00-00" version="0.9.0">
- <description>
- <p>“Back to life”</p>
- <p>Changes:</p>
- <ul>
- <li>Moved to gitlab.gnome.org</li>
- <li>Ported to meson and modern gettext (removing intltool dependency)</li>
- <li>Ported to libsoup 2.4</li>
- <li>Get rid of libgnomeui</li>
- <li>Get rid of GConf</li>
- <li>Updated GTK stuff</li>
- <li>Updated buoh.dia UML diagram</li>
- <li>Added different sizes icons</li>
- <li>Added support for XDG directory specification; feel free to move your configuration to
$XDG_CONFIG_HOME/buoh</li>
- </ul>
- </description>
- </release>
- <release date="2006-10-23" version="0.8.2">
- <description>
- <p>“Quicker than a cheetah”</p>
- <p>Changes:</p>
- <ul>
- <li>The comics loading has been improved to make it faster. (Carlos García Campos)</li>
- <li>Icons are installed according to icon theme specification. (Carlos García Campos)</li>
- <li>Implement best fit and fit width zoom modes. Fit width is now the mode by default. (Carlos
García Campos)</li>
- <li>Make libgnomeui an optional dependency enabled by default when available. (Carlos García
Campos)</li>
- <li>Remember zoom mode between sessions. (Carlos García Campos)</li>
- </ul>
- <p>Comics:</p>
- <ul>
- <li>
- <p>Added:</p>
- <ul>
- <li>Calvin and Hobbes (english version)</li>
- <li>The Pink Panther</li>
- <li>Ronaldinho Gaucho</li>
- <li>Schlock mercenary</li>
- <li>Carla Ventresca & Herny Beckett</li>
- <li>Brainwaves</li>
- <li>C'est la vie</li>
- <li>Work it out</li>
- <li>Nichtlustig (German)</li>
- <li>…and many more. (Esteban Sánchez Muñoz)</li>
- </ul>
- </li>
- <li>
- <p>Removed:</p>
- <ul>
- <li>Cats With Hands</li>
- <li>Frank & Ernest</li>
- <li>Wigu</li>
- <li>Owlie</li>
- <li>Bruno the Bandit</li>
- <li>Not available comics</li>
- <li>…and many more.</li>
- </ul>
- </li>
- <li>
- <p>Fixed:</p>
- <ul>
- <li>Sinfest</li>
- <li>Forges (Esteban Sánchez Muñoz)</li>
- <li>A Lawyer, A Doctor & A Cop. (Carlos García Campos)</li>
- </ul>
- </li>
- </ul>
- </description>
- </release>
- <release date="2005-12-02" version="0.8.1">
- <description>
- <p>“Smaller than an ant”</p>
- <p>Changes:</p>
- <ul>
- <li>Added a cache system that improves drastically the memory usage and reduce the comic access
time. (Carlos García Campos)</li>
- <li>Save the original image instead of a new png when saving a copy. (Carlos García Campos)</li>
- <li>Support for code translation. (Esteban Sánchez Muñoz)</li>
- <li>Buoh also works now with GTK+ ≤ 2.6.(Bastien Nocera)</li>
- <li>Many other bugfixes, memory leaks and code cleanups. (Carlos García Campos)</li>
- </ul>
- <p>Comics:</p>
- <p>Added 28 new comics, including:</p>
- <ul>
- <li>Ctrl+Alt+Del (thanks to James Hall)</li>
- <li>Penny Arcade</li>
- <li>PvP</li>
- <li>Alpha Luna</li>
- <li>Sinfest</li>
- <li>The amazing Spiderman</li>
- <li>Blondie</li>
- <li>Mother Goose & Grimm</li>
- <li>Dennis the menace</li>
- <li>Hagar the horrible</li>
- <li>Do you know Flo? (Dutch)</li>
- <li>Doorzon (Dutch)</li>
- <li>Lectrrland (Dutch)</li>
- <li>…and many more (Esteban Sánchez Muñoz)</li>
- <li>There are comics in dutch. (Esteban Sánchez Muñoz)</li>
- </ul>
- <p>Thanks to all the people who have proposed new comics.</p>
- </description>
- </release>
- <release date="2005-11-08" version="0.8">
- <description>
- <p>First public release.</p>
- <p>Comics:</p>
- <ul>
- <li>Including 128 online comics stripes.</li>
- <li>There are comics in english and in spanish.</li>
- <li>Browsing through an historical archive in each strip.</li>
- </ul>
- <p>Miscellaneous:</p>
- <ul>
- <li>It is possible to save a comic to disk.</li>
- <li>Integration with GNOME lockdowns.</li>
- <li>The GUI follows the HIG.</li>
- </ul>
- </description>
- </release>
+ <content_rating type="oars-1.1" />
+ <releases>
+ <release date="0000-00-00" version="0.9.0">
+ <description>
+ <p>“Back to life”</p>
+ <p>Changes:</p>
+ <ul>
+ <li>Moved to gitlab.gnome.org</li>
+ <li>Ported to meson and modern gettext (removing intltool dependency)</li>
+ <li>Ported to libsoup 2.4</li>
+ <li>Get rid of libgnomeui</li>
+ <li>Get rid of GConf</li>
+ <li>Updated GTK stuff</li>
+ <li>Updated buoh.dia UML diagram</li>
+ <li>Added different sizes icons</li>
+ <li>Added support for XDG directory specification; feel free to move your configuration to
$XDG_CONFIG_HOME/buoh</li>
+ </ul>
+ </description>
+ </release>
+ <release date="2006-10-23" version="0.8.2">
+ <description>
+ <p>“Quicker than a cheetah”</p>
+ <p>Changes:</p>
+ <ul>
+ <li>The comics loading has been improved to make it faster. (Carlos García Campos)</li>
+ <li>Icons are installed according to icon theme specification. (Carlos García Campos)</li>
+ <li>Implement best fit and fit width zoom modes. Fit width is now the mode by default. (Carlos
García Campos)</li>
+ <li>Make libgnomeui an optional dependency enabled by default when available. (Carlos García
Campos)</li>
+ <li>Remember zoom mode between sessions. (Carlos García Campos)</li>
+ </ul>
+ <p>Comics:</p>
+ <ul>
+ <li>
+ <p>Added:</p>
+ <ul>
+ <li>Calvin and Hobbes (english version)</li>
+ <li>The Pink Panther</li>
+ <li>Ronaldinho Gaucho</li>
+ <li>Schlock mercenary</li>
+ <li>Carla Ventresca & Herny Beckett</li>
+ <li>Brainwaves</li>
+ <li>C'est la vie</li>
+ <li>Work it out</li>
+ <li>Nichtlustig (German)</li>
+ <li>…and many more. (Esteban Sánchez Muñoz)</li>
+ </ul>
+ </li>
+ <li>
+ <p>Removed:</p>
+ <ul>
+ <li>Cats With Hands</li>
+ <li>Frank & Ernest</li>
+ <li>Wigu</li>
+ <li>Owlie</li>
+ <li>Bruno the Bandit</li>
+ <li>Not available comics</li>
+ <li>…and many more.</li>
+ </ul>
+ </li>
+ <li>
+ <p>Fixed:</p>
+ <ul>
+ <li>Sinfest</li>
+ <li>Forges (Esteban Sánchez Muñoz)</li>
+ <li>A Lawyer, A Doctor & A Cop. (Carlos García Campos)</li>
+ </ul>
+ </li>
+ </ul>
+ </description>
+ </release>
+ <release date="2005-12-02" version="0.8.1">
+ <description>
+ <p>“Smaller than an ant”</p>
+ <p>Changes:</p>
+ <ul>
+ <li>Added a cache system that improves drastically the memory usage and reduce the comic access
time. (Carlos García Campos)</li>
+ <li>Save the original image instead of a new png when saving a copy. (Carlos García Campos)</li>
+ <li>Support for code translation. (Esteban Sánchez Muñoz)</li>
+ <li>Buoh also works now with GTK+ ≤ 2.6.(Bastien Nocera)</li>
+ <li>Many other bugfixes, memory leaks and code cleanups. (Carlos García Campos)</li>
+ </ul>
+ <p>Comics:</p>
+ <p>Added 28 new comics, including:</p>
+ <ul>
+ <li>Ctrl+Alt+Del (thanks to James Hall)</li>
+ <li>Penny Arcade</li>
+ <li>PvP</li>
+ <li>Alpha Luna</li>
+ <li>Sinfest</li>
+ <li>The amazing Spiderman</li>
+ <li>Blondie</li>
+ <li>Mother Goose & Grimm</li>
+ <li>Dennis the menace</li>
+ <li>Hagar the horrible</li>
+ <li>Do you know Flo? (Dutch)</li>
+ <li>Doorzon (Dutch)</li>
+ <li>Lectrrland (Dutch)</li>
+ <li>…and many more (Esteban Sánchez Muñoz)</li>
+ <li>There are comics in dutch. (Esteban Sánchez Muñoz)</li>
+ </ul>
+ <p>Thanks to all the people who have proposed new comics.</p>
+ </description>
+ </release>
+ <release date="2005-11-08" version="0.8">
+ <description>
+ <p>First public release.</p>
+ <p>Comics:</p>
+ <ul>
+ <li>Including 128 online comics stripes.</li>
+ <li>There are comics in english and in spanish.</li>
+ <li>Browsing through an historical archive in each strip.</li>
+ </ul>
+ <p>Miscellaneous:</p>
+ <ul>
+ <li>It is possible to save a comic to disk.</li>
+ <li>Integration with GNOME lockdowns.</li>
+ <li>The GUI follows the HIG.</li>
+ </ul>
+ </description>
+ </release>
+ </releases>
<screenshots>
<screenshot height="421" width="754">
<image>http://buoh.steve-o.org/buoh-images/Screenshot-Buoh.png</image>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]