Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnome-software for openSUSE:Factory checked in at 2022-04-10 19:05:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-software (Old) and /work/SRC/openSUSE:Factory/.gnome-software.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-software" Sun Apr 10 19:05:23 2022 rev:91 rq:967859 version:42.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-software/gnome-software.changes 2022-03-23 20:16:23.110395101 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-software.new.1900/gnome-software.changes 2022-04-10 19:05:36.138368167 +0200 @@ -1,0 +2,6 @@ +Fri Apr 8 11:39:59 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org> + +- Add 8cbce25.patch: Fix Gnome-Software keep poping up notification + "Software updates failed". + +------------------------------------------------------------------- New: ---- 8cbce25.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-software.spec ++++++ --- /var/tmp/diff_new_pack.qutLCN/_old 2022-04-10 19:05:36.574363340 +0200 +++ /var/tmp/diff_new_pack.qutLCN/_new 2022-04-10 19:05:36.578363296 +0200 @@ -30,6 +30,8 @@ # PATCH-FIX-OPENSUSE gnome-software-launch-gpk-update-viewer-for-updates.patch bsc#1077332 boo#1090042 sck...@suse.com -- Don't launch gnome-software when clicking the updates notification. Launch gpk-update-viewer instead. Patch0: gnome-software-launch-gpk-update-viewer-for-updates.patch %endif +# PATCH-FIX-UPSTREAM 8cbce25.patch dims...@opensuse.org -- Fix repeating notification "Software updates failed" +Patch1: https://gitlab.gnome.org/GNOME/gnome-software/-/commit/8cbce25.patch BuildRequires: gtk-doc BuildRequires: meson >= 0.47.0 ++++++ 8cbce25.patch ++++++ >From 8cbce258c3ed1e581477ce56972c9ce9c6225aa5 Mon Sep 17 00:00:00 2001 From: Philip Withnall <pwithn...@endlessos.org> Date: Mon, 28 Mar 2022 11:32:10 +0100 Subject: [PATCH] gs-update-monitor: Ignore G_IO_ERROR_CANCELLED for historical updates Signed-off-by: Philip Withnall <pwithn...@endlessos.org> Helps: #1693 --- src/gs-update-monitor.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c index a8d3e014c..bf7dbf683 100644 --- a/src/gs-update-monitor.c +++ b/src/gs-update-monitor.c @@ -1125,6 +1125,12 @@ get_updates_historical_cb (GObject *object, GAsyncResult *res, gpointer data) /* get result */ apps = gs_plugin_loader_job_process_finish (GS_PLUGIN_LOADER (object), res, &error); if (apps == NULL) { + if (g_error_matches (error, GS_PLUGIN_ERROR, GS_PLUGIN_ERROR_CANCELLED) || + g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { + g_debug ("Failed to get historical updates: %s", error->message); + g_clear_error (&monitor->last_offline_error); + return; + } /* save this in case the user clicks the * 'Show Details' button from the notification below */ -- GitLab