On 12/02/2011 03:51 PM, James Antill wrote: > On Thu, 2011-12-01 at 22:19 +0200, Ville Skyttä wrote: >> --- >> etc/yum.bash | 9 ++------- >> yumcommands.py | 4 ++-- >> 2 files changed, 4 insertions(+), 9 deletions(-) > > I'm not sure how much normal people really want the header to disappear > here, do we do that for other commands?
For example the "repolist: x,y" footer and various grouplist headers disappear with -d < 2 and I believe there are many other examples if one cares to look for them; I think it's the right thing to do. > Also I wonder if you don't > really want to have some custom yum API code instead of trying to parse > the output of "yum repolist", Eg. we do a lot of extra work so that the > package numbers are good ... where I think you just want a list of > repoid's (and names?), which could be much faster. I would like that, yes, but haven't got around to starting it yet. I also have a feeling that the CLI code isn't too reusable everywhere so some refactoring or copy/pasting would be needed. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
