Skip to content

fix: preserve latest binary executable mode - #434

Merged
sylvestre merged 1 commit into
uutils:mainfrom
MukundaKatta:codex/preserve-latest-binary-mode
May 24, 2026
Merged

fix: preserve latest binary executable mode#434
sylvestre merged 1 commit into
uutils:mainfrom
MukundaKatta:codex/preserve-latest-binary-mode

Conversation

@MukundaKatta

Copy link
Copy Markdown
Contributor

Summary

  • package the latest-commit Linux binary as a tar.zst archive instead of a raw zstd-compressed file
  • preserve the executable permission bit when users extract the archive
  • update the README wording to describe the latest-commit download as an archive

Fixes #277.

Tests

  • local archive check: tar -C <dir> -cf - sed | zstd -19 -o sed-x86_64-unknown-linux-gnu.tar.zst, then zstd -dc ... | tar -xf - and test -x sed
  • git diff --check
  • cargo test test_version
  • cargo test

@codecov

codecov Bot commented May 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.20%. Comparing base (f083fa0) to head (a7c98bd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #434   +/-   ##
=======================================
  Coverage   82.20%   82.20%           
=======================================
  Files          13       13           
  Lines        5542     5542           
  Branches      310      310           
=======================================
  Hits         4556     4556           
  Misses        983      983           
  Partials        3        3           
Flag Coverage Δ
macos_latest 82.89% <ø> (ø)
ubuntu_latest 82.99% <ø> (ø)
windows_latest 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sylvestre
sylvestre merged commit f6e69e7 into uutils:main May 24, 2026
31 checks passed
@oech3

oech3 commented May 24, 2026

Copy link
Copy Markdown
Contributor

There are 2 archives now. Needed to manually remove old one.

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.

tag/latest-commit is missing executable permission

3 participants