Skip to content

Storage path validations fail incorrectly for some patterns

Consider the following repository storage paths defined in gitlab.yml

  • default: /Users/alejandro/gdk/repositories/
  • alternative: /Users/alejandro/gdk/repositories2/

config/initializers/6_validations.rb will incorrectly report that "alternative is a nested path of default. Nested paths are not supported for repository storages. Please fix this in your gitlab.yml before starting GitLab." when that's not really the case.