##// END OF EJS Templates
ini: drop setting initial_repo_scan...
Thomas De Schampheleire -
r7189:52544ad8 default
parent child Browse files
Show More
@@ -98,11 +98,6 b' i18n.lang ='
98 cache_dir = %(here)s/data
98 cache_dir = %(here)s/data
99 index_dir = %(here)s/data/index
99 index_dir = %(here)s/data/index
100
100
101 ## perform a full repository scan on each server start, this should be
102 ## set to false after first startup, to allow faster server restarts.
103 #initial_repo_scan = false
104 initial_repo_scan = true
105
106 ## uncomment and set this path to use archive download cache
101 ## uncomment and set this path to use archive download cache
107 archive_cache_dir = %(here)s/tarballcache
102 archive_cache_dir = %(here)s/tarballcache
108
103
@@ -171,10 +171,6 b' def setup_configuration(app):'
171
171
172 check_git_version()
172 check_git_version()
173
173
174 if str2bool(config.get('initial_repo_scan', True)):
175 repo2db_mapper(ScmModel().repo_scan(repos_path),
176 remove_obsolete=False, install_git_hooks=False)
177
178
174
179 hooks.register('configure_new_app', setup_configuration)
175 hooks.register('configure_new_app', setup_configuration)
180
176
@@ -193,10 +193,6 b' i18n.lang ='
193 cache_dir = %(here)s/data
193 cache_dir = %(here)s/data
194 index_dir = %(here)s/data/index
194 index_dir = %(here)s/data/index
195
195
196 <%text>## perform a full repository scan on each server start, this should be</%text>
197 <%text>## set to false after first startup, to allow faster server restarts.</%text>
198 initial_repo_scan = false
199
200 <%text>## uncomment and set this path to use archive download cache</%text>
196 <%text>## uncomment and set this path to use archive download cache</%text>
201 archive_cache_dir = %(here)s/tarballcache
197 archive_cache_dir = %(here)s/tarballcache
202
198
@@ -17,7 +17,6 b' ini_files = ['
17 'host': '0.0.0.0',
17 'host': '0.0.0.0',
18 },
18 },
19 '[app:main]': {
19 '[app:main]': {
20 'initial_repo_scan': 'true',
21 'debug': 'true',
20 'debug': 'true',
22 'app_instance_uuid': 'development-not-secret',
21 'app_instance_uuid': 'development-not-secret',
23 'beaker.session.secret': 'development-not-secret',
22 'beaker.session.secret': 'development-not-secret',
General Comments 0
You need to be logged in to leave comments. Login now