diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-12-09 01:52:36 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-12-09 01:52:36 +0000 |
commit | 05efd19e8956c5a507bbf22ca74786c1cc0ccc0a (patch) | |
tree | 1d020e1ad77f6802c6d16ea6bcee089e0ca3cf3c /.github | |
parent | f23b1cb453deea2659c0cb9e9047c72d859bbf9d (diff) | |
parent | 83232be0e14cc8b35bf74532203a6e4371c15e70 (diff) | |
download | gitlab-ce-05efd19e8956c5a507bbf22ca74786c1cc0ccc0a.tar.gz |
Merge branch 'dz-nested-groups' into 'master'
Add nested groups support on data level
## What does this MR do?
- [x] Add `parent_id` field to `Namespace`model.
- [x] Create new database table `routes` that keeps information about full path to each group or project
- [x] Remove uniq index from `namespaces.path`
- [x] Add uniq index on `routes.path`
- [x] Fill routes table with path data from namespaces and projects
- [x] Change Namespace/Project URL lookup by routes table
- [x] Rename related routes (nested groups, projects) when parent path changes
This is solely backend preparation. UI, Permissions and API support will be added in separate merge request.
## Are there points in the code the reviewer needs to double check?
migrations, Route model, Routable concern
Will require downtime. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7121#note_19490281 discussion
## Why was this MR needed?
One step further to full nested groups support
## Screenshots (if relevant)
No UI changes in this merge request so far
## Does this MR meet the acceptance criteria?
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md) entry added~~
- ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~
- ~~API support added~~
- Tests
- [x] Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
## What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/2772
See merge request !7121
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions