* Fabrice Facorat (fabrice.faco...@gmail.com) wrote: > 2010/11/3 Olivier Thauvin <nanar...@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 ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
pgpmVUUXl7Oua.pgp
Description: PGP signature