[Yum-devel] [RFC] Add skipped packages to transaction summary

Tim Lauridsen tim.lauridsen at googlemail.com
Tue Feb 12 13:07:49 UTC 2008


James Bowes wrote:
> On Tue, Feb 12, 2008 at 12:56:44PM +0100, Tim Lauridsen wrote:
>> James Antill wrote:
>>>  No because a txmbr isn't created and nothing is added to the pkgdict,
>>> but the bigger picture here is that IMO this shouldn't be part of the
>>> "Transaction Data" class.
>>>  Although it'd be nice to see the above output, and data available for
>>> other API users ... so I'm not sure where to put it, maybe as part of
>>> the Depsolve class?
>>>
>> I agree the skipped packages don't fit nicely into tsInfo.
>>
>> I have created a patch to do it in another way.
>>
>> Tim
> 
> My order of preference is tsinfo, depsolve, yumbase.
> 
> -James
> 

If the skipped packages has to be in tsInfo, then we have to buildin 
real skip support into tsInfo.
Today we delete skipped packages from tsInfo, in the Future we might 
just change the state of the packages to 's' for skipped, but need some 
mayor changes in tsInfo and the depsolver so it can handle packages with 
state 's'.
IMO the self.skipped_packages fits best into YumBase, because this is 
where we do the skipping at the moment.
The plan with skip-broken was to first get it to do the right thing 
(without changing the depsolver to much), and then later integrate it 
deeper into the depsolver.

Tim



More information about the Yum-devel mailing list