[Yum-devel] standardize on a package object?

Menno Smits menno-yum at freshfoo.com
Mon Aug 21 09:17:10 UTC 2006


Panu Matilainen wrote:
> 
>> if we do want to do this then I have two questions:
>> 1. do we want to make a better set of utility functions for yum?
>> 2. do we want to make them be able to handle both a package object and
>> what they handled before? (most of the time tuples)
>> let me know what you think, please
>> -sv
> 
> Maybe yumUtils module for higher level (eg dealing with package objects 
> only) utils and leave the lower level rpmUtils as is...
> Just a thought, haven't looked at the code in a long time :-/

I agree with this. Having a separate higher level module with functions 
that take package objects seems like the way to go to me. Functions that 
take both package objects and tuples will get ugly fast.

Menno



More information about the Yum-devel mailing list