Skip to content

Make yashrs and brush builds deterministic#49

Merged
alganet merged 1 commit intomainfrom
rust-repro
Jan 27, 2026
Merged

Make yashrs and brush builds deterministic#49
alganet merged 1 commit intomainfrom
rust-repro

Conversation

@alganet
Copy link
Owner

@alganet alganet commented Jan 27, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Rust-based shell build variants to produce more reproducible/deterministic artifacts.

Changes:

  • Normalize tar extraction metadata for brush and yashrs builds (owner/group/mode).
  • Add reproducibility-oriented env settings for Rust builds (SOURCE_DATE_EPOCH, TZ, RUSTFLAGS).
  • Post-process built binaries for reproducibility (strip, fixed timestamps, permissions).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
variants/yashrs.sh Adds deterministic extraction flags, Rust build env, and post-build normalization for the yash3 binary.
variants/brush.sh Adds deterministic extraction flags, Rust build env, and post-build normalization for the brush binary.

@alganet alganet marked this pull request as ready for review January 27, 2026 15:42
@alganet alganet merged commit cc83a76 into main Jan 27, 2026
6 checks passed
@alganet alganet deleted the rust-repro branch January 27, 2026 15:43
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.

1 participant