gnome-software:wip/jrocha/fix_popular_overrides

Last commit made on 2017-04-13
Get this branch:
git clone -b wip/jrocha/fix_popular_overrides https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
wip/jrocha/fix_popular_overrides
Repository:
lp:gnome-software

Recent commits

a217c89... by Joaquim Rocha <email address hidden> on 2017-04-13

Add self tests for the core plugin

The tests cover currently gs_appstream_create_app.

410cfd4... by Joaquim Rocha <email address hidden> on 2017-03-31

Fix popular-overrides

When the popular overrides setting is set, we need to refine the apps in
order for them to be valid in the end.

This patch also updates the tests and covers the popular apps overrides.

826eb7e... by Joaquim Rocha <email address hidden> on 2017-03-31

Always create an app if the cached one matches any prefix in gs-appstream

When creating an app, if there's a matching cached one but it has the
"match any prefix" quirk, then we should proceed with creating a new app
because the cached one, due to that quirk, will behave differently than
our newly created one: e.g. it'll use refine_wildcard, it won't be able
to get a management plugin, etc.

This prevents problems associated with the behaviors mentioned above:
e.g. if there's an app in the global cache matching any prefix, and then
AppStream tries to create one from the AppStream data, it would reuse
the cached one instead; then it would be refined but would never get an
icon because the icons plugin does not implement refine_wildcard.

f48927e... by Joaquim Rocha <email address hidden> on 2017-03-31

Use the unique id of an AsApp when creating a GsApp in gs-appstream

Instead of using the simple id when creating a GsApp from an AsApp, we
should use its unique id instead because it may have extra information
that the simple id won't, e.g. the bundle kind, app kind, etc.

This leads to a GsApp that is closer to the AsApp that it represents.

8955657... by Joaquim Rocha <email address hidden> on 2017-03-31

Prevent potential abuse of an app list in the plugin-loader

The list of apps that was looped over for calling the refine in each app
was also being passed to the refine functions. This could lead to
problems if the function affected the list (removed or added apps).

This patch fixes that issue by using a copy of the list in the loop.

9584c1e... by gogo on 2017-04-11

Update Croatian translation

(cherry picked from commit 5e9f5e5d052820034e8cb2410e202bf3cd1bbe62)

c480ee6... by Richard Hughes on 2017-04-10

Remove the automake build system

318ca26... by Richard Hughes on 2017-04-10

trivial: Actually build gnome-software-restarter when using meson

b59ec60... by Richard Hughes on 2017-04-10

trivial: Fix installing the gtk-doc files when using meson

967fda1... by Richard Hughes on 2017-04-10

Fix destdir!=srcdir when running the flatpak tests