Disambiguate flatpak repo names to prevent duplicate entries in "Show...

Disambiguate flatpak repo names to prevent duplicate entries in "Show contents" page for flatpak repo

A quirk of flatpak is that you can have two repos with the same name, if one of them is added for the user and the other is added for the entire system. Viewing the list of all apps in a flatpak repo is implemented by viewing all apps and then filtering for the name of their source repo. When the user has the same repo twice, each app will be in the list twice, since the filter cannot differentiate between both repos. To work around this, add a new property disambiguatedName that has a suffix to differentiate between the repos.

before:

image

after:

image

Merge request reports

Loading