Bug#777239: strip-nondeterminism: print log entry when fixing a file
Andrew Ayer
agwa at andrewayer.name
Thu Feb 9 03:41:38 UTC 2017
On Thu, 9 Feb 2017 03:18:11 +0000
Daniel Shahaf <danielsh at apache.org> wrote:
> Chris Lamb wrote on Wed, Feb 08, 2017 at 22:12:35 +1300:
> > Andrew Ayer wrote:
> >
> > > print log entry when fixing a file
> >
> > This should probably be enabled when DH_VERBOSE=1.
> >
> > Not sure the cleanest way of "poking this through" given we want
> > strip-nondeterminism to be distribution agnostic, etc. Any ideas?
>
> For starters, we could add a -v/--verbose flag to the
> distribution-agnostic code. Then we could look into making
> DH_VERBOSE imply that flag in the Debian-specific code.
>
> I assume it'd be along the lines of: 1) Add a 'verbose' knob to the
> library, 2) Have strip-nondeterminism set that flag when -v, 3) Have
> dh_strip_nondeterminism set that flag when DH_VERBOSE. (But I'm not
> familiar with how dh invokes strip-nondeterminism.)
+1. The code was structured to work this way. Specifically,
dh_strip_nondeterminism should check if $dh{VERBOSE} is set; the
debhelper perl library sets this if verbosity is enabled in debhelper.
Cheers,
Andrew
More information about the Reproducible-builds
mailing list