On Mon, Sep 20, 2021 at 11:14:44AM -0400, Sandro Tosi wrote: > > That's because gbp does not use pristine-tar by default, and > > debian/gbp.conf was missing `pristine-tar=True`. Just pushed a commit to > > fix that. > > I dont think this is the right approach: the default options to work > on DPT packages should be in gbp default config file (or in another, > global, config file), and not live in each and every package > debian/gbp.conf file; it is already inconsistently maintained with > several packages having uncommon settings that will take precedence > over the default ones.
I agree with you in theory; my global gbp.cons enables pristine-tar. However, having it duplicated in every package means we as a team work consistently regardless of people's global configuration, and that's one less detail people need to get just right to be able to contribute effectively. Also, one's global configuration might not apply to all the packages they contribute to; it's easier for everyone if gbp just does the right thing based on per-package configuration than expecting people to remember to switch their defaults, or to pass options explicitly.
signature.asc
Description: PGP signature