[gnome-software: 1/2] rpm-ostree: Add better comment for the hide-from-search quirk
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] rpm-ostree: Add better comment for the hide-from-search quirk
- Date: Mon, 4 Apr 2022 12:52:51 +0000 (UTC)
commit 0f98df2156336849b5bcc12a478a99d8a0b6de7c
Author: AsciiWolf <mail asciiwolf com>
Date: Sat Mar 26 19:04:19 2022 +0000
rpm-ostree: Add better comment for the hide-from-search quirk
plugins/rpm-ostree/gs-plugin-rpm-ostree.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index a166f9fbb..72d4cbf55 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -1839,7 +1839,9 @@ resolve_available_packages_app (GsPlugin *plugin,
gs_app_set_name (app, GS_APP_QUALITY_LOWEST, dnf_package_get_name (pkg));
gs_app_set_summary (app, GS_APP_QUALITY_LOWEST, dnf_package_get_summary (pkg));
- /* set hide-from-search quirk for available apps we don't want to show */
+ /* set hide-from-search quirk for available apps we don't want to show; results for
non-installed desktop apps
+ * are intentionally hidden (as recommended by Matthias Clasen) by a special quirk because
app layering
+ * should be intended for power users and not a common practice on Fedora Silverblue */
if (!gs_app_is_installed (app)) {
switch (gs_app_get_kind (app)) {
case AS_COMPONENT_KIND_DESKTOP_APP:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]