[go: up one dir, main page]

Skip to content

The new mirroring interface does not show current settings, and they can't be changed anymore

Summary

The changes to the mirroring interface introduced in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4503 (cc @lbennett @dimitrieh @timzallmann) have actually made it harder to manage mirrors. Previously, you could check current settings and update them as necessary. Now, with the new interface combining push/pull together, the current settings are hidden, so it's not possible to see what options are selected here, and the only way to change them is to delete the mirror completely and restart.

I'm really struggling to see why the interface was changed at all, to be honest. This update doesn't seem to offer any tangible benefit, and seems to have removed important features (the ability to see and change mirror settings).

Related Issue

Related to https://gitlab.com/gitlab-org/gitlab-ee/issues/8090

Example Project

Previously, all the settings were accessible at all times. Note the green box, where all settings are visible, and changeable, without restarting from scratch. I've had to change these settings several times when I wanted the mirror behaviour to change.

repository_mirroring_pull_settings2

Now, all the settings are hidden once the mirror is created. Note the red box, where the only option is to delete and the "refresh/update" icon ("Update Now" was much clearer than the new icon too, IMHO). It's not possible to see whether or not "Mirror Only Protected Branches" is enabled, for example, or change the pipeline triggering behaviour.

new-mirror-settings2

What is the current bug behavior?

Settings are not visible, so it's not possible (in the UI anyways) to check the current mirror settings, and the only option for updating them is to delete the mirror completely and create a new one.

What is the expected correct behavior?

Settings need to be visible in the UI, and changeable.

Edited by Marcel Amirault