[gnome-software/1218-gs-repos-dialog-disable-deduplication-when-asking-for-configured-sources] gs-repos-dialog: Disable deduplication when asking for configured sources



commit 6191b0cdbb1ae656dc54b58a511791cb1cfb4c41
Author: Milan Crha <mcrha redhat com>
Date:   Thu Apr 22 17:53:43 2021 +0200

    gs-repos-dialog: Disable deduplication when asking for configured sources
    
    Allow "duplicates" in the available repositories list, because they might
    not be real duplicates, especially when they come from different plugins.
    Like a PackageKit plugin can return a repository of the same ID as
    the Flatpak plugin.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1218

 src/gs-repos-dialog.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gs-repos-dialog.c b/src/gs-repos-dialog.c
index 3d00b2510..282410809 100644
--- a/src/gs-repos-dialog.c
+++ b/src/gs-repos-dialog.c
@@ -618,6 +618,7 @@ reload_sources (GsReposDialog *dialog)
        plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_GET_SOURCES,
                                         "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_RELATED |
                                                         GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN_HOSTNAME,
+                                        "dedupe-flags", GS_APP_LIST_FILTER_FLAG_NONE,
                                         NULL);
        gs_plugin_loader_job_process_async (dialog->plugin_loader, plugin_job,
                                            dialog->cancellable,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]