[Yum] Yum cron defaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Josko Plazonic [mailto:plazonic@xxxxxxxxxxxxxxxxxx] wrote:

> Let me think - I should write a wrapper processing yum output 
> and trying 
> to catch all the lines I want while checking from version to 
> version of 
> yum that Seth didn't change any output text that I was trying 
> to parse?  

GnuPG comes to mind as an example of how to intelligently handle output
*without* the need for calling external programs.  By default it gives you
human readable output, but with an optional command line switch it gives you
colon delimited output that is consistent from version to version.  That way
you can have all sorts of useful stuff being done with its output.  I use it
to get this: http://trilug.org/~chrish/keyanalyze.php (which would not be
practical with human readable output from GnuPG).

> I'll create a bugzilla entry if Seth thinks it's worth it - it's only 
> 40ish lines that can be done in many different ways in little 
> time, it 
> would be 10 lines with less config opts. I could in that case 
> also add a 
> bit of documentation to yum's man page.

You da man.

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux