Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
d6b2b4f0
Commit
d6b2b4f0
authored
Aug 29, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed configure call within gitolite
parent
5d88cdd9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/gitlab/backend/gitolite.rb
lib/gitlab/backend/gitolite.rb
+5
-5
No files found.
lib/gitlab/backend/gitolite.rb
View file @
d6b2b4f0
...
@@ -8,21 +8,21 @@ module Gitlab
...
@@ -8,21 +8,21 @@ module Gitlab
class
AccessDenied
<
StandardError
;
end
class
AccessDenied
<
StandardError
;
end
def
set_key
key_id
,
key_content
,
projects
def
set_key
key_id
,
key_content
,
projects
self
.
configure
do
|
c
|
configure
do
|
c
|
c
.
update_keys
(
key_id
,
key_content
)
c
.
update_keys
(
key_id
,
key_content
)
c
.
update_project
(
project
.
path
,
projects
)
c
.
update_project
(
project
.
path
,
projects
)
end
end
end
end
def
remove_key
key_id
,
projects
def
remove_key
key_id
,
projects
self
.
configure
do
|
c
|
configure
do
|
c
|
c
.
delete_key
(
key_id
)
c
.
delete_key
(
key_id
)
c
.
update_project
(
project
.
path
,
projects
)
c
.
update_project
(
project
.
path
,
projects
)
end
end
end
end
def
update_repository
project
def
update_repository
project
self
.
configure
do
|
c
|
configure
do
|
c
|
c
.
update_project
(
project
.
path
,
project
)
c
.
update_project
(
project
.
path
,
project
)
end
end
end
end
...
@@ -30,7 +30,7 @@ module Gitlab
...
@@ -30,7 +30,7 @@ module Gitlab
alias_method
:create_repository
,
:update_repository
alias_method
:create_repository
,
:update_repository
def
remove_repository
project
def
remove_repository
project
self
.
configure
do
|
c
|
configure
do
|
c
|
c
.
destroy_project
(
project
)
c
.
destroy_project
(
project
)
end
end
end
end
...
@@ -45,7 +45,7 @@ module Gitlab
...
@@ -45,7 +45,7 @@ module Gitlab
end
end
def
enable_automerge
def
enable_automerge
self
.
configure
do
|
git
|
configure
do
|
git
|
git
.
admin_all_repo
git
.
admin_all_repo
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment