www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-8753) Provide /dyn/closer.cgi-like mirror suggester for in-script usage
Date Tue, 08 Sep 2015 17:37:46 GMT

    [ https://issues.apache.org/jira/browse/INFRA-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735233#comment-14735233

Sebb commented on INFRA-8753:

What are you trying to achieve with the script?

i.e. how are you trying to use the script?

> 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

View raw message