diff options
author | Devan Franchini <twitch153@gentoo.org> | 2014-05-23 17:25:08 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2014-06-12 17:11:49 -0400 |
commit | 0764934ac9670197a051af437f586d5594235c80 (patch) | |
tree | 3f0150d4af229a15557047470f48f3a3f071b06d /layman/config.py | |
parent | {argsparser, cli}.py: adds --readd cli option (diff) | |
download | layman-0764934ac9670197a051af437f586d5594235c80.tar.gz layman-0764934ac9670197a051af437f586d5594235c80.tar.bz2 layman-0764934ac9670197a051af437f586d5594235c80.zip |
overlay.py: adds update() function
To update local database and overlay source urls, this function
has been created to allow the overlay.type functions to update
their source urls in their own methods.
source.py: Adds a stub update() function for overlay types
that don't have their own update() function.
config.py: Adds a list of supported overlay types that have their
own update() methods.
Diffstat (limited to 'layman/config.py')
-rw-r--r-- | layman/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layman/config.py b/layman/config.py index c8fdf4f..40ee90a 100644 --- a/layman/config.py +++ b/layman/config.py @@ -165,6 +165,7 @@ class BareConfig(object): 'g-sorcery_postsync' : '', 'git_user': 'layman', 'git_email': 'layman@localhost', + 'support_url_updates': ['Bzr', 'cvs', 'Git', 'Mercurial', 'Subversion'], } self._options = { 'config': config if config else self._defaults['config'], |