Hi, On Mon, Aug 14, 2017 at 03:49:21PM +0200, gregor herrmann wrote: > Package: git-buildpackage > Version: 0.9.0~exp3 > Severity: normal > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Thanks for adding the possibility to pass options to dch! > > I tried to example from /etc/git-buildpackage/gbp.conf, i.e. I added > > > [dch] > ... > dch-opt = ['--mainttrailer', '--noconf'] > > > to my ~/.gbp.conf, but the result shows a problem: > > > % gbp dch -a --verbose > Traceback (most recent call last): > File "/usr/bin/gbp", line 151, in <module> > sys.exit(supercommand()) > File "/usr/bin/gbp", line 147, in supercommand > return module.main(args) > File "/usr/lib/python3/dist-packages/gbp/scripts/dch.py", line 426, in main > options, args, dch_options, editor_cmd = parse_args(argv) > File "/usr/lib/python3/dist-packages/gbp/scripts/dch.py", line 413, in > parse_args > dch_options = process_options(options, parser) > File "/usr/lib/python3/dist-packages/gbp/scripts/dch.py", line 282, in > process_options > return dch_options + options.dch_opts > TypeError: can only concatenate list (not "str") to list
How embarassing. I wanted to test the command line version and wanted to test the config file case but then forgot. Sorry. Cheers, -- Guido