mirrorbits icon indicating copy to clipboard operation
mirrorbits copied to clipboard

Cannot edit a mirror when its ID is a substring of another

Open Jehan opened this issue 3 years ago • 2 comments

We have a at mirror.fcix.net, back then I used fcix.net as ID.

Now they sponsor more mirrors, for instance in paducahix.mm.fcix.net. I wanted to edit the first mirror name to mirror.fcix.net, except that I get:

$ mb edit fcix.net
Multiple match:
  uvermont.mm.fcix.net
  ziply.mm.fcix.net
  abqix.mm.fcix.net
  fcix.net
  paducahix.mm.fcix.net
  forksystems.mm.fcix.net
  lesnet.mm.fcix.net

The command usage does not give more info on the format. Hoping it would be some kind of regexp, I even tried "^fcix.net" to no avail. Basically so far, it looks like it's impossible to edit a mirror whose ID is a substring of another. Or if it is, it's well hidden! 🙈

Jehan avatar Nov 10 '22 14:11 Jehan

That's a bug, indeed.

jbkempf avatar Nov 07 '23 13:11 jbkempf

For the record, the "solution" I came up with back then to be able to rename the first mirror was to temporarily rename all the subdomain mirrors (adding a typo on purpose for instance) so that they don't share the common fcix.net base anymore. Then I renamed the first mirror, and finally I fixed the name of all the other mirrors. 😅

A bit painful, but doable. Of course a fix would be welcome eventually. ;-)

Jehan avatar Nov 07 '23 15:11 Jehan