[Yum-devel] [Patch] repoquery tabbed queryformat
seth vidal
skvidal at phy.duke.edu
Mon Jul 25 18:13:45 UTC 2005
On Mon, 2005-07-25 at 19:47 +0300, Panu Matilainen wrote:
> On Sun, 2005-07-24 at 14:41 -0400, seth vidal wrote:
> > On Wed, 2005-07-20 at 02:07 -0700, Panu Matilainen wrote:
> > > However it would be nice to support rpm's way of formatting as well, eg
> > > 'Version : %-27{VERSION} Vendor: %{VENDOR}\n' (from rpm -qi)
> > > and some other tricks like date conversions, eg
> > > Build Date: %{BUILDTIME:date}
> > >
> > > ...but that'll need some more sophisticated parsing or funkier regexps.
> >
> > don't bury yourself too far under this need - I think repoquery is doing
> > a great job as is and adding too many crazy formatting features isn't
> > going to help us all that much.
>
> They turned out to be quite easy actually :) This works now with
> cvs-head version:
>
remember: easy doesn't always mean maintainable.
At some point the flexibility of repoquery will just end up being a pain
in the arse to you - just ask the popt authors. :)
-sv
More information about the Yum-devel
mailing list