Package: git-buildpackage
Version: 0.9.8
Severity: normal

Hi Guido,

I was using the --git-pbuilder-options option to gbp-buildpackage today,
and was surprised that multiple options do not stack. Instead, each
--git-pbuilder-options passed overrides the previous one, so only the
last one is effective.

When passing multiple options on the commandline, this is (for me)
unexpected but easily fixed by passing all needed options into a single
--git-pbuilder-options, but when a gbp.conf file also uses
"pbuilder-options", these are also overriden by the commandline, which
is harder to fix (which needs copying the options from the config file
to the commandline).

I'm not sure if this is really a bug, or more a feature request (since
it probably works as intended, except that that isn't quite ideal).

Ideally, multiple --git-pbuilder-options options would just be appended,
though I'm not sure if anyone would rely on the old behaviour. A
possible fix would be to add a --git-append-pbuilder-option flag, which
adds it argument to the value of --git-pbuilder-options.

Gr.

Matthijs

Reply via email to