Hello community, here is the log from the commit of package gnome-software for openSUSE:Factory checked in at 2020-06-11 14:47:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-software (Old) and /work/SRC/openSUSE:Factory/.gnome-software.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-software" Thu Jun 11 14:47:38 2020 rev:71 rq:813315 version:3.36.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-software/gnome-software.changes 2020-06-08 23:47:53.274078129 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-software.new.3606/gnome-software.changes 2020-06-11 14:47:53.289939413 +0200 @@ -1,0 +2,7 @@ +Mon Jun 8 02:55:54 UTC 2020 - Jonathan Kang <songchuan.k...@suse.com> + +- Add gnome-software-failed-offline-update-notification.patch: + plugin-loader: handle offline update errors properly(bsc#1161095, + glgo#GNOME/gnome-software!471). + +------------------------------------------------------------------- New: ---- gnome-software-failed-offline-update-notification.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-software.spec ++++++ --- /var/tmp/diff_new_pack.53Kr4L/_old 2020-06-11 14:47:53.981941429 +0200 +++ /var/tmp/diff_new_pack.53Kr4L/_new 2020-06-11 14:47:53.981941429 +0200 @@ -29,6 +29,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 gnome-software-failed-offline-update-notification.patch bsc#1161095 glgo#GNOME/gnome-software!471 sck...@suse.com -- plugin-loader: handle offline update errors properly. +Patch1: gnome-software-failed-offline-update-notification.patch BuildRequires: gtk-doc BuildRequires: meson >= 0.47.0 ++++++ gnome-software-failed-offline-update-notification.patch ++++++ >From 61f710f401a340600df2e3c4758c2fe156ad1f04 Mon Sep 17 00:00:00 2001 From: Jonathan Kang <jonathank...@gnome.org> Date: Fri, 5 Jun 2020 09:02:12 +0800 Subject: [PATCH] plugin-loader: handle offline update errors properly Fix the issue that no notification after a failed offline update. https://gitlab.gnome.org/GNOME/gnome-software/-/issues/666 --- lib/gs-plugin-loader.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c index 979f3d5d..585353ba 100644 --- a/lib/gs-plugin-loader.c +++ b/lib/gs-plugin-loader.c @@ -410,6 +410,13 @@ gs_plugin_error_handle_failure (GsPluginLoaderHelper *helper, return FALSE; } + /* offline updates */ + if (gs_plugin_job_get_action (helper->plugin_job) == GS_PLUGIN_ACTION_GET_UPDATES_HISTORICAL) { + if (error != NULL) + *error = g_error_copy (error_local); + return FALSE; + } + /* create event which is handled by the GsShell */ event = gs_plugin_job_to_failed_event (helper->plugin_job, error_local); -- 2.26.2