Closed Bug 654208 Opened 13 years ago Closed 13 years ago

Create dynamically-updated list of mirrors

Categories

(Webtools :: Bouncer, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kev, Assigned: rik)

Details

Attachments

(1 file)

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?
Assignee: nobody → anthony
Severity: normal → minor
Priority: -- → P2
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)
Attached patch Proposed patchSplinter Review
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+
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
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: