Rename groups that ends with .git
Some time before user could create group with .git
in the end of the name. Later we forbidden it by introducing validation. However database can contain few invalid groups like happened to GitLab.com here https://gitlab.com/gitlab-com/support-forum/issues/1358. Now when routing is synced with validation rules (which we should do long time ago) it does not consider group with .git
as group and cause an error.
We need to write a migration that will remove .git
from group name