You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/07/12 05:31:48 UTC

[jira] [Updated] (LUCENE-5104) poll-mirrors.pl needs fixed

     [ https://issues.apache.org/jira/browse/LUCENE-5104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated LUCENE-5104:
-----------------------------

    Attachment: LUCENE-5104.patch

bq.  I'd rather not use Changes.html, because the script downloads the file, and that file is almost 500K right now ...

Yeah, i don't understand that either ... why aren't we using head() instead of get() ? ... LWP does the right thing for FTP servers and everything.

Here's a patch that...

* switches to using HEAD
* uses Changes.html instead of KEYS
* adds supports for a "-path" option that can be used mutually exclusively with the "-version" option
** if path is specified, maven is skipped
* changes the existing "...." output to print an "X" for URLs that fail (so you cna get a quick sense of how many Mirror URLs are failing w/o waiting forthe summary at the end of all 240 requests)
* adds a "-details" option that will print the failing URLs instead of the "X".


                
> poll-mirrors.pl needs fixed
> ---------------------------
>
>                 Key: LUCENE-5104
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5104
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Hoss Man
>             Fix For: 4.4
>
>         Attachments: LUCENE-5104.patch
>
>
> i just noticed that poll-mirrors.pl is setup to look for the KEYS file in the release dir on each mirror -- Infra (wisely) tweaked the way mirroring happens recently to ensure that KEYS files are *not* mirrored anymore (presumably to help catch bad links advising people to download untrusted KEYS files)
> we're going to need to updated poll-mirrors.pl to look for something else in each release dir ... changes/Changes.html perhaps?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org