Rake task to provider full repo access for gitolite-owner.\n Automerge requires gitlab user be able to push to any repo

This commit is contained in:
randx 2012-03-30 08:25:04 +03:00
parent 3824f9b372
commit 464cd59dff
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,9 @@
desc "Give gitlab user full access to every repo"
task :gitlab_enable_automerge => :environment do
Gitlabhq::GitHost.system.new.configure do |git|
git.admin_all_repo
end
puts "Done!".green
end