Bug 461908 - Add flathub repository as `user` repo by default
Summary: Add flathub repository as `user` repo by default
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.26.2
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-16 12:42 UTC by soredake
Modified: 2023-01-12 16:59 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soredake 2022-11-16 12:42:47 UTC
SUMMARY
I think it's better to add flathub repo as `user` repo by default, to avoid pollution of /var/tmp that can happen (https://github.com/flatpak/flatpak/issues/528 and https://github.com/endlessm/systemd/commit/6bdb355a9e515b7b84ac1f37747603d4db4267c7) on distro's that don't clean up this path (opensuse for example) and to avoid any use of polkit (no entering password's anymore on distro's that require it when working with flatpak). Another reasons for using `user` over `system` can be found here https://bugs.kde.org/show_bug.cgi?id=441428#c6

STEPS TO REPRODUCE
1. Go to discover settings.
2. Add flathub repo.
3. It will be added as `system` repo.

OBSERVED RESULT
Repo added as `system`.

EXPECTED RESULT
Repo added as `user`.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora KDE 37
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Related reports:
https://bugs.kde.org/show_bug.cgi?id=452000
https://bugs.kde.org/show_bug.cgi?id=441428#c6
https://bugs.kde.org/show_bug.cgi?id=405968