Skip to content

Commit

Permalink
Add gitlab:satellites:create as an alias for gitlab:enable_automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
riyad committed Dec 20, 2012
1 parent 501f048 commit 56f9a67
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
10 changes: 10 additions & 0 deletions doc/raketasks/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ Checking GitLab ... Finished
```


### (Re-)Create satellite repos

This will create satellite repos for all your projects.
If necessary, remove the `tmp/repo_satellites` directory and rerun the command below.

```
bundle exec rake gitlab:satellites:create
```


### Rebuild each key at gitolite config

This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects.
Expand Down
4 changes: 3 additions & 1 deletion lib/tasks/gitlab/check.rake
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ namespace :gitlab do
else
puts "no".red
try_fixing_it(
"sudo -u gitlab -H bundle exec rake gitlab:enable_automerge"
"sudo -u gitlab -H bundle exec rake gitlab:satellites:create",
"If necessary, remove the tmp/repo_satellites directory ...",
"... and rerun the above command"
)
for_more_information(
"doc/raketasks/maintenance.md "
Expand Down
5 changes: 5 additions & 0 deletions lib/tasks/gitlab/enable_automerge.rake
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ namespace :gitlab do

puts "Done!".green
end

namespace :satellites do
desc "GITLAB | Create satellite repos"
task create: 'gitlab:enable_automerge'
end
end

0 comments on commit 56f9a67

Please sign in to comment.