aboutsummaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
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):