Namespace
Methods
- C
- E
- M
- R
- S
- U
Instance Public methods
config()
Link
Source: show
# File lib/gitlab/backend/gitolite.rb, line 7 def config Gitlab::GitoliteConfig.new end
create_repository(project)
Link
enable_automerge()
Link
Source: show
# File lib/gitlab/backend/gitolite.rb, line 44 def enable_automerge config.admin_all_repo! end
move_repository(old_repo, project)
Link
Source: show
# File lib/gitlab/backend/gitolite.rb, line 29 def move_repository(old_repo, project) config.apply do |config| config.clean_repo(old_repo) config.update_project(project) end end
remove_key(key_id, projects)
Link
Source: show
# File lib/gitlab/backend/gitolite.rb, line 18 def remove_key key_id, projects config.apply do |config| config.rm_key(key_id) config.update_projects(projects) end end
remove_repository(project)
Link
Source: show
# File lib/gitlab/backend/gitolite.rb, line 36 def remove_repository project config.destroy_project!(project) end
set_key(key_id, key_content, projects)
Link
Source: show
# File lib/gitlab/backend/gitolite.rb, line 11 def set_key key_id, key_content, projects config.apply do |config| config.write_key(key_id, key_content) config.update_projects(projects) end end
update_repositories(projects)
Link
Source: show
# File lib/gitlab/backend/gitolite.rb, line 48 def update_repositories projects config.apply do |config| config.update_projects(projects) end end
update_repository(project)
Link
Also aliased as: create_repository
Source: show
# File lib/gitlab/backend/gitolite.rb, line 25 def update_repository project config.update_project!(project) end