[Yum-devel] [PATCH 1/2] Don't output repolist header with -d < 2.

James Antill james at fedoraproject.org
Fri Dec 2 13:51:30 UTC 2011


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? 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.



More information about the Yum-devel mailing list