##// END OF EJS Templates
feat(config-maker): ensure dirs for LFS objects are set and existing
super-admin -
r5604:43293df5 default
parent child Browse files
Show More
@@ -122,9 +122,12 b' def sanitize_settings_and_apply_defaults'
122 settings_maker.make_setting('vcs.start_server', 'false', parser='bool')
122 settings_maker.make_setting('vcs.start_server', 'false', parser='bool')
123 settings_maker.make_setting('vcs.backends', 'hg, git, svn', parser='list')
123 settings_maker.make_setting('vcs.backends', 'hg, git, svn', parser='list')
124 settings_maker.make_setting('vcs.connection_timeout', 3600, parser='int')
124 settings_maker.make_setting('vcs.connection_timeout', 3600, parser='int')
125 settings_maker.make_setting('vcs.git.lfs.storage_location', '/var/opt/rhodecode_repo_store/.cache/git_lfs_store')
125 settings_maker.make_setting('vcs.git.lfs.storage_location',
126 '/var/opt/rhodecode_repo_store/.cache/git_lfs_store',
127 parser='dir:ensured', default_when_empty=True)
126 settings_maker.make_setting('vcs.hg.largefiles.storage_location',
128 settings_maker.make_setting('vcs.hg.largefiles.storage_location',
127 '/var/opt/rhodecode_repo_store/.cache/hg_largefiles_store')
129 '/var/opt/rhodecode_repo_store/.cache/hg_largefiles_store',
130 parser='dir:ensured', default_when_empty=True)
128
131
129 settings_maker.make_setting('vcs.methods.cache', True, parser='bool')
132 settings_maker.make_setting('vcs.methods.cache', True, parser='bool')
130
133
General Comments 0
You need to be logged in to leave comments. Login now