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

Re: FTP server: ls-lR file and mirroring



Kai Henningsen <kai@khms.westfalen.de> writes:

> 
> When mirroring with the Perl mirror script, one option is to use a file 
> containing a ls of the server, which can be downloaded from that server
> ( the ls_lR_file option).

[...]

> Second, it seems that currently, the ls-lR file doesn't mention itself. This
> means that it might not get mirrored.

If you're using ls-lR.gz to drive the mirror you already have it (at least
that's how my dmirror.py based on ftpmirror.py works)

> For any files that are regenerated (like ls-lR and ls-lR.gz), can we please
> make sure that one incarnation exists in the ls-lR file, even if it may be
> an old one?

And can we please have indices/md5sums.gz contain correct md5sums for generated
files plus a way to communicate its md5sum, e.g. by running

 find . -type f -exec md5sum {} \; > indices/md5sums &&
 gzip -9c indices/md5sums > indices/md5sums.gz &&
 md5sum indices/md5sums indices/md5sums.gz | mail debian-md5sums@lists.debian.org

after creating a mailing list for those of us who want to run a (selective)
mirror.

btw: While dmirror.py isn't yet in a shape for general release it already checks
md5sums on the fly - just an idea for dselect's ftp install method.

Thanks
  Siggy
-- 
Siggy Brentrup <bsb@debian.org> aka: bsb@north.de
*** PGP public key available from keyservers ***
PGP fingerprint = C8 95 66 8C 75 7E 10 A2  05 61 C7 7F 05 B6 A4 DF


Reply to: