https://bugs.kde.org/show_bug.cgi?id=465204

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/discover/commit/5b23cca9
                   |                            |813d51bddac2b99aeab14d919c0
                   |                            |83787
   Version Fixed In|                            |5.27.2

--- Comment #5 from Nate Graham <[email protected]> ---
Git commit 5b23cca9813d51bddac2b99aeab14d919c083787 by Nate Graham.
Committed on 22/02/2023 at 00:32.
Pushed by ngraham into branch 'master'.

Always show distro name for PackageKit apps

Discover tries to show the name of the repo that an app comes from. This
string is generally human-readable for Snap, Flatpak, KNS, and
even apps from 3rd-party PackageKit repos. But it is usually not
human-readable for apps that come from distro repos, because it's common
for distros to ship multiple repos that serve different purposes. When
we try to show the name of these repos in the UI, it's nonsense; we end
up with text like "Distributed by: xenial-security universe" and
Distributed by: updates". This text doesn't make any sense to the user
and can even be scary; imagine "Distributed by: Restricted" which is
what you can see on Ubuntu-based distros!

The user does not care about which specific distro repo the app comes
from; what they care about is that it came from their distro.

What would be ideal is if PackageKit could tell us whether a particular
PackageKit repo was 1st-party or 3rd-party. Then for 3rd-party repos we
could show the actual name (which usually ends up looking reasonably
human-readable, like "Packman" or "rpmfusion-free"), and for 1st-party
repos, we could instead substitute the distro name.

Unfortunately PackageKit doesn't have that functionality right now. See
https://github.com/PackageKit/PackageKit/issues/607.

So for now, just show the distro name for all PackageKit apps. This
fixes the nonsense strings issues, and while it does result in
inaccuracy for users who have installed 3rd-party package repos, those
users are generally technically knowledgeable enough to understand.
FIXED-IN: 5.27.2

M  +9    -2    libdiscover/backends/PackageKitBackend/PackageKitResource.cpp

https://invent.kde.org/plasma/discover/commit/5b23cca9813d51bddac2b99aeab14d919c083787

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to