Skip to content

gs-plugin-job-refresh-metadata: Add job class for refreshing metadata

This replaces GS_PLUGIN_ACTION_REFRESH. It’s a separate class so that type safety can be improved, and behaviour specific to refreshing metadata can be implemented in the class without complicating GsPluginLoader further.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Helps: #1472


See the commit messages for more details. This MR contains all the normal commits for adding a new GsPluginJob (porting the plugins to use it), but also has to contain a few additional commits to fix threading issues I came across during the port.

It’s based on !1241 (merged) (since it uses the new external-appstream async API), so the first few commits should be ignored. It can’t land until !1241 (merged) does.

Edited by Philip Withnall

Merge request reports