From aafb5ccbd0285f0786db7cf0d9b1d8610b65232c Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Thu, 9 Jul 2015 10:45:18 -0400 Subject: layman.cfg, config.py: Adds db_type option to configuration --- etc/layman.cfg | 10 +++++++++- layman/config.py | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/layman.cfg b/etc/layman.cfg index f289aa7..76f5f46 100644 --- a/etc/layman.cfg +++ b/etc/layman.cfg @@ -27,7 +27,7 @@ check_official : Yes # or edit the value above to the current name of your # installed overlay(s) file. -##### NEW ##### Repo Config Options ##### +##### Repo Config Options ##### #----------------------------------------------------------- # Defines whether or not a repos.conf or make.conf file is # required for the repository control group. Set to No for @@ -65,6 +65,14 @@ conf_type : repos.conf #----------------------------------------------------------- +#### Database Config Options #### #### COMING SOON #### +#----------------------------------------------------------- +# Database types used by layman +# For now, only xml. +#db_type : xml + +#----------------------------------------------------------- + #----------------------------------------------------------- # Protocols used by layman when adding overlays or updating # their URLs. diff --git a/layman/config.py b/layman/config.py index c045320..853e22f 100644 --- a/layman/config.py +++ b/layman/config.py @@ -100,6 +100,7 @@ class BareConfig(object): 'auto_sync': 'No', 'check_official': 'Yes', 'conf_type': 'repos.conf', + 'db_type': 'xml', 'require_repoconfig': 'Yes', 'clean_archive': 'yes', 'make_conf' : '%(storage)s/make.conf', -- cgit v1.2.3-65-gdbad