Skip to content

Don't create permanent redirect when renaming a namespace

Bob Van Landuyt requested to merge bvl-no-permanent-redirect into master

What does this MR do?

This MR removes the concept of a permanent redirect.

Now all redirects will live as long as the old route isn't taken. When it's taken, the redirect is remove and the push/pull or request is directed straight to the new route.

It also drops the indexes created in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16211

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

backend part of https://gitlab.com/gitlab-org/gitlab-ce/issues/41758

Edited by Gregory Stark

Merge request reports