[gnome-software/wip/rancell/ubuntu-3-20-rebase: 5/33] provenance: Order after apt so we have the origin set
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-3-20-rebase: 5/33] provenance: Order after apt so we have the origin set
- Date: Sat, 17 Jun 2017 09:48:46 +0000 (UTC)
commit 7d425485eb4263319cc01236e9381c8501718daa
Author: Iain Lane <iain orangesquash org uk>
Date: Wed Apr 13 18:43:08 2016 +0100
provenance: Order after apt so we have the origin set
ubuntu-specific: apt should use order_before, but this seems buggy and
creates a loop currently.
src/plugins/gs-plugin-provenance.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-provenance.c b/src/plugins/gs-plugin-provenance.c
index a86d839..bb360d3 100644
--- a/src/plugins/gs-plugin-provenance.c
+++ b/src/plugins/gs-plugin-provenance.c
@@ -81,6 +81,7 @@ const gchar **
gs_plugin_order_after (GsPlugin *plugin)
{
static const gchar *deps[] = {
+ "apt",
"packagekit-refine", /* after the package source is set */
NULL };
return deps;
@@ -135,8 +136,10 @@ gs_plugin_provenance_refine_app (GsPlugin *plugin, GsApp *app)
/* simple case */
origin = gs_app_get_origin (app);
+ g_debug ("prov: considering %s", gs_app_get_id (app));
if (origin != NULL && gs_utils_strv_fnmatch (sources, origin)) {
gs_app_add_quirk (app, AS_APP_QUIRK_PROVENANCE);
+ g_debug ("prov: %s", gs_app_to_string (app));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]