Re: [Yum-devel] [PATCH 3/3] background downloading: presto hacks

2012-10-05 Thread James Antill
On Fri, 2012-10-05 at 15:50 +0200, Zdeněk Pavlas wrote: > --- > cli.py | 28 +++- > yum/misc.py | 10 ++ > 2 files changed, 37 insertions(+), 1 deletions(-) > > diff --git a/cli.py b/cli.py > index 3499273..28d520f 100755 > --- a/cli.py > +++ b/cli.py > @@

Re: [Yum-devel] [PATCH 2/3] background downloading with --downloadonly

2012-10-05 Thread James Antill
On Fri, 2012-10-05 at 15:50 +0200, Zdeněk Pavlas wrote: > --- > cli.py | 45 + > 1 files changed, 45 insertions(+), 0 deletions(-) > > diff --git a/cli.py b/cli.py > index 3334e49..3499273 100755 > --- a/cli.py > +++ b/cli.py > @@ -42,6 +42,7 @@ from

Re: [Yum-devel] [PATCH 1/3] swallow "downloadonly" plugin

2012-10-05 Thread James Antill
On Fri, 2012-10-05 at 15:50 +0200, Zdeněk Pavlas wrote: > --- > cli.py|9 + > docs/yum.8|6 ++ > yum/config.py |2 ++ > yum/repos.py |2 ++ > 4 files changed, 19 insertions(+), 0 deletions(-) To the general idea, we really want to do this. But a couple of

[Yum-devel] [PATCH 3/3] background downloading: presto hacks

2012-10-05 Thread Zdeněk Pavlas
--- cli.py | 28 +++- yum/misc.py | 10 ++ 2 files changed, 37 insertions(+), 1 deletions(-) diff --git a/cli.py b/cli.py index 3499273..28d520f 100755 --- a/cli.py +++ b/cli.py @@ -42,7 +42,7 @@ from yum import _, P_ from yum.rpmtrans import RPMTransacti

[Yum-devel] [PATCH 1/3] swallow "downloadonly" plugin

2012-10-05 Thread Zdeněk Pavlas
--- cli.py|9 + docs/yum.8|6 ++ yum/config.py |2 ++ yum/repos.py |2 ++ 4 files changed, 19 insertions(+), 0 deletions(-) diff --git a/cli.py b/cli.py index cf2c369..3334e49 100755 --- a/cli.py +++ b/cli.py @@ -566,6 +566,9 @@ class YumBaseCli(yum.YumBas

[Yum-devel] [PATCH 2/3] background downloading with --downloadonly

2012-10-05 Thread Zdeněk Pavlas
--- cli.py | 45 + 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/cli.py b/cli.py index 3334e49..3499273 100755 --- a/cli.py +++ b/cli.py @@ -42,6 +42,7 @@ from yum import _, P_ from yum.rpmtrans import RPMTransaction import signal

[Yum-devel] Background downloading

2012-10-05 Thread Zdeněk Pavlas
Hi, Another try at downloading without the /var/run/yum.pid lock. 1) To be safe, it works only when --downloadonly, so we don't have to reopen databases. 2) Download packages to private tmpdir, then acquire the lock, and move files to their original place. 3) It's quite difficult to avoid predo

[Yum-devel] New build: dnf-0.2.13-1.gitda60a96.fc18

2012-10-05 Thread Ales Kozumplik
Hello, I pushed the latest DNF build to updates-testing, I hope it to make the beta next week: https://admin.fedoraproject.org/updates/dnf-0.2.13-1.gitda60a96.fc18?_csrf_token=e561d7c6dab19aaa8aee59d4b3c355449988 Also, the latest hawkey build: https://admin.fedoraproject.org/updates/hawke