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

--- Comment #12 from Matthias Klumpp <matth...@tenstral.net> ---
Oh, just to add: Component IDs should be matched *exactly*, doing heuristics
was a really bad idea of the past. If an application wants to rename its ID, it
can do so *explicitly* by using a `replaces` block:
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-replaces
Of course, if such a hint is there, Discover should follow it and combine the
two components under the new name (if libappstream hasn't done that already). 

Some components use "provides" instead of "replaces", which is a bit
unfortunate (likely from a time before we had a proper replacement mechanism in
AppStream...), but at least this is also explicit and no error-prone heuristics
are happening.

If any duplicate apps happen, those issues should be fixed by the distributors
(Flathub, Debian/Fedora/OpenSUSE/Ubuntu/etc) or by the respective upstreams by
either fixing the ID or by adding any missing `replaces` tags.

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

Reply via email to