public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/layman:master commit in: etc/, layman/
@ 2015-07-09 16:18 Devan Franchini
  0 siblings, 0 replies; only message in thread
From: Devan Franchini @ 2015-07-09 16:18 UTC (permalink / raw
  To: gentoo-commits

commit:     aafb5ccbd0285f0786db7cf0d9b1d8610b65232c
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  9 14:45:18 2015 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Thu Jul  9 14:48:46 2015 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=aafb5ccb

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',


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-09 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 16:18 [gentoo-commits] proj/layman:master commit in: etc/, layman/ Devan Franchini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox