Rename gitlab:activate_namespaces to gitlab:enable_namespaces

This commit is contained in:
Riyad Preukschas 2012-12-20 19:31:29 +01:00
parent d188adfd97
commit e3a7e43ff4
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
### Enable usernames and namespaces for user projects
This command will enable the namespace feature introduced in v4.0. It will move every project in its namespace folder.
This command will enable the namespaces feature introduced in v4.0. It will move every project in its namespace folder.
Note:
@ -13,7 +13,7 @@ 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:activate_namespaces
bundle exec rake gitlab:enable_namespaces
```

View file

@ -1,6 +1,6 @@
namespace :gitlab do
desc "GITLAB | Enable usernames and namespaces for user projects"
task activate_namespaces: :environment do
task enable_namespaces: :environment do
print "\nUsernames for users:".yellow
User.find_each(batch_size: 500) do |user|