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

Use constant mtime for packaged tarballs #898

Merged
merged 1 commit into from Nov 13, 2023
Merged

Use constant mtime for packaged tarballs #898

merged 1 commit into from Nov 13, 2023

Conversation

mkaput
Copy link
Member

@mkaput mkaput commented Nov 13, 2023

Although the set_metadata_in_mode call should set mtime to a deterministic value, it fails to do so due to
alexcrichton/tar-rs#341. Also, the constant value used there is funky and I do not feel convinced about its stability. Therefore, we use our own mtime value explicitly here.

fix #883

Although the `set_metadata_in_mode` call should set `mtime` to a
deterministic value, it fails to do so due to
alexcrichton/tar-rs#341. Also, the constant
value used there is funky and I do not feel convinced about its
stability. Therefore, we use our own `mtime` value explicitly here.

fix #883

Signed-off-by: Marek Kaput <marek.kaput@swmansion.com>
@mkaput mkaput requested a review from szymmis November 13, 2023 10:16
@mkaput mkaput added this pull request to the merge queue Nov 13, 2023
Merged via the queue into main with commit 4a0a6cf Nov 13, 2023
14 checks passed
@mkaput mkaput deleted the mkaput/tar-fix branch November 13, 2023 11:00
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.

Publish tests produce different checksums on windows
2 participants