Skip to content

Modify namespace name and path validation

Dmytro Zaporozhets (DZ) requested to merge dz-remove-namespaces-path-uniq into master

What does this MR do?

  • Allow same namespace name with different parent_id
  • Allow same namespace path. Uniq validation should be handled by routes table

Are there points in the code the reviewer needs to double check?

migrations

Why was this MR needed?

So we can use same name in different nesting like:

gitlab-ce/foo
gitlab-com/foo
foo/gitlab-ce

Screenshots (if relevant)

no

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/2772

Merge request reports