aboutsummaryrefslogtreecommitdiff
blob: f8f69bc92e03ee4928e655106aeca57a26844c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

'''
Reposconf plug-in module for layman.
'''

module_spec = {
    'name': 'reposconf',
    'description': __doc__,
    'provides':{
        'reposconf-module': {
            'name': 'reposconf',
            'class': 'ConfigHandler',
            'description': __doc__,
            'functions': ['add', 'delete', 'disable', 'enable', 'read',
                          'update', 'write'],
            'func_desc': {
                'add': 'Adds overlay information to config',
                'delete': 'Removes overlay information from config',
                'disable': 'Comments out specific overlay config entry',
                'enable': 'Uncomments specific overlay config entry',
                'read': 'Reads the config file',
                'update': 'Updates the source URL for the specified overlay',
                'write': 'Writes the overlay information to the config',
            },
        }
    }
}