Bug#1037214: bullseye-pu: package appstream-glib/0.7.18-1+deb11u1
Package: release.debian.org
Severity: normal
Tags: bullseye moreinfo
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: appstream-glib@packages.debian.org
Control: affects -1 + src:appstream-glib
[ Reason ]
Recent server-side changes on flathub.org mean that it started publishing
Appstream metadata that appstream-glib doesn't understand (<em> and <code>
markup), and appstream-glib is intolerant of non-recognised markup in
this context, causing `flatpak search` to regress in bullseye. (#1037206)
[ Impact ]
If not fixed, `flatpak search` will show an error message for Flathub
users and not offer any search results, unless the user upgrades to
the version from bullseye-backports (which is unaffected by appstream-glib
bugs because it has switched to using libappstream, a different codebase).
[ Tests ]
I confirmed that this fixes the reproducer from #1037206.
bullseye's gnome-software, which uses appstream-glib, is still able
to display search results from both Debian (I searched for amoebax)
and Flathub (I searched for steamlink and organicmaps). The package
description for organicmaps, which includes <em> and therefore triggered
this bug, is not displayed correctly in gnome-software (text inside <em>
doesn't appear), but that isn't a regression: the same behaviour is seen
without this change.
The patches also add a regression test, which is run at build-time
and passes.
[ Risks ]
These are straightforward backports from the newer upstream release in
bookworm, and have also been proposed for an Ubuntu 22.04 stable update.
The original change introduced a test failure, for which the subsequent
upstream fix is also included.
I've marked this as moreinfo because it should ideally be reviewed by the
package's maintainer (not me).
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
All changes are part of solving #1037206.
Reply to: