PackageKitBackend: Support distro upgrades
- Does this need to be enabled on a per-distro basis? How?
- How to navigate automatically to Updates page when clicking the button in the InlineMessage?
- Because apparently not many PackageKit backends (not dnf at least) implement
getDistroUpgrades()
this uses AppStreamPool::componentsById
instead. One caveat is that in fedora that returns "Rawhide" whilePackageKit::Daemon::upgradeSystem()
expects "rawhide". Actually, unstable releases are filtered out, but i still left in a call totoLower()
. - Should there be a flag/setting/envvar to enable unstable/beta upgrades?
To test, remove the AppStream::Release::KindStable
filter and run in fedora 37