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

Sort input file list #202

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Sort input file list #202

merged 1 commit into from
Feb 14, 2024

Conversation

bmwiedemann
Copy link
Contributor

Sort input file list
so that themes.rs builds in a reproducible way
in spite of non-deterministic filesystem readdir order.

See https://reproducible-builds.org/ for why this is good.

Without this patch, themes.rs and the resulting presenterm binary would differ thusly:

-  theme_name: base16-eighties.dark
+  theme_name: GitHub

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

so that themes.rs builds in a reproducible way
in spite of non-deterministic filesystem readdir order.

See https://reproducible-builds.org/ for why this is good.

Without this patch, themes.rs and the resulting binary would differ thusly:
-  theme_name: base16-eighties.dark
+  theme_name: GitHub

This patch was done while working on reproducible builds for openSUSE.
@mfontanini mfontanini merged commit 8d2159f into mfontanini:master Feb 14, 2024
5 checks passed
@mfontanini
Copy link
Owner

Sweet, thanks!

@bmwiedemann bmwiedemann deleted the sort branch April 16, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants