[gnome-software/1649-support-appstream-merging: 6/10] 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: 6/10] gs-flatpak: Set GUID on the XbBuilder
- Date: Thu, 31 Mar 2022 13:34:33 +0000 (UTC)
commit 782b3c57d963cbeaee77dec771acc25f35a83886
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 1ba4cd76f..41cfb2660 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -940,6 +940,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]