Make the build reproducible
authorChris Lamb <lamby@debian.org>
Thu, 9 Jul 2020 14:22:07 +0000 (15:22 +0100)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 25 Jul 2020 15:23:20 +0000 (15:23 +0000)
commit8ad1f3f02c90003035fd6dbeb558752a1bb9cb0b
tree36af254ec14fb91da5a09fda1c4dcdb37e154540
parent9e7002438be93025dc2923a9000e271d827011bc
Make the build reproducible

While auditing Debian's packages, Chris Lamb reported[*] that
weather-util's correlation set generation is not reproducible
because it embeds timestamps without a means to override them and
also varies by system timezone. Allow SOURCE_DATE_EPOCH from the
calling environment and assume UTC rather than relying on locale
settings when no timezones are specified.

[*] https://bugs.debian.org/964721
weather.py