Skip to content
  • In 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)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment