gnome-software:wip/flatpak-remote-change

Last commit made on 2023-04-03
Get this branch:
git clone -b wip/flatpak-remote-change https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
wip/flatpak-remote-change
Repository:
lp:gnome-software

Recent commits

b213c26... by Milan Crha <email address hidden>

gs-installed-page: Reload the page on GsPluginLoader::installed-changed signal

This behaves the same as the 'GsPluginLoader::reload' signal, the new
signal refreshes only the Installed page, not all the pages.

58103ed... by Milan Crha <email address hidden>

flatpak: Emit 'GsPlugin::installed-changed' signal

Emit the signal when it's recognized that the list of the installed
apps changed.

74153c2... by Milan Crha <email address hidden>

gs-plugin-loader: Add 'installed-changed' signal

...and connect to the GsPlugin:installed-changed signal to pass
it to any listener.

1a70ee3... by Milan Crha <email address hidden>

gs-plugin: Add 'installed-changed' signal

To be used instead of a 'reload' to let the others know that a list
of the installed apps changed.

84bb719... by Milan Crha <email address hidden>

flatpak: Re-set cached app's scope on cache refresh

The runtimes can have the scope unset during operations with it,
which breaks unit tests.

4899366... by Milan Crha <email address hidden>

flatpak: Update cached apps' state during gs_flatpak_refresh() call

The gs_flatpak_refresh() is usually called after a change made
from outside of the Software is detected, thus also update cached
apps' state, because some could be installed/updated/downgraded/removed/...

0d10d8f... by Milan Crha <email address hidden>

flatpak: Add helper functions to fill and use installed refs

To be used on two places in the following commit.

aaa07e4... by Milan Crha <email address hidden>

flatpak: Do not call gs_plugin_reload() on remote change

Rather than invalidating local cache and reloading everything in the GUI,
which causes ugly flashing of the pages, just update already cached apps'
state.

7345dcb... by Milan Crha <email address hidden>

flatpak: Track installed updatable refs

This helps to accurately set state of an app, otherwise the state
could be "downgraded" from "updatable-live" to "installed".

9a478a9... by Milan Crha <email address hidden>

gs-plugin-loader: Connect to 'GsPlugin:schedule-refresh' signal

Run a refresh job when a plugin asks for it.