Closed kallisti5 closed 5 years ago
I've done this a few times. The only option I get is to "deactivate" a repository mirror. It then disappears from the list. Is there a way to fully "delete" a mirror?
Ah.. at the bottom there's a "Show any inactive mirrors" Any way to delete these?
At the moment there is no possibility from the GUI to completely delete a mirror, but as it is clearly needed, I will introduce a "delete" function soon. The exception above is because it is not possible at the database level to add two mirrors (active or inactive) with the same "base URL" on the same repository source. I will adjust the system to provide better feedback on that when it happens.
I've added logic to check for somebody attempting to add the same base URL twice now and I have also added a delete function for mirrors. This will be included in the next release.
Adding a mirror for a repository results in an exception: