373 Commits

Author SHA1 Message Date
renovate[bot] 3ea2f51c91 chore(deps): update rust crate rand to v0.10.1 2026-04-11 15:22:30 +02:00
renovate[bot] 0778f2c62b chore(deps): update rust crate clap_complete to v4.6.1 (#253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-10 23:21:49 +01:00
Jeff Bailey 78c666ac7d tar: fix CI coverage for spawned tar tests (#164)
Make the coverage job include the full workspace and collect
coverage from spawned CLI test runs. This prevents exercised
tar paths from showing up as uncovered.
2026-04-10 06:49:55 +01:00
renovate[bot] 819b471288 chore(deps): update actions/github-script action to v9 2026-04-10 07:03:23 +02:00
renovate[bot] fbdef22a7e chore(deps): update rust crate ctor to v0.9.1 (#166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-09 23:37:45 +01:00
renovate[bot] 4eb3c53302 chore(deps): update rust crate ctor to 0.9.0 (#165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-09 19:05:22 +01:00
Jeff Bailey b469a73940 perf: use BufWriter<StdoutLock> for all verbose/listing output
Replace println! in list, create, and extract operations with
writeln! on a BufWriter<StdoutLock>. This acquires stdout's mutex
once per operation instead of once per write call, and batches
writes to reduce write(2) syscalls.

Also propagates write errors (e.g. broken pipe) gracefully instead
of panicking.
2026-04-08 20:15:33 +00:00
renovate[bot] 30537acf7d chore(deps): update rust crate zip to v8.5.1 2026-04-07 11:56:50 +02:00
renovate[bot] c54ceb6752 fix(deps): update rust crate uufuzz to 0.8.0 (#161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-06 23:56:09 +01:00
renovate[bot] 4ad5dd1a80 fix(deps): update rust crate uucore to 0.8.0 (#160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-06 23:53:42 +01:00
Jeff Bailey b760338e9d ci: run coverage tests for full workspace 2026-04-05 16:03:35 +02:00
renovate[bot] 7c00028cfb chore(deps): update rust crate thiserror to v2.0.18 (#155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-04 23:53:36 +01:00
Jeff Bailey f541b90a9c tar: replace all string-based error variants with structured types (#149)
* tar: replace all string-based error variants with structured types

Every TarError variant now carries PathBuf and/or io::Error data
instead of a pre-formatted String. Add thiserror derive macros so
Display implementations are generated from #[error(...)] attributes
in one central place. Eliminates the last generic TarOperation and
InvalidArchive string variants.

Add tar prefixes, update tests to match.
2026-04-04 23:47:25 +01:00
Jeff Bailey b7c0578352 Merge pull request #153 from cakebaker/ci_rename_profile_file
ci: rename LLVM profile file
2026-04-04 13:35:57 +01:00
Daniel Hofstetter 2c7a5e62e2 ci: rename LLVM profile file 2026-04-04 13:57:05 +02:00
Jeff Bailey a9e1228b5e tar: install llvm-tools before running grcov
Add a CI step to run `rustup component add llvm-tools` before
generating coverage data. grcov requires llvm-profdata (part of
llvm-tools) to process .profraw files; without it the coverage
job fails with "couldn't find llvm-profdata".
2026-04-04 13:48:36 +02:00
Jeff Bailey fd44e1ef17 tar: use "tar (uutils)" as the display name in clap
Replace `uucore::util_name()` (argv[0]) with the literal string
"tar (uutils)" as the clap Command name.  This gives a consistent,
recognisable program name in --help output regardless of what the binary was invoked as.

Closes #150
2026-04-04 13:48:36 +02:00
Jeff Bailey 65cd987c74 Merge pull request #137 from kevinburkesegment/fix-gnu-test-badversion
Fix GNU test suite reporting real pass/fail results
2026-04-03 20:29:54 +01:00
Jeff Bailey 8da3aeecc9 Merge pull request #147 from oech3/patch-1
Override latest-commit's body with corresponding commit
2026-04-03 20:27:48 +01:00
Jeff Bailey 29712f49cf Merge pull request #146 from cakebaker/ci_fix_coverage
ci: fix coverage
2026-04-03 20:15:48 +01:00
oech3 1fe8bc1d5a Override latest-commit's body with corresponding commit 2026-04-03 17:41:38 +09:00
oech3 8d1d0f56b7 README.md: update Installation section (#145)
* README.md: update Installation section

* README.md: fix description

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2026-04-03 10:39:29 +02:00
Daniel Hofstetter 18fa3ee18e ci: fix coverage 2026-04-03 10:36:55 +02:00
Jeff Bailey 06042058f9 tar: add -t/--list operation
Implement the list operation. Non-verbose (-t) prints one entry path
per line. Verbose (-tv) prints permissions, owner/group, size,
modification time, and path — matching GNU tar's ls-l style output.

Adds conflict group so -c, -x, and -t are mutually exclusive.

Pulls in chrono for timestamp formatting in verbose output. chrono is
already in the workspace dependency set and will also be needed for
date parsing when --newer=DATE is implemented.

Point uucore/uutests at the coreutils git repo while we're iterating
quickly on basic functionality.
2026-04-03 10:13:30 +02:00
Sylvestre Ledru f85dddd20e Merge pull request #142 from cakebaker/bump_rust_version
Bump Rust version to `1.94.0`
latest-commit
2026-04-03 09:39:19 +02:00