Le Jeudi 06 Novembre 2003 22:00, Stefan van der Eijk a �crit :
> Really nice site, very usefull, but what is your reference point?

The reference is the hdlist on the ftp.

On a ftp, urpmi will get it (or synthesis). So after getting the file, all 
files who can be DL are referenced in this file. 
Having more files in directory than listed in the hdlist isn't bad, but 
missing files makes trouble.

So the current script:
* Download the hdlist
* Make a list of all rpm listed in the hdlist.
* Look for these files in the directory
* Count the missing files (files listed in hdlist, but not present on ftp)

At end, the script print the number of missing files.

This is done only for RPMS from cooker, and for contrib.


When someone want to install a cooker or work on it, he need a coherent FTP 
who can provide rpms in sync with the hdlist. This was the bad problem who 
was present some months ago with mirrors (hdlist not sync-ed).

Having a up to date mirror sync-ed with kenobi is more difficult, and for me,  
cannot be done, as rpms are updated continuously.

Emmanuel

Reply via email to