##// 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 98 cache_dir = %(here)s/data
99 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 101 ## uncomment and set this path to use archive download cache
107 102 archive_cache_dir = %(here)s/tarballcache
108 103
@@ -171,10 +171,6 b' def setup_configuration(app):'
171 171
172 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 175 hooks.register('configure_new_app', setup_configuration)
180 176
@@ -193,10 +193,6 b' i18n.lang ='
193 193 cache_dir = %(here)s/data
194 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 196 <%text>## uncomment and set this path to use archive download cache</%text>
201 197 archive_cache_dir = %(here)s/tarballcache
202 198
@@ -17,7 +17,6 b' ini_files = ['
17 17 'host': '0.0.0.0',
18 18 },
19 19 '[app:main]': {
20 'initial_repo_scan': 'true',
21 20 'debug': 'true',
22 21 'app_instance_uuid': 'development-not-secret',
23 22 'beaker.session.secret': 'development-not-secret',
General Comments 0
You need to be logged in to leave comments. Login now