[gnome-software] {rpm-,}ostree: Fix misleading comments



commit a49e18449ba1380b5a1a9ad8717e23aa4eb4d33a
Author: Colin Walters <walters verbum org>
Date:   Wed Jul 5 11:57:21 2017 -0400

    {rpm-,}ostree: Fix misleading comments
    
    There is actually now `rpm-ostree ex livefs`;
    http://www.projectatomic.io/blog/2017/06/rpm-ostree-v2017.6-released/

 plugins/ostree/gs-plugin-ostree.c         |    6 +++++-
 plugins/rpm-ostree/gs-plugin-rpm-ostree.c |    4 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/plugins/ostree/gs-plugin-ostree.c b/plugins/ostree/gs-plugin-ostree.c
index ce8c7a4..9511a05 100644
--- a/plugins/ostree/gs-plugin-ostree.c
+++ b/plugins/ostree/gs-plugin-ostree.c
@@ -42,7 +42,11 @@ gs_plugin_initialize (GsPlugin *plugin)
                return;
        }
 
-       /* ostree can't install packages live */
+       /* ostree doesn't have packages; rpm-ostree does (see the rpm-ostree
+        * plugin), but the current plan is to make a custom plugin for that
+        * instead of using PackageKit. See the the rpm-ostree plugin for more
+        * info.
+        */
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_CONFLICTS, "packagekit");
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_CONFLICTS, "packagekit-history");
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_CONFLICTS, "packagekit-offline");
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index cd52647..63eeebb 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -44,7 +44,9 @@ gs_plugin_initialize (GsPlugin *plugin)
                return;
        }
 
-       /* ostree can't install packages live */
+       /* rpm-ostree is already a daemon with a DBus API; hence it makes
+        * more sense to use a custom plugin instead of using PackageKit.
+        */
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_CONFLICTS, "packagekit");
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_CONFLICTS, "packagekit-history");
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_CONFLICTS, "packagekit-offline");


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