Bug 432953

Summary: [RFE] repoquery should output "-i" before "--changelog"
Product: [Fedora] Fedora Reporter: Bill Crawford <billcrawford1970>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: james.antill, pmatilai, tla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-13 15:39:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Bill Crawford 2008-02-15 12:28:23 UTC
Description of problem:
When using repoquery to do "-qi --changelog" the changelog is printed out 
*before* the info, and also with no visual indication to separate it from the 
previous output (i.e. the "info" output of the previous package). This is very 
confusing, e.g.:

Name        : xorg-x11-server-Xorg
Version     :
Release     : 42.fc8
Description :
X.org X11 is an open source implementation of the X Window System.  It
provides the basic low level functionality which full fledged
graphical user interfaces (GUIs) such as GNOME and KDE are designed
* Thu Jan 24 2008 Than Ngo <than@redhat.com> 3.3.8b-2
- add add LICENSE.GPL2/GPL3

The latter is the start of changelog data for *qt* not Xorg ...

Version-Release number of selected component (if applicable):

How reproducible:
repoquery --repoid=updates-testing -qi --changelog qt vim-enhanced 
xorg-x11-server-Xorg ConsoleKit | less

Steps to Reproduce:
1. Run command as above
2. Try to read the output
3. Get confused.
Actual results:
As above.

Expected results:
Output in expected order (info before changelog, especially since the -qi 
comes before the --changelog on the command line).

Additional info:
It would be even nicer if the packages were process in the order I asked for 
them. Maybe a pony.

Comment 1 Seth Vidal 2008-03-13 15:39:11 UTC
Excellent. This is fixed in upstream and will be out in yum-utils 1.1.12.