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_id with SOURCE_DATE_EPOCH #995

Merged
merged 1 commit into from May 20, 2022

Conversation

bmwiedemann
Copy link
Contributor

Allow to override LIBRESPOT_BUILD_ID 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.

I had an earlier version that used StdRng::seed_from_u64(val.parse().unwrap()) but thought that the extra complexity would be disadvantageous.

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

@roderickvd
Copy link
Member

Sorry for taking so long. Could you please run cargo fmt to ensure proper code formatting, and let the CI run?

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 PR was done while working on reproducible builds for openSUSE.
@roderickvd roderickvd merged commit 1efda79 into librespot-org:dev May 20, 2022
6 of 7 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

2 participants