The list of mirrors seems to have changed. I just realized that I cannot use mirrorselect any more. It only shows entries for Asia and "Other Mirrors". The problem seems to be related to the list however, since the parser in mirrorselect states: #these always have to have the ":" after them. tercel said so. self.locations = ('North America:', 'South America:', 'Europe:', \ 'Australia:', 'Asia:', 'Other Mirrors:') Now all but "Asia" and "Other Mirrors" do not have leading colons any more, and obviously they cannot be parsed. Reproducible: Always Steps to Reproduce: 1. Download http://www.gentoo.org/main/en/mirrors.xml 2. 3. Actual Results: Colons were missing Expected Results: Colons should be there
Apparently there must have been more changes. When I add 'Germany' to the list of mirrors, I get all German mirrors. Apparently the country paragraphs also confuse mirrorselect.
I will update the parser. Watch this bug for updates
See my additonal comments re bug http://bugs.gentoo.org/show_bug.cgi?id=110897
Colin, Any update on this? I thought you were pushing out an update mirrorselect
Gratuitous advice for Colin: Before you hack your parser have a discussion with the folk that create mirrors.xml and a) establish exactly what you will parse b) create test cases (for them to run) that will ensure that they don't make future changes that break your parsing.
Perhaps a little suggestion (don't know if this is the right place, it probably is): Make some kind of XML file with the mirrors in the form of (for example): ... <location name="North America"> <mirror title="Some mirror" type="FTP">ftp://ftp.some-mirror.tdl/</mirror> <mirror ... > </location> ... I have no real knowledge of XML, so this is just a little example. If it's done that way it easier to parse for any interpreter applications or scripts. The website itself can then also use this locally (PHP, perl, cgi? I don't know what gentoo.org uses). Ofcourse this would be a suggestion for the future because it involves some thinking and work.
Thanks for the advice, but its all under controll:) expect a new release in ~arch by tonight at midnight EST.
*** Bug 110897 has been marked as a duplicate of this bug. ***
New version commited to ~arch. Please test so we can get it stable asap, as it is the only currently working version.
Works for me. But now there is another (minor) annoyance: mirrorselect now accidentally lists - /doc/en/rsync.xml, and - /doc/en/source_mirrors.xml as download mirrors. Anyway, thanks a lot.
Works very well now. On top of Markus' comment, also http://ibiblio.org/pub/Linux/MIRRORS.html (under Other Mirrors: ) is listed.
Works for me (amd64). Not that I would expect it to be architecture dependent. I agree with Markus' and Thomas' comments, but note that they only affect the -i option. As an aside, it would be good to clarify the documentation of -i in the help to make it clear that all it does is transcribe your selections to GENTOO_MIRRORS with no warranty that the servers even exist. (At least that's my interpretation.) Thanks.
reguarding #10 and #11, that is a separate problem. I'll be taking it up with the maintainer of mirrors.xml