summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-05-06 13:15:03 +0000
committerNick Thomas <nick@gitlab.com>2019-05-06 13:15:03 +0000
commit18c07084a6faea04ab446e523fff603843406ac8 (patch)
treeb13bd44f9f56f32afb4ed387284e45102d653a4f /changelogs
parent53823531ff88f8c568973841fac66e3629df7522 (diff)
downloadgitlab-ce-18c07084a6faea04ab446e523fff603843406ac8.tar.gz
Destroy repo mirrors instead of disabling them
It is important to destroy data related to repo mirrors when they are disabled. Use `_destroy` nested attribute instead of `enabled` for push mirrors. Call `remove_import_data` after saving a project if its pull mirror is disabled.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml b/changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml
new file mode 100644
index 00000000000..ac5fc27cf36
--- /dev/null
+++ b/changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml
@@ -0,0 +1,5 @@
+---
+title: Destroy project remote mirrors instead of disabling
+merge_request: 27087
+author:
+type: security