FS#21144 - {archweb} export mirrorlist via JSON

Attached to Project: Arch Linux
Opened by Pierre Schmitz (Pierre) - Friday, 08 October 2010, 08:55 GMT
Last edited by Dan McGee (toofishes) - Monday, 13 December 2010, 20:10 GMT
Task Type Feature Request
Category Web Sites
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

For external tools like reflector or my own project archportal it would be nice to have some kind of defined API to retrieve a mirror list and especially their status information.

A static JSON format would be enough; it's size should be small enough for the client to implement any filter. So there is no need for furhter logic on the server side.

For now exporting the data that are also seen on the status table would be enough.
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 13 December 2010, 20:10 GMT
Reason for closing:  Implemented
Additional comments about closing:  Version one, coming soon to a deployed site near you
Comment by Pierre Schmitz (Pierre) - Friday, 08 October 2010, 08:58 GMT
I have no idea about python or django. But maybe its enough to extend the status function in mirrors/vie.py to either output into a template or create json data.

Loading...