# HG changeset patch # User RhodeCode Admin # Date 2024-11-08 14:20:20 # Node ID b54074868bf202f4bbee0e5a393732a06414299c # Parent 43293df5c68c8d853f4077b725876587bd176cc2 fix(db-bootstrap): don't store LFS/largefiles data into DB as they are controlled now via .ini files diff --git a/rhodecode/lib/db_manage.py b/rhodecode/lib/db_manage.py --- a/rhodecode/lib/db_manage.py +++ b/rhodecode/lib/db_manage.py @@ -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'