Bug 850912

Summary: RFE: support updateinfo
Product: [Fedora] Fedora Reporter: David Jaša <djasa>
Component: dnfAssignee: Radek Holy <rholy>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ahmadsamir3891, akozumpl, baptiste.millemathias, djasa, jzeleny, mattdm, matteo, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.6.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-12 07:16:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1066867, 1086288, 1101029, 1109915, 1121946    

Description David Jaša 2012-08-22 17:15:45 UTC
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.

Comment 1 Ales Kozumplik 2012-08-29 11:07:33 UTC
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).

Comment 2 Ales Kozumplik 2013-12-17 16:20:59 UTC
David, how does what you propose differ from yum's updateinfo?

Comment 3 David Jaša 2013-12-17 16:26:01 UTC
(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. :)

Comment 4 Ales Kozumplik 2013-12-19 07:48:32 UTC
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.