fix(db-bootstrap): don't store LFS/largefiles data into DB as they are controlled now via .ini files
This commit is contained in:
parent
bc0998866f
commit
aa45596cef
1 changed files with 0 additions and 20 deletions
|
|
@ -328,8 +328,6 @@ class DbManage(object):
|
|||
and disables dotencode
|
||||
"""
|
||||
settings_model = SettingsModel(sa=self.sa)
|
||||
from rhodecode.lib.vcs.backends.hg import largefiles_store
|
||||
from rhodecode.lib.vcs.backends.git import lfs_store
|
||||
|
||||
# Build HOOKS
|
||||
hooks = [
|
||||
|
|
@ -360,24 +358,6 @@ class DbManage(object):
|
|||
largefiles.ui_value = ''
|
||||
self.sa.add(largefiles)
|
||||
|
||||
# set default largefiles cache dir, defaults to
|
||||
# /repo_store_location/.cache/largefiles
|
||||
largefiles = RhodeCodeUi()
|
||||
largefiles.ui_section = 'largefiles'
|
||||
largefiles.ui_key = 'usercache'
|
||||
largefiles.ui_value = largefiles_store(repo_store_path)
|
||||
|
||||
self.sa.add(largefiles)
|
||||
|
||||
# set default lfs cache dir, defaults to
|
||||
# /repo_store_location/.cache/lfs_store
|
||||
lfsstore = RhodeCodeUi()
|
||||
lfsstore.ui_section = 'vcs_git_lfs'
|
||||
lfsstore.ui_key = 'store_location'
|
||||
lfsstore.ui_value = lfs_store(repo_store_path)
|
||||
|
||||
self.sa.add(lfsstore)
|
||||
|
||||
# enable hgevolve disabled by default
|
||||
hgevolve = RhodeCodeUi()
|
||||
hgevolve.ui_section = 'extensions'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue