Closed
Description
When there are two mirrors with very similar names the show command will fuzzy logic list both mirrors, in my opinion this is a good thing.
The issue however is threefold:
- The edit command will do the same, and does not use strict checking
- There is no way (I found) to change the descriptive name of a mirror
- (SOLVED) It is impossible to add a mirror with the same name as one that was previously removed.
Example:
First I add a few mirrors called test.example.com and secondtest.example.com
$ mirrorbits add -http="http://test.example.com" test.example.com
Warning: unable to guess the geographic location of test.example.com
Mirror added successfull
$ mirrorbits add -http="http://secondtest.example.com" secondtest.example.com
Warning: unable to guess the geographic location of test.example.com
Mirror added successfull
It is clear this worked from the output of the show command
$ mirrorbits show example
secondtest.example.com
test.example.com
But I can't edit test.example.com
$ mirrorbits edit test.example.com
secondtest.example.com
test.example.com
I proceed to remove secondtest.example.com so i can edit test.example.com
$ mirrorbits remove secondtest.example.com
Mirror removed successfully
$ mirrorbits edit test.example.com
I then find out I can't edit the displayname of this mirror.
I end up removing it completely and recreating it with the new displayname
When I tried this previously I also was not able to recreate the same mirrorname, it complains the mirror already exists:
$ mirrorbits add <lots of info> z.os6.org
Mirror z.os6.org already exists!
$ mirrorbits edit z.os6.org
No match for z.os6.org