aboutsummaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-07-04 12:14:33 +0200
committerGuido Günther <agx@sigxcpu.org>2016-07-04 14:17:13 +0200
commit893e127aa9acd302bb2d9be0a00cce1c57e46e75 (patch)
treea8c2223a6c5779099bd7c393bbe65f0982369a40 /gbp/config.py
parentc31ef7d5fb7a95ed50e3b22b9841fa6b3a45f646 (diff)
Allow to configure additional components via gbp.confHEADmaster
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 52bf03e..4b5fb25 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -170,6 +170,7 @@ class GbpOptionParser(OptionParser):
'commit': 'False',
'upstream-vcs-tag': '',
'rollback': 'True',
+ 'component': [],
}
help = {
'debian-branch':
@@ -330,6 +331,8 @@ class GbpOptionParser(OptionParser):
"commit changes after export, Default is '%(commit)s'",
'rollback':
"Rollback repository changes when encountering an error",
+ 'component':
+ 'component name for additional tarballs',
}
def_config_files = {'/etc/git-buildpackage/gbp.conf': 'system',
@@ -338,7 +341,7 @@ class GbpOptionParser(OptionParser):
'%(top_dir)s/debian/gbp.conf': 'debian',
'%(git_dir)s/gbp.conf': None}
- list_opts = ['filter']
+ list_opts = ['filter', 'component']
@classmethod
def get_config_files(klass, no_local=False):