Switching to draft because I'm not super convinced by this last commit, but it's an attempt at having a way to not insert mirrors which are the same for the same host. An improvement over this would be to completely make the map an opaque type, not a global map, so that it cannot be possible to insert a mirror without that check. I considered it but had to revert to this because there is a lot to change to get there, including the python usage. However if some agree here I will do the effort.
Switching to draft because I'm not super convinced by this last commit, but it's an attempt at having a way to not insert mirrors which are the same for the same host. An improvement over this would be to completely make the map an opaque type, not a global map, so that it cannot be possible to insert a mirror without that check. I considered it but had to revert to this because there is a lot to change to get there, including the python usage. However if some agree here I will do the effort.