[Yum-devel] [PATCH] Add completion helper to get rid of some screen scraping.

Zdenek Pavlas zpavlas at redhat.com
Tue Dec 20 09:16:08 UTC 2011


> +++ b/completion-helper.py

Looked at this and found no bugs there, but I'm not sure there's 
a strong need for such helper.  I know yum's output is not meant 
to be parsed, but "yum list/repolist" seems just fine.  

AIUI, the main (only?) reason for this is the "yum groups list" 
command, which

1. does not support installed/available options
2. does not parse easily (partially a result of 1)
3. has/had issues with "-d0"

I think resolving the above would improve yum UX, and remove 
or reduce the need to wrap yumcommands.py at the same time.


More information about the Yum-devel mailing list