[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: better RSYNC mirroring , for .debs and others



On 9 Mar 2000 12:56:29 -0500, Jacob Kuntz wrote:
> tom rothamel is working on a project called debdiff that works towards the
> same goal. please read his announcment thread, which is archived at
> http://www.debian.org/Lists-Archives/debian-devel-0002/msg00391.htm.

The code associated with this is now available at 
<http://onegeek.org/~tom/software/ddiff/>, for what it's worth.

I do happen to think that rsync is an inefficent solution to archive
mirroring, however, as it seems it would need to scan and checksum a
huge number of files every time it runs. Probably a better way would
be to have dinstall[1] generate a list of changes it makes to the
archive, and have people mirroring the archive use those lists to
figure out what needs to be downloaded.

This would also have the benefit of making it easy to ensure that
archive mirrors are always in a consistent state. (ie, Packages.gz is
updated after new packages have been downloaded, but before old
packages are deleted.)

[1] At least, I think that's it. I'm not really sure how things work
    on the Debian end... I probably won't know for sure until
    hell freezes over^W^W^Wnew-maintainer reopens.

-- 
Tom Rothamel --------- http://onegeek.org/~tom/ ---------- Using GNU/Linux
                The Moon is Waxing Crescent (16% of Full)


Reply to: