Re: [Yum-devel] [PATCH] implement reget=check_timestamp

2012-06-27 Thread Zdenek Pavlas
> Not sure what you mean by #1 but a _partial_ download will always > have a newer timestamp than the timestamp on the server, and... Oh, that's bad... I'd use partial files. Thanks, I somehow missed this completely. ___ Yum-devel mailing list Yum-deve

Re: [Yum-devel] [PATCH] implement reget=check_timestamp

2012-06-26 Thread James Antill
On Tue, 2012-06-26 at 04:54 -0400, Zdenek Pavlas wrote: > > Ok, so what is the desire for both cases here. Above that we say: > > > > reget = None [None|'simple'|'check_timestamp'] > > > > whether to attempt to reget a partially-downloaded file. Reget > > only applies to .urlgrab an

Re: [Yum-devel] [PATCH] implement reget=check_timestamp

2012-06-26 Thread Zdenek Pavlas
> Ok, so what is the desire for both cases here. Above that we say: > > reget = None [None|'simple'|'check_timestamp'] > > whether to attempt to reget a partially-downloaded file. Reget > only applies to .urlgrab and (obviously) only if there is a > partially downloaded file. R

Re: [Yum-devel] [PATCH] implement reget=check_timestamp

2012-06-22 Thread James Antill
On Fri, 2012-06-22 at 12:02 +0200, Zdeněk Pavlas wrote: > --- > urlgrabber/grabber.py | 28 +--- > 1 files changed, 17 insertions(+), 11 deletions(-) > > diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py > index 071146c..3127b48 100644 > --- a/urlgrabber/grabber