jbox-web/redmine_git_hosting

View on GitHub
lib/default_settings.yml

Summary

Maintainability
Test Coverage
---
# Gitolite SSH Config
gitolite_user:                  'git'
gitolite_server_host:           '127.0.0.1'
gitolite_server_port:           '22'
gitolite_ssh_private_key:       <%= Rails.root.join('plugins', 'redmine_git_hosting', 'ssh_keys', 'redmine_gitolite_admin_id_rsa') %>
gitolite_ssh_public_key:        <%= Rails.root.join('plugins', 'redmine_git_hosting', 'ssh_keys', 'redmine_gitolite_admin_id_rsa.pub') %>

# Gitolite Storage Config
gitolite_global_storage_dir:    'repositories/'
gitolite_redmine_storage_dir:   ''
gitolite_recycle_bin_dir:       'recycle_bin/'

# Gitolite Config File
gitolite_config_file:              'gitolite.conf'
gitolite_identifier_prefix:        'redmine_'
gitolite_identifier_strip_user_id: 'false'

# Gitolite Global Config
gitolite_temp_dir:                     <%= Rails.root.join('tmp', 'redmine_git_hosting') %>
gitolite_recycle_bin_expiration_time:  '24.0'
gitolite_log_level:                    'info'
git_config_username:                   'Redmine Git Hosting'
git_config_email:                      'redmine@example.net'

# Gitolite Hooks Config
gitolite_overwrite_existing_hooks: 'true'
gitolite_hooks_are_asynchronous:   'false'
gitolite_hooks_debug:              'false'
gitolite_hooks_url:                'http://localhost:3000'

# Gitolite Cache Config
gitolite_cache_max_time:          '86400'
gitolite_cache_max_size:          '16'
gitolite_cache_max_elements:      '2000'
gitolite_cache_adapter:           'database'

# Gitolite Access Config
ssh_server_domain:                'localhost'
http_server_domain:               'localhost'
https_server_domain:              'localhost'
http_server_subdir:               ''
gitolite_daemon_by_default:       'false'
gitolite_http_by_default:         '1'

# Redmine Config
redmine_has_rw_access_on_all_repos: 'true'
all_projects_use_git:               'false'
init_repositories_on_create:        'false'
delete_git_repositories:            'true'

# This params work together!
# When hierarchical_organisation = true unique_repo_identifier MUST be false
# When hierarchical_organisation = false unique_repo_identifier MUST be true
hierarchical_organisation:        'true'
unique_repo_identifier:           'false'

# Download Revision Config
download_revision_enabled:        'true'

# Git Mailing List Config
gitolite_notify_by_default:            'false'
gitolite_notify_global_prefix:         '[REDMINE]'
gitolite_notify_global_sender_address: 'redmine@example.net'
gitolite_notify_global_include:        []
gitolite_notify_global_exclude:        []

# Sidekiq Config
gitolite_use_sidekiq:                  'false'