[Yum-devel] Yum-devel Digest, Vol 61, Issue 11
Creative Innovative
innovative_c at yahoo.com
Thu Apr 23 17:44:33 UTC 2009
Hi SV,
You have mentioned below that if you setup a test ts and run it, you would need a new one, to run real transaction. I am doing something similar in C using rpm apis, and I am able to pass the same rpm ts object(used for RPM test) and then change transaction type to NONE, and then run it as real RPM transaction.
It works just fine. It also improves performance, since you dont have to create new ts and re-populate.
Regards,
SK
Message: 6
Date: Thu, 23 Apr 2009 13:34:49 -0400 (EDT)
From: Seth Vidal <skvidal at fedoraproject.org>
Subject: Re: [Yum-devel] Qs regarding YUM code
To: Creative Innovative <innovative_c at yahoo.com>
Cc: James Antill <james at fedoraproject.org>, yum development
<yum-devel at lists.baseurl.org>
Message-ID: <alpine.LFD.2.00.0904231333420.6234 at localhost.localdomain>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Thu, 23 Apr 2009, Creative Innovative wrote:
> Qs1) In cli.py after running a RPM test transaction. What is the need to
create a new transaction, and re-populate ts,
> for running real RPM transaction.
> Isnt this a performance hit.
> Unless, there is any strange RPM side-effect, I think it would be better
performance-wise, to just use the same
> transaction object used for RPM test , for the real transaction.
if you setup a test transaction and run it, you have to have a new one to
run the full transaction.
-sv
------------------------------
_______________________________________________
Yum-devel mailing list
Yum-devel at lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel
End of Yum-devel Digest, Vol 61, Issue 11
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20090423/baf820be/attachment.htm>
More information about the Yum-devel
mailing list