You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/09/08 20:56:46 UTC

[jira] [Updated] (INFRA-8753) Provide /dyn/closer.cgi-like mirror suggester for in-script usage

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

Sebb updated INFRA-8753:
------------------------
    Status: Waiting for user  (was: Waiting for Infra)

> Provide /dyn/closer.cgi-like mirror suggester for in-script usage
> -----------------------------------------------------------------
>
>                 Key: INFRA-8753
>                 URL: https://issues.apache.org/jira/browse/INFRA-8753
>             Project: Infrastructure
>          Issue Type: New Feature
>          Components: Mirrors
>            Reporter: Konstantin Gribov
>            Priority: Minor
>
> Provide some script-friendly mirror suggester. 
> As far as I know, now you can either parse user-friendly html page (fragile method) or download from specific mirror.
> I think, some cgi endpoint like closer.cgi which returns redirect to first suggested mirror by default would be good solution. To avoid dead-mirror case  skip parameter (default 0, so the first mirror is returned) may be added to choose some less preferred mirror.
> Case arised from docker container building pattern, where some distro from apache in downloaded into container, unpacked, installed etc. Since I don't know what are the closest to the Docker Hub build farm mirrors are, I can either download from main site or specific mirror. Both choises are bad.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)