rpm-software-management / dnf5

Next-generation RPM package management system
Other
241 stars 83 forks source link

dnf5daemon: Add function to get list of recently updated packages into a D-Bus interface #773

Open mcrha opened 1 year ago

mcrha commented 1 year ago

In order to be feature complete with PackageKit (on the gnome-software side), it would be good to add a function to get list of recently updated packages with an information about the update itself (like the update details, but not necessarily).

This is also related to the https://github.com/rpm-software-management/dnf5/issues/258

mcrha commented 1 year ago

And related to the https://github.com/rpm-software-management/dnf5/issues/140 , if the history is provided also in the D-Bus API.

mcrha commented 9 months ago

Also, you might provide a date/time stamp, for which the changes are returned. From the gnome-software point of view, you do not want to show "something new had been installed" with repeated .rpm files for the 10th time, which had been updated few months ago. Thus something like "get changes/updates since YYYYMMDDhhmmss".

Regarding update details, the type and severity (when the update happened within an advisory) would help. Or add a reference to such advisory, thus one would be able to ask for advisory details in a second call.