click-contrib / click-man

Automate generation of man pages for python click applications :star:
MIT License
163 stars 35 forks source link

Allow to override build date with SOURCE_DATE_EPOCH #37

Closed bmwiedemann closed 4 years ago

bmwiedemann commented 4 years ago

Allow to override build date with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.

Also use ISO 8601 date format to be understood everywhere. Also use gmtime to be independent of timezone.

This PR was done while working on reproducible builds for openSUSE.