summaryrefslogtreecommitdiff
path: root/doc/raketasks/features.md
blob: eaa9af5f9625554e01632192015711ea622f2819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Features

## Enable usernames and namespaces for user projects

This command will enable the namespaces feature introduced in v4.0. It will move every project in its namespace folder.

Note:

- Because the **repository location will change**, you will need to **update all your git url's** to point to the new location.
- Username can be changed at [Profile / Account](/profile/account)

**Example:**

Old path: `git@example.org:myrepo.git`

New path: `git@example.org:username/myrepo.git` or `git@example.org:groupname/myrepo.git`

```
bundle exec rake gitlab:enable_namespaces RAILS_ENV=production
```

## Rebuild project satellites

This command will build missing satellites for projects. After this you will be able to **merge a merge request** via GitLab and use the **online editor**.

```
bundle exec rake gitlab:satellites:create RAILS_ENV=production
```

Example output:

```
Creating satellite for abcd.git
[git clone output]
Creating satellite for abcd2.git
[git clone output]
done
```