Hi Vagrant!

Vagrant Cascadian <vagr...@reproducible-builds.org> writes:

> Source: btrfsmaintenance
> Severity: normal
> Tags: patch
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: timestamps locale
> X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
>
> The build timestamp is embedded in
> /usr/share/man/man8/btrfsmaintenance.8.gz:
>
>   
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/diffoscope-results/btrfsmaintenance.html
>
>   .TH·BTRFSMAINTENANCE·8·"12·March,·2022"·v0.5
>   vs.
>   .TH·BTRFSMAINTENANCE·8·"13·March,·2022"·v0.5
>
> The attached patch fixes this by passing the --utc argument to date in
> debian/create-man-page.sh and by using a locale-independent date format.
>
>
> With this patch applied, btrfsmaintenance should build reproducibly on
> tests.reproducible-builds.org!
>

Wow!  Thank you for catching this so quickly, and for submitting a
patch, and sorry I missed this.  By the way, are ISO 8601 dates in man
pages a goal in Debian?  I noted GNU man pages use "%B %d, %Y", and
chose the more international little endian long-form.  There's no
problem changing to ISO 8601 as you suggest, I'm just curious.

>
> Thanks for maintaining btrfsmaintenance!

You're welcome :-)

On a tangential topic, what would you recommend for making shell scripts
such as btrfsmaintenance aware of plug/unplug (alternatively off battery
vs on battery) state, to suspend and resume CPU and IO intensive
operations, and without falling back to polling?  UPower, to cover both
laptops and servers that have a UPS?

Cheers,
Nicholas

Attachment: signature.asc
Description: PGP signature

Reply via email to