www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey Corey (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:18:46 GMT

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

Geoffrey Corey commented on INFRA-8753:
---------------------------------------

[~humbedooh] ^^

> 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)

Mime
View raw message