Hi,

Christian Lohmaier wrote on 2011-07-30 18:24:

The problem is that the dirlisting is no standard apache listing, and
matches lighthttp listing that the parser assumes, but it fails to
detect entries as directories correctly.

thanks a lot for investigating, Christian!

the problem is that "check whether entry ends in a slash" fails
because the / is outside of the link-label

"<a href="libreoffice">libreoffice</a>/"

and thus it treats the libreoffice as file entry and the size column
contains "-" so it cannot compare.

Did you ping the mirror admin about that, maybe he can easily fix it?

Nope, that is the one used in the database.
Log story short, I changed the parser to also accept the string
"Directory" as a marker for dir-entries. So now scanning should work
with ibiblio mirror as well
(@flo: see line 640 in /usr/bin/scanner)

I had it scanned and enabled.

Thanks a lot! Can you ping Peter Pöml so he can include that fix in MirrorBrain? In case of a MirrorBrain update, your change will be removed otherwise, so it should make its way into the main code.

Thanks,
Florian

--
Florian Effenberger <flo...@documentfoundation.org>
Steering Committee and Founding Member of The Document Foundation
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
Unsubscribe instructions: E-mail to mirrors+h...@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/mirrors/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to