Hello, I don't see any bugs with mirrorselect-2.0.0. If it is ready for stabilization, please consider doing so. This version uses mirrors3.xml instead of mirrors.xml. mirrors.xml is just another file that the mirror-admins have to edit. I (we) would like to eliminate that and soon forget about mirrors.xml because mirrors3.xml is more maintained and easier to use. Thanks.
Sebastian might have some input. :)
(In reply to comment #1) > Sebastian might have some input. :) Thanks for CC'ing me. I believe the changes we made were fairly trivial and had more than 2 eyes on them. My vote for stabilization. On editing: is it all scripted already or does any mirrors*.xml required manual edits besides mirrors3.xml?
(In reply to comment #2) > (In reply to comment #1) > > Sebastian might have some input. :) > > Thanks for CC'ing me. I believe the changes we made were fairly trivial and > had more than 2 eyes on them. My vote for stabilization. > > On editing: is it all scripted already or does any mirrors*.xml required manual > edits besides mirrors3.xml? > We have to manually add them to mirrors{,3}.xml. I'd be interested in testing some tool out if you are so inclined..We can talk about it outside of this bug.
Yeah mirrorselect-2.0.0 should be ready :) So please stabilize.
amd64/arm/x86 stable
sparc stable
Doesn work correctly on alpha: # mirrorselect -s3 -b10 -o * Downloading a list of mirrors...Traceback (most recent call last): File "/usr/sbin/mirrorselect", line 898, in <module> main(sys.argv) File "/usr/sbin/mirrorselect", line 885, in main hosts = Extractor(MIRRORS_3_XML, options).hosts File "/usr/sbin/mirrorselect", line 164, in __init__ hosts = self.getlist(parser, list_url) File "/usr/sbin/mirrorselect", line 207, in getlist parser.parse(urllib.urlopen(url).read()) File "/usr/lib/python2.6/site-packages/mirrorselect/mirrorparser3.py", line 36, in parse for mirrorgroup in ET.XML(text): File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 962, in XML parser = XMLTreeBuilder() File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 1126, in __init__ parser.DefaultHandlerExpand = self._default TypeError: 'pyexpat.xmlparser' object has only read-only attributes (assign to .DefaultHandlerExpand) Segmentation fault #
(In reply to comment #7) > Doesn work correctly on alpha: > > # mirrorselect -s3 -b10 -o > * Downloading a list of mirrors...Traceback (most recent call last): > File "/usr/sbin/mirrorselect", line 898, in <module> > main(sys.argv) > File "/usr/sbin/mirrorselect", line 885, in main > hosts = Extractor(MIRRORS_3_XML, options).hosts > File "/usr/sbin/mirrorselect", line 164, in __init__ > hosts = self.getlist(parser, list_url) > File "/usr/sbin/mirrorselect", line 207, in getlist > parser.parse(urllib.urlopen(url).read()) > File "/usr/lib/python2.6/site-packages/mirrorselect/mirrorparser3.py", line > 36, in parse > for mirrorgroup in ET.XML(text): > File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 962, in XML > parser = XMLTreeBuilder() > File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 1126, in __init__ > parser.DefaultHandlerExpand = self._default > TypeError: 'pyexpat.xmlparser' object has only read-only attributes (assign to > .DefaultHandlerExpand) > Segmentation fault > # > Hm, I can't reproduce it here (AMD64 hardened and normal, X86 hardened). Could you try to rebuild expat/python?
Stable for HPPA.
Rebuilding python and expat did not help. So I remerged pyxml and libxml2 - and voilá, mirrorselect works. Stable on alpha.
ia64/m68k/s390/sh stable, mips doesn't do stable keywords
ppc stable
ppc64 stable