-
🌴 @dzaporozhetsIn GitLab 9.2 and later next example should work:
Project.where(path: Gitlab::PathRegex::ILLEGAL_PROJECT_PATH_WORDS).each do |project| if project.update_attributes(path: "#{project.path}0") project.rename_repo end end
Edited by Dmytro Zaporozhets (DZ)
Please register or sign in to comment