Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: obey SOURCE_DATE_EPOCH with manpage generation #735

Merged
merged 1 commit into from Oct 21, 2018
Merged

doc: obey SOURCE_DATE_EPOCH with manpage generation #735

merged 1 commit into from Oct 21, 2018

Commits on Aug 23, 2018

  1. doc: obey SOURCE_DATE_EPOCH with manpage generation

    Previously if a cobra user didn't specify an explicit .Date header, the
    current time would be included in all of the generated man pages each
    time they were built. This causes an issue for reproducible builds,
    since each re-build of a package that includes the man pages will have
    different times listed in the man pages.
    
    To fix this, add support for SOURCE_DATE_EPOCH (which is a standardised
    packaging environment variable, designed to be used specifically for
    this purpose[1]).
    
    [1]: https://reproducible-builds.org/specs/source-date-epoch/
    
    Signed-off-by: Aleksa Sarai <asarai@suse.de>
    cyphar committed Aug 23, 2018
    Copy the full SHA
    29e3a09 View commit details
    Browse the repository at this point in the history