gnome-software:mwleeds/pwa-generator

Last commit made on 2022-02-03
Get this branch:
git clone -b mwleeds/pwa-generator https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
mwleeds/pwa-generator
Repository:
lp:gnome-software

Recent commits

d56fa78... by Phaedrus Leeds <email address hidden>

Add pwa-metainfo-generator

This is a Python script for generating AppStream metainfo for a set of
web apps given as input, so that GNOME Software can display them as
installable. The intended user is distributions that want to include web
apps in their set of available software, or potentially GNOME if we
decide to include some by default
(https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1575)

369af48... by Milan Crha <email address hidden>

Merge branch 'refactor-threads14' into 'main'

gs-plugin-event: Allow specifying properties at construction time

See merge request GNOME/gnome-software!1181

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

Merge branch 'refactor-threads13' into 'main'

gs-download-utils: Split out SoupSession construction

See merge request GNOME/gnome-software!1180

663f2d2... by Richard Hughes

Merge branch 'fwupd-dir-fix' into 'main'

fwupd: Do only refresh for KIND_DOWNLOAD repositories

See merge request GNOME/gnome-software!1177

0b9dd2d... by Philip Withnall <email address hidden>

gs-plugin-event: Drop unused setter functions

Signed-off-by: Philip Withnall <email address hidden>

8872ae8... by Philip Withnall <email address hidden>

gs-plugin-event: Allow specifying properties at construction time

Since the properties are construct-only, they should be specified at
construction time. This fixes the anti-pattern of creating event objects
and then calling multiple setters on them.

This introduces no functional changes.

Signed-off-by: Philip Withnall <email address hidden>

f09f1e8... by Philip Withnall <email address hidden>

gs-plugin-event: Add GObject properties

Once GObject properties are added, they can be set at construction time,
and then the `GsPluginEvent` can be considered immutable after
construction. That should help with thread safety.

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1472

bf337c4... by Philip Withnall <email address hidden>

gs-plugin-event: Split finalize and dispose vfuncs

`dispose()` is needed to be able to clear refcounting loops. While I
haven’t seen any of them, it’s possible that at some point a refcounting
loop might exist between an app and an event, so split the vfuncs in
case.

Also tidy up the code to use ‘clear’ functions.

Signed-off-by: Philip Withnall <email address hidden>

ed4d6f9... by Philip Withnall <email address hidden>

gs-plugin: Drop get_soup_session() method

It’s no longer used; plugins should construct their own private
`SoupSession` instances.

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1472

655679e... by Philip Withnall <email address hidden>

gs-download-utils: Use new SoupSession construction method

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1472