summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-20 19:31:29 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-20 20:22:25 +0100
commite3a7e43ff4fb1ebf9e594b32abcb980a8b905c49 (patch)
tree92083fbd59253eec2ffe2ff4be6b522e2b9f1d67
parentd188adfd97417be489df8a1cef2ca3bf986676ee (diff)
downloadgitlab-ce-e3a7e43ff4fb1ebf9e594b32abcb980a8b905c49.tar.gz
Rename gitlab:activate_namespaces to gitlab:enable_namespaces
-rw-r--r--doc/raketasks/features.md4
-rw-r--r--lib/tasks/gitlab/enable_namespaces.rake (renamed from lib/tasks/gitlab/activate_namespaces.rake)2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/raketasks/features.md b/doc/raketasks/features.md
index 2a66b1caca7..9dc6a4ef5eb 100644
--- a/doc/raketasks/features.md
+++ b/doc/raketasks/features.md
@@ -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
```
diff --git a/lib/tasks/gitlab/activate_namespaces.rake b/lib/tasks/gitlab/enable_namespaces.rake
index 70ec88d0b3f..1be9ba6469d 100644
--- a/lib/tasks/gitlab/activate_namespaces.rake
+++ b/lib/tasks/gitlab/enable_namespaces.rake
@@ -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|