Preupgrade Hacking

Seth Vidal skvidal at fedoraproject.org
Thu Jul 16 12:46:33 UTC 2009



On Thu, 16 Jul 2009, Frank Murphy wrote:

> On 16/07/09 12:49, Seth Vidal wrote:
>>
>>
>> On Thu, 16 Jul 2009, Frank Murphy wrote:
>>
>>> Can preupgrade be hacked to work with smart (instead of yum)
>>> for testing purposes.
>>>
>>
>> It's using entirely yum api calls, not system calls. So I'd expect that
>> it CAN be modified to use smart, but it definitely cannot be modified to
>> use smart trivially. Additionally, there are no guarantees that smart
>> and anaconda will depsolve the same way and smart cannot run the yum
>> plugins that anaconda runs.
>>
>>
>> Is there some reason you want to test it w/smart?
>>
>> -sv
>>
>
> No particular reason, just as a test for my own knowledge.

I think you'll find it a fairly difficult test. PReupgrade relies on yum 
pretty heavily. It'll be a lot of work to port it to smart.

-sv




More information about the fedora-test-list mailing list