Re: [Yum-devel] Guarantee Install Order

2013-02-22 Thread James Antill
On Fri, 2013-02-22 at 14:06 -0600, Kevin Knowles wrote: > Hi all, > > I have the following dependency structure: > A depends on B depends on C > > The dependencies are being set in each RPM as requires. So, A requires B > and B requires C. > > When doing a yum install A, I would expect the inst

Re: [Yum-devel] [PATCH] Use multiple applydeltarpm workers

2013-02-22 Thread James Antill
On Fri, 2013-02-22 at 16:36 +0100, Zdenek Pavlas wrote: > Did some real-world testing. Seems fine, although I'm still confused about what is calling .rebuild() and how it handles the pkg being in an intermediate state after this patch. Also note sure "wait" is the correct function name, as what

Re: [Yum-devel] [PATCH 5/5] remove the sequence check

2013-02-22 Thread James Antill
On Thu, 2013-02-21 at 12:57 +0100, Zdenek Pavlas wrote: > The only case where this makes a difference is a broken old > package install. This is where we see if we can apply a delta before we download it (Eg. if the installed data can be converted back into the old .rpm)? This happens "all the

Re: [Yum-devel] [PATCH 4/5] Add DRPM => RPM retries

2013-02-22 Thread James Antill
On Thu, 2013-02-21 at 12:57 +0100, Zdenek Pavlas wrote: > It's ok to try downloading rpms when delta rebuild fails, > but when we can't DL a drpm, rpm probably fails, too. > To handle possibly obsolete presto MD, retry anyway.. Also, I guarantee you that users will think it's a bug if "yum instal

Re: [Yum-devel] [PATCH 2/5] Integrate presto support to yum

2013-02-22 Thread James Antill
On Thu, 2013-02-21 at 12:57 +0100, Zdenek Pavlas wrote: > Add the "presto" bool config option, document it. > Add hooks to downloadPkgs(). > --- > docs/yum.conf.5 | 12 + > yum/__init__.py | 18 > yum/config.py | 2 + > yum/presto.py | 135 > ++

Re: [Yum-devel] Integrating drpm support

2013-02-22 Thread James Antill
On Thu, 2013-02-21 at 12:57 +0100, Zdenek Pavlas wrote: > Hi, > > The native drpm support is complete enough to be used and tested. > I'm quite satisfied with the performance, but the applydeltarpm > backend needs more work. I'm going to make a rawhide release > today. > > - download of .drpm an

[Yum-devel] Guarantee Install Order

2013-02-22 Thread Kevin Knowles
Hi all, I have the following dependency structure: A depends on B depends on C The dependencies are being set in each RPM as requires. So, A requires B and B requires C. When doing a yum install A, I would expect the install order to always be C, B, A. But we are seeing B being installed befor

[Yum-devel] [PATCH] Use multiple applydeltarpm workers

2013-02-22 Thread Zdenek Pavlas
Did some real-world testing. Haven't been updating my F17 for some time, and now 88 updates are available. Skipped applying updates with --downloadonly so only the setup, DL, and rebuild times are reported: 1) download RPMs only Total 235 MB real0m35.433s user0m9.543s sys 0m2.865s 2) us