Bug 22258

Summary: Add new option to urpmq to only list newest version of each package
Product: Mageia Reporter: Martin Whitaker <mageia>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Normal Keywords: PATCH
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-8.111-2.mga7.src.rpm CVE:
Status comment:
Attachments: Patch to add --newest option to urpmq

Description Martin Whitaker 2017-12-23 23:13:41 CET
Created attachment 9848 [details]
Patch to add --newest option to urpmq

When querying multiple packages, e.g. with the --source option, if there is more than one version of the package available, all the alternatives are returned (separated by '|'). I would like a '--newest' option which causes only the latest version of the package to be listed.

The attached patch implements this feature.
Comment 1 Martin Whitaker 2018-03-12 21:43:51 CET
I ended up using perl-URPMI directly, so no longer need this enhancement.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED