mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 12:04:15 +02:00
[debian] initial Debian package management support
This commit is contained in:
16
bauh/gems/debian/config.py
Normal file
16
bauh/gems/debian/config.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from bauh.commons.config import YAMLConfigManager
|
||||
from bauh.gems.debian import CONFIG_FILE
|
||||
|
||||
|
||||
class DebianConfigManager(YAMLConfigManager):
|
||||
|
||||
def __init__(self):
|
||||
super(DebianConfigManager, self).__init__(config_file_path=CONFIG_FILE)
|
||||
|
||||
def get_default_config(self) -> dict:
|
||||
return {
|
||||
'suggestions.exp': 24, # hours
|
||||
'index_apps.exp': 1440, # 24 hours
|
||||
'sync_pkgs.time': 1440, # 24 hours
|
||||
'pkg_sources.app': None
|
||||
}
|
||||
Reference in New Issue
Block a user