[Yum-devel] urlgrabber: timestamp check
seth vidal
skvidal at phy.duke.edu
Mon Mar 7 05:44:45 UTC 2005
> The dealio is that if you have a 1000 byte remote file and a 1000 byte
> local file, urlgrabber will try and construct a zero-length byterange
> request which then barfs. We might, for reget only, consider
> special-casing the zero-length request to simply have it do nothing.
> Thoughts, Ryan?
>
> I'm open to considering if_newer_than options or somesuch, but I'd
> want to sort out some of the issues: urlgrab only? what if there's
> no local file?, etc.
Okay, I don't think I ever answered this. The short version of what I
want is an easy item to add to the top of:
yum/repos.Repository.getRepoXML() to see if we need to bother getting
the file.
That's really all.
-sv
More information about the Yum-devel
mailing list