Create dynamically-updated list of mirrors

RESOLVED FIXED

Status

Webtools
Bouncer
P2
minor
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: kev, Assigned: rik)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Some of the security software firms have requested a list of mirrors for reputation-based checking for downloads of Firefox. Historically we've pointed them at http://www.mozilla.org/community/mirrors.html, but it'd be simpler if we had a .txt or .xml file with a frequently updated/realtime list of mirror sites that are advertised through the download link on mozilla.com.

Would it be possible to create a page/file that can be downloaded that lists our mirror servers per above?

Updated

7 years ago
Assignee: nobody → anthony
Severity: normal → minor
Priority: -- → P2
(Assignee)

Comment 1

7 years ago
Looks like all API calls return XML. You only need to return a list of URLs, right?

Does this need to be behind authentication? (all API calls are behind authentication for now)
(Assignee)

Comment 2

7 years ago
Created attachment 546166 [details] [diff] [review]
Proposed patch

This returns an XML list of this form:

<mirrors>
  <mirror baseurl="http://mozilla.mirrors.skynet.be/pub/ftp.mozilla.org"/>
  <mirror baseurl="http://ftp.spnet.net/mozilla"/>
</mirrors>

Kev: Is it the format you want?
Attachment #546166 - Flags: feedback?(fwenzel)
Comment on attachment 546166 [details] [diff] [review]
Proposed patch

If this is what Kev was looking for, then r+, the patch looks good. Thanks for adding documentation too :)

Question is also, is this supposed to be behind auth or open to the public? I guess since the admin host is behind VPN altogether, it won't be "public" either way.
Attachment #546166 - Flags: feedback?(fwenzel) → feedback+
(Assignee)

Comment 4

7 years ago
Pushed this patch with https://github.com/fwenzel/tuxedo/commit/01aaae

Marking as fixed.

Kev, if this is not what you desired, please reopen this bug.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.