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

Allow to override build date with SOURCE_DATE_EPOCH #7250

Merged
merged 1 commit into from Nov 18, 2021

Conversation

bmwiedemann
Copy link
Contributor

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.

This date call works with various date command implementations.
Also consistently use ISO 8601 date format to be understood everywhere and to be independent of locales.
Also use UTC to be independent of timezone.

@shefty
Copy link
Member

shefty commented Nov 15, 2021

Please add a signed-off-by line to the commit message.

@j-xiong
Copy link
Contributor

j-xiong commented Nov 15, 2021

Since this is a psm3 specific change, please add "prov/psm3: " to the commit message title.

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.

This date call works with various date command implementations.
Also consistently use ISO 8601 date format to be understood everywhere.
Also use UTC to be independent of timezone.

Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
@bmwiedemann
Copy link
Contributor Author

both done.

@shefty shefty merged commit 23b1e6f into ofiwg:main Nov 18, 2021
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants