[Mageia-dev] Mirror list for apps (LONG mail)

Olivier Thauvin nanardon at nanardon.zarb.org
Wed Nov 3 20:22:24 CET 2010


* Fabrice Facorat (fabrice.facorat at gmail.com) wrote:
> 2010/11/3 Olivier Thauvin <nanardon at nanardon.zarb.org>:
> 
> > Keeping this format is more simple, just changing the line specifiying
> > basis url in URPMI.
> 
> And allow to keep compatibility with urpmi without maintaining too much patch
> 
> > By changing the the format we can add features, make it clearer, etc...
> > But changing format to what ? XML ? YAML ? CSV ? something worst ? :)
> > Changes can done later.
> 
> if really you want to change this you should :
> - ditch the url in favor of a XML-RPC or REST calls

We can provide both, just matter of some code.

> So product.id could be kept unchanged, but the way urpmi talk to the
> mirror provider could be improved.
> Last but not least, by using XML-RC or REST calls, we could filter the
> output of mirror list ( for example retrieve the list of mirror for
> cooker in EU zone )

Notice it can done by passing argument to URL:
http://..../...list?continent=EU

I do agree XML-RPC/REST make it clearer and probably more extensible.

> 
> -- 
> Close the World, Open the Net
> http://www.linux-wizard.net
-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20101103/be5ad14c/attachment.asc>


More information about the Mageia-dev mailing list