Red Hat Bugzilla – Bug 850912
RFE: support updateinfo
Last modified: 2015-10-05 22:14:37 EDT
Description of problem:
add "yum whatsnew" (or similar) command to display changelog since installed version.
I hope this is self-explanatig, the use case is to find out what has changed in components where admin should be wary about any changes - for example you could use "yum whatsnew kernel" to find out if you have to update it and reboot ASAP or if it can wait for some more suitable time.
This is a nice idea, the only thing preventing me from implementing now is there's yet no support for parsing other.xml in libsolv (the repodata file containing the changelogs). Yum in fact does already parse and understand this data, but not exaclty in the manner you suggest here.
Let's keep this open until we can parse other.xml (or decide we will never do that).
David, how does what you propose differ from yum's updateinfo?
(In reply to Ales Kozumplik from comment #2)
> David, how does what you propose differ from yum's updateinfo?
I was not aware of updateinfo at the time of bug filing. If dnf already supports that (I didn't look at dnf for quite a long time), consider this fixed. :)
It is not supported yet but I just wanted to make sure whether you're asking for something else.
Radek can you please take a look at this? There is support built in C hawkey for it already---hy_package_get_update*() so all that is left is adding the Python bindings (with which I can help) and integrating in DNF.