Cleanup path names with invalid "." usage
From @DouweM comment in https://gitlab.com/gitlab-com/infrastructure/issues/3118#note_45346274:
By cleaning the path do you mean changing the name to become valid? eg:
foo.
=>foo
?
@tiagonbotelho Yeah, we've done something like that before: http://gitlab.com/gitlab-org/gitlab-ce/blob/master/db/migrate/20150421120000_remove_periods_at_ends_of_usernames.rb. Since we're renaming projects, we also need to think about moving the data on-disk etc, like here: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/db/post_migrate/20170313133418_rename_more_reserved_project_names.rb
Edited by Douwe Maan