diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-07-04 12:14:33 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-07-04 17:23:02 +0200 |
commit | b540c982b5c7b0aca4cca8cc9315d36c21b373e8 (patch) | |
tree | c2864a1e7bc7903d39920adf6e07264912a27320 /gbp/config.py | |
parent | bcb24a70bf28aa5b59be95e586a6bd391af68c0d (diff) |
additional tarballs: allow to configure components via gbp.conf
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py index 5afe3d9f..2b6dab34 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): |