Bug 1378430

Summary: [rfe] a command to list the changelogs of all upgradeable packages
Product: [Fedora] Fedora Reporter: okungnyo
Component: dnfAssignee: Marek Blaha <mblaha>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: adam, anatoli, dmach, mblaha, packaging-team-maint, rpm-software-management, samuel.rakitnican, samuel-rhbugs, vmukhame
Target Milestone: ---Keywords: FutureFeature, Triaged, UserExperience
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-05 12:25:53 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: 1066867    
Bug Blocks:    

Description okungnyo 2016-09-22 11:54:58 UTC
Description of problem:

There is no way to view changelogs (or is there?) with dnf.

Expected results:

It would be nice if there was a "dnf changelog" equivalent of "dnf upgrade", like how "dnf upgrade" gives you an at-a-glance list of all the packages that are upgradeable,

Comment 1 srakitnican 2016-09-24 11:28:48 UTC
Is "dnf updateinfo" info what you are looking for?

Btw correct way of checking for updates is dnf update-check.

Comment 2 srakitnican 2016-09-24 11:32:13 UTC
Got it all upside-down. 

"dnf updateinfo info" for the first command and "dnf check-update" for the second.

Comment 3 okungnyo 2016-09-25 18:18:38 UTC
"dnf updateinfo" looks great, but I noticed that it doesn't list a changelog of every package.

Apparently it only lists update advisories of some packages, not the detailed changelog of every individual package?

Comment 4 Anatoli Babenia 2018-08-11 18:21:28 UTC
dnf wzzup? :)

I'd like to see "dnf changelog" too. `updateinfo` is slow, not paged, competes with `update` autocompletion, lists only security changes, and hard to remember. I'd deprecate it.

Comment 5 Marek Blaha 2019-04-05 12:25:53 UTC
There are several ways to work with changelogs in DNF:

1. get changelogs of packages which are going to be updated:
$ dnf check-update --changelogs

2. get changelogs of any package:
$ dnf repoquery --changelog <package>