[gnome-software/1649-support-appstream-merging: 99/103] gs-flatpak: Set GUID on the XbBuilder
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1649-support-appstream-merging: 99/103] gs-flatpak: Set GUID on the XbBuilder
- Date: Thu, 28 Apr 2022 13:34:41 +0000 (UTC)
commit 9c4ef72756b434831cba27fee320468a85f9d945
Author: Milan Crha <mcrha redhat com>
Date: Thu Mar 31 14:59:59 2022 +0200
gs-flatpak: Set GUID on the XbBuilder
To regenerate each minor release. It helps to catch on changes
in the merging code, in case the remotes did not change.
plugins/flatpak/gs-flatpak.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index d77150fc7..3f0e6e592 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -972,6 +972,9 @@ gs_flatpak_rescan_appstream_store (GsFlatpak *self,
/* add any installed files without AppStream info */
gs_flatpak_rescan_installed (self, builder, cancellable, error);
+ /* regenerate with each minor release */
+ xb_builder_append_guid (builder, PACKAGE_VERSION);
+
/* create per-user cache */
blobfn = gs_utils_get_cache_filename (gs_flatpak_get_id (self),
"components.xmlb",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]