Re: [Yum-devel] Yum-devel Digest, Vol 61, Issue 11

2009-04-23 Thread Seth Vidal
On Thu, 23 Apr 2009, Creative Innovative wrote: 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 t

Re: [Yum-devel] Yum-devel Digest, Vol 61, Issue 11

2009-04-23 Thread Creative Innovative
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

Re: [Yum-devel] Qs regarding YUM code

2009-04-23 Thread Seth Vidal
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

Re: [Yum-devel] Qs regarding YUM code

2009-04-23 Thread Creative Innovative
We are working on a device, that may have to do software update without internet connection, so this is one idea that we are pursuing.   Besides, can someone please let me know, regarding my other Qs below:: This can improve run-time performance of YUM.   Qs1) In cli.py after running a RPM test

Re: [Yum-devel] Qs regarding YUM code

2009-04-23 Thread Seth Vidal
On Thu, 23 Apr 2009, Creative Innovative wrote: Thanks James.   Actually I have written a YUM plugin, so that after YUM completes RPM Transaction Test, I will be calling an api(similar to ts_all api in rpmtrans.py), that will dump the transaction file, and exits YUM.   Why? And why do you

Re: [Yum-devel] Qs regarding YUM code

2009-04-23 Thread Creative Innovative
Thanks James.   Actually I have written a YUM plugin, so that after YUM completes RPM Transaction Test, I will be calling an api(similar to ts_all api in rpmtrans.py), that will dump the transaction file, and exits YUM.   -SK --- On Thu, 4/23/09, James Antill wrote: From: James Antill Subject

Re: [Yum-devel] primary.xml rpm hash

2009-04-23 Thread christopher floess
>> >> Did I get a corrupted rpm? > > looks like you did. Indeed. Thank you. I ran your wget command, and sure enough, I got the expected outcome when I ran sha1sum on the resulting file. ~ Chris ___ Yum-devel mailing list Yum-devel@lists.baseurl.org htt

Re: [Yum-devel] Qs regarding YUM code

2009-04-23 Thread James Antill
On Wed, 2009-04-22 at 17:36 -0700, Creative Innovative wrote: > > Qs2) Also I noticed that in rpmtrans.py, prior to running transaction, > the transaction elements, are dumped to a transaction file > under /var/lib/yum. > I was exploring this further, to see if I can leverage for one of the > wor