gitolite & gitosis support
This commit is contained in:
parent
c03bc6e291
commit
9e089efe5a
14 changed files with 200 additions and 98 deletions
|
@ -19,7 +19,7 @@ class Key < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def update_gitosis
|
||||
Gitosis.new.configure do |c|
|
||||
GitoProxy.system.new.configure do |c|
|
||||
c.update_keys(identifier, key)
|
||||
|
||||
projects.each do |project|
|
||||
|
@ -29,7 +29,7 @@ class Key < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def gitosis_delete_key
|
||||
Gitosis.new.configure do |c|
|
||||
GitoProxy.system.new.configure do |c|
|
||||
c.delete_key(identifier)
|
||||
|
||||
projects.each do |project|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue