Files
flatpak/common
Phaedrus Leeds e739773056 app: List apps that use a runtime extension when it's EOL
Currently if a runtime extension, e.g.
org.freedesktop.Platform.html5-codecs//18.08 is used by a runtime
org.kde.Platform//5.12 which itself is used by one or more apps, when we
print a message to the user about html5-codecs being EOL, we don't find
any apps using it and don't print any. Fix this by including apps that
indirectly use a runtime extension in the "Applications using this
runtime:" list.

In a later commit we can re-use the helper function added here to add a
confirmation dialog if the user tries to remove a runtime extension
that's being used; currently we just let them remove it.

This is limited to only looking in the current flatpak installation, so
a per-user app using a system-wide runtime extension would not be found.

This is implemented using in-memory caches because otherwise it is
horribly slow; see
https://github.com/flatpak/flatpak/pull/4835#discussion_r876425289

Helps: #3531
2022-07-21 14:32:45 -05:00
..
2019-02-25 18:12:30 +00:00
2021-02-09 09:36:59 +01:00
2021-10-21 17:30:01 -07:00
2022-06-16 13:49:45 +02:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00
2022-06-16 13:49:45 +02:00
2019-04-08 12:50:42 +00:00