Daniel Hofstetter
4ee588e55e
Merge pull request #9416 from uutils/renovate/actions-checkout-6.x
...
chore(deps): update actions/checkout action to v6
2025-11-21 07:23:25 +01:00
Sylvestre Ledru
bbec8fea08
Merge pull request #9344 from RenjiSann/cksum-fix-base64-untagged
...
cksum: Fix GNU test cksum-base64-untagged
2025-11-21 06:43:42 +01:00
Sylvestre Ledru
7c1a25a8f6
Merge pull request #9429 from naoNao89/fix/stdbuf-remove-unwrap
...
Remove unsafe unwrap() calls in stdbuf error handling
2025-11-21 06:13:46 +01:00
naoNao89
e0c7ef7b10
fix(stdbuf): remove unsafe unwrap() calls for proper error handling
...
- Replace get_many().unwrap() with ok_or_else() to handle missing command
- Replace next().unwrap() with pattern matching for safety
- Replace tempdir().unwrap() with map_err() to handle temp dir failures
All stdbuf internal errors now properly exit with code 125 per GNU specification:
https://www.gnu.org/s/coreutils/manual/html_node/stdbuf-invocation.html
2025-11-21 08:04:56 +07:00
Dorian Péron
b8cef3c2db
test(cksum): Implement the GNU cksum-base64-untagged.sh test
2025-11-21 00:24:29 +01:00
Dorian Péron
7b47d581d5
checksum: fix GNU test cksum-base64-untagged.sh
2025-11-21 00:24:29 +01:00
renovate[bot]
44c1eeb68b
chore(deps): update actions/checkout action to v6
2025-11-20 18:29:54 +00:00
Chris Dryden
2a314c7ff3
fold: Adding combining character support ( #9328 )
...
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
* Adding combining character support for fold
* add fullwidth to the spell ignore list
* addressing comments and cargo fmt fixes
* clippy fixes for test files
---------
Co-authored-by: Christopher Illarionova <drydench@amazon.com>
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2025-11-20 09:36:56 +01:00
Sylvestre Ledru
6c44000d08
Merge pull request #9345 from oech3/lib-match-pattern
...
GNUmakefile: Use libstdbuf.* instead of libstdbuf*
2025-11-20 07:27:26 +01:00
oech3
43afd5cdaf
GNUmakefile: Use .* for libstdbuf* matching
2025-11-20 15:00:42 +09:00
Sylvestre Ledru
7f9cbf61a3
Merge pull request #9340 from uutils/renovate/clap-4.x-lockfile
...
chore(deps): update rust crate clap to v4.5.53
2025-11-20 06:22:03 +01:00
Sylvestre Ledru
e71e4f6acf
Merge pull request #9343 from uutils/renovate/clap_complete-4.x-lockfile
...
chore(deps): update rust crate clap_complete to v4.5.61
2025-11-20 06:19:42 +01:00
Sylvestre Ledru
643a72c75d
Merge pull request #9135 from RenjiSann/cksum-reworks
...
cksum/hashsum: merge digest computation & various improvements
2025-11-20 06:18:56 +01:00
renovate[bot]
366d5a3a20
chore(deps): update rust crate clap_complete to v4.5.61
2025-11-20 00:47:52 +00:00
renovate[bot]
120d053cb1
chore(deps): update rust crate clap to v4.5.53
2025-11-19 21:01:11 +00:00
Vikram Kangotra
15d22c285e
cp: allow directory merging when destination was just created ( #9325 )
...
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
CheckScripts / ShellScript/Check (push) Has been cancelled
CheckScripts / ShellScript/Format (push) Has been cancelled
* cp: allow directory merging when destination was just created
Previously, when copying to a destination that was created in the same
cp call, the operation would fail with "will not overwrite just-created"
for both files and directories. This change allows directories to be
merged (matching GNU cp behavior) while still preventing file
overwrites.
The fix checks if both the source and destination are directories
before allowing the merge. If either is a file, the original error
behavior is preserved to prevent accidental file overwrites.
Fixes the case where copying multiple directories to the same
destination path would incorrectly error instead of merging their
contents.
fixes : #9318
* test_cp: Update with the suggestion
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-11-19 16:53:23 +01:00
oech3
376fa6408b
GnuTests.yml: Check that build-gnu.sh works without libselinux ( #9299 )
2025-11-19 16:39:51 +01:00
Daniel Hofstetter
d5d7eaaf1f
Merge pull request #9321 from oech3/gtest-simple-profile
...
build-gnu.sh: Use any profile & cleanup vars
2025-11-19 16:25:22 +01:00
Dorian Peron
6d6a9917ad
checksum: fix binary flag on windows, ignore test
2025-11-19 14:13:36 +01:00
Dorian Peron
c97ce1bb8e
checksum: Adapt checksum computation to hashsum
2025-11-19 13:37:14 +01:00
Dorian Peron
3849d91d69
checksum: Move cksum computation to uucore::checksum
2025-11-19 13:37:14 +01:00
Dorian Peron
0b7289310d
checksum: Create a sub-module for checksum validation
2025-11-18 18:19:22 +01:00
Dorian Peron
68dc6fd147
checksum: Get rid of detect_algo and child functions
2025-11-18 11:30:14 +01:00
Dorian Peron
923baae853
checksum: Always get bit length from the SizedAlgoKind
2025-11-18 11:30:14 +01:00
Dorian Peron
413e71de0e
checksum: Introduce SizedAlgoKind to improve representation and cleanup
2025-11-18 11:30:14 +01:00
Dorian Peron
9b6dc9675c
checksum: Introduce AlgoKind enum to rely less on string comparison
2025-11-18 11:30:14 +01:00
Dorian Peron
885082ce14
util(cksum): Fix BLAKE2b --length sanitization
2025-11-18 11:30:14 +01:00
Dorian Peron
8c9bb16857
test(cksum): Add tests for BLAKE2b --length sanitization
2025-11-18 11:30:14 +01:00
Daniel Hofstetter
b0f41e707c
Merge pull request #9319 from sylvestre/run-gnu-2
...
FreeBSD / Tests (push) Has been cancelled
Devcontainer / Verify devcontainer (push) Has been cancelled
CheckScripts / ShellScript/Check (push) Has been cancelled
CheckScripts / ShellScript/Format (push) Has been cancelled
GnuTests / Run GNU tests (native) (push) Has been cancelled
GnuTests / Run GNU tests (SELinux) (push) Has been cancelled
Android / Test builds (push) Has been cancelled
Benchmarks / Run benchmarks (CodSpeed) (push) Has been cancelled
Code Quality / Style/format (push) Has been cancelled
Code Quality / Style/lint (push) Has been cancelled
Code Quality / Style/spelling (push) Has been cancelled
Code Quality / Style/toml (push) Has been cancelled
Code Quality / Pre-commit hooks (push) Has been cancelled
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
FreeBSD / Style and Lint (push) Has been cancelled
OpenBSD / Style and Lint (push) Has been cancelled
OpenBSD / Tests (push) Has been cancelled
WSL2 / Test (push) Has been cancelled
CICD / Build/stable (push) Has been cancelled
CICD / Build/Makefile (push) Has been cancelled
CICD / Build/nightly (push) Has been cancelled
CICD / Binary sizes (push) Has been cancelled
CICD / Build (push) Has been cancelled
CICD / Tests/BusyBox test suite (push) Has been cancelled
CICD / Tests/Toybox test suite (push) Has been cancelled
CICD / Test all features separately (push) Has been cancelled
CICD / Build/SELinux (push) Has been cancelled
CICD / Build/SELinux-Stubs (Non-Linux) (push) Has been cancelled
CICD / Safe Traversal Security Check (push) Has been cancelled
GnuTests / Aggregate GNU test results (push) Has been cancelled
build-gnu.sh: adjust the PATH for each run
2025-11-18 11:28:36 +01:00
Daniel Hofstetter
9f28bf0a3f
Merge pull request #9322 from sylvestre/RUSTSEC-2025-0119
...
replace number_prefix by unit-prefix
2025-11-18 10:35:38 +01:00
Sylvestre Ledru
0709890328
replace number_prefix by unit-prefix
...
See https://rustsec.org/advisories/RUSTSEC-2025-0119
2025-11-18 09:59:46 +01:00
Daniel Hofstetter
67c761242b
Merge pull request #9320 from sylvestre/shuf-bench
...
shuf: add benchmarks
2025-11-18 09:15:18 +01:00
oech3
ea9feef0f1
build-gnu.sh: Use any profile & cleanup arg
2025-11-18 16:49:41 +09:00
Sylvestre Ledru
055b1e2e76
shuf: add benchmarks
...
To test: https://github.com/uutils/coreutils/pull/7585
2025-11-18 08:42:06 +01:00
Sylvestre Ledru
72c8328034
build-gnu.sh: adjust the PATH for each run
...
Interesting with several uutils/coreutils clones
2025-11-18 07:38:17 +01:00
Daniel Hofstetter
35f7db96ca
Merge pull request #9316 from uutils/renovate/clap-4.x-lockfile
...
chore(deps): update rust crate clap to v4.5.52
2025-11-18 07:09:08 +01:00
renovate[bot]
28abc77aa6
chore(deps): update rust crate clap to v4.5.52
2025-11-17 18:42:47 +00:00
Sylvestre Ledru
267abb26f7
Merge pull request #9309 from cakebaker/bump_markdownlint_cli2_action
...
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Bump `markdownlint_cli2_action` & fix warnings
2025-11-17 16:12:05 +01:00
Daniel Hofstetter
29ec8f3998
Merge pull request #9311 from uutils/sylvestre-patch-2
...
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Remove high variance benchmark functions
2025-11-17 11:02:06 +01:00
Vesal Joolanejad
747874911a
Enhance mode parsing to support comma-separated mode strings in install command ( #9298 )
...
* Enhance mode parsing to support comma-separated mode strings in `parse` function. Add tests for comma-separated mode handling in file and directory creation.
* Add comprehensive tests for mode parsing in `parse` function, covering numeric, symbolic, and mixed modes, as well as handling of invalid inputs and umask considerations.
---------
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2025-11-17 10:14:22 +01:00
Sylvestre Ledru
c17598370c
Remove high variance benchmark functions
2025-11-17 10:11:40 +01:00
Daniel Hofstetter
e82cc75433
docs: fix warnings from markdownlint
2025-11-17 09:28:16 +01:00
Daniel Hofstetter
1c8bcab5d5
Bump markdownlint_cli2_action from v20 to v21
2025-11-17 08:22:20 +01:00
Daniel Hofstetter
58ebeaf006
Merge pull request #9280 from naoNao89/fix-numfmt-test-failures
...
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
CheckScripts / ShellScript/Check (push) Has been cancelled
CheckScripts / ShellScript/Format (push) Has been cancelled
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
numfmt: support quetta/ronna suffixes and fix error messages
2025-11-16 17:13:48 +01:00
Daniel Hofstetter
a15ee0927b
Merge pull request #9266 from sylvestre/sort-compress
...
sort: make compression program failures non-fatal, warn and fallback to plain files
2025-11-16 15:11:47 +01:00
Daniel Hofstetter
1c5030609a
Merge pull request #9297 from sylvestre/gnu-error
...
build-gnu.sh: fix the error on line 110
2025-11-16 14:47:20 +01:00
Daniel Hofstetter
7ff8647bc7
Merge pull request #9304 from uutils/renovate/vmactions-freebsd-vm-1.x
...
Update vmactions/freebsd-vm action to v1.2.7
2025-11-16 14:39:25 +01:00
oech3
6e99389d0f
Revert "ci: Mark runcon-no-reorder as SELinux required" ( #9291 )
2025-11-16 14:35:05 +01:00
renovate[bot]
2ab03d9735
Update vmactions/freebsd-vm action to v1.2.7
2025-11-16 13:05:58 +00:00
Daniel Hofstetter
63ee6486d0
Merge pull request #9296 from sylvestre/divan
...
move the factor divan bench into the actual directory
2025-11-16 14:05:00 +01:00