Bug 432690 - Stop showing non-appstream packages with the exact name as the search term
Summary: Stop showing non-appstream packages with the exact name as the search term
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.20.90
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-09 14:46 UTC by Nate Graham
Modified: 2021-02-10 16:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2021-02-09 14:46:27 UTC
Doing this exposes issues especially in Neon, which deliberately hides Ubuntu-provided software by stripping their appstream data. But a lot of common software can still be found this way, such as Steam--but Steam from Ubuntu repos is broken in Neon (Bug 427464).

Ultimately this hidden feature is a hack to work around distros with bad AppStream metadata, but I think this is not as bad a problem as it used to be, and users can now get apps from FlatHub or Snap much more easily.
Comment 1 Bug Janitor Service 2021-02-10 00:53:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/74
Comment 2 Aleix Pol 2021-02-10 16:32:33 UTC
Git commit d1263d12a2fe5fa180f50026f213a23083aff70b by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 10/02/2021 at 16:32.
Pushed by apol into branch 'master'.

packagekit: stop supporting searches by package name

Back when we started supporting appstream a lot of poorly maintained
apps didn't appear in the databases, this made using Discover
unbearable, hence adding the feature of searching the package name from
the query.

Despite being against our vision, it made sense back then. Nowadays
applications should already have adopted AppStream in a way or another
and this shouldn't apply anymore.

M  +1    -17   libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp

https://invent.kde.org/plasma/discover/commit/d1263d12a2fe5fa180f50026f213a23083aff70b
Comment 3 Aleix Pol 2021-02-10 16:33:00 UTC
Git commit f8ae0a4ce23a2ead743711cbc96b9061813e30d1 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 10/02/2021 at 16:32.
Pushed by apol into branch 'Plasma/5.21'.

packagekit: stop supporting searches by package name

Back when we started supporting appstream a lot of poorly maintained
apps didn't appear in the databases, this made using Discover
unbearable, hence adding the feature of searching the package name from
the query.

Despite being against our vision, it made sense back then. Nowadays
applications should already have adopted AppStream in a way or another
and this shouldn't apply anymore.


(cherry picked from commit d1263d12a2fe5fa180f50026f213a23083aff70b)

M  +1    -17   libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp

https://invent.kde.org/plasma/discover/commit/f8ae0a4ce23a2ead743711cbc96b9061813e30d1