[Yum-devel] Re: [yum-git] plugins/list-data yum-utils.spec

James Antill james.antill at redhat.com
Mon Jan 21 14:57:44 UTC 2008


On Sun, 2008-01-20 at 10:32 -0500, Jeremy Katz wrote:
> On Sat, 2008-01-19 at 21:11 -0500, James Antill wrote:
> >      List vendors, groups, packagers, buildhosts, licenses, arches,
> buildhosts,
> >     baseurls, package-sizes, archive-sizes, installed-sizes,
> committers
> 
> Why a plugin as opposed to just pointing people to use repoquery?

 So maybe it should be called list-aggregate-data instead? As it gives
data in a different way to repoquery, Eg.:

% yum list-vendors yum*
[...]
==================== Installed Packages ====================
-- Unknown --       1 (  6%)
Fedora Project     14 ( 93%)
==================== Available Packages ====================
Fedora Project     23 (100%)

...the equivalent repoquery is something like:

repoquery --qf "%-20{repoid} %{name}-%{version}-%{release}.%{arch}
%{vendor}" yum*

...which is different, and can't query the installed packages (AFAIK),
but that reminds me I should probably add committer to repoquery too.

-- 
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080121/4b0d430e/attachment.pgp 


More information about the Yum-devel mailing list