Daniel Hofstetter
a3a34bbba3
Merge pull request #9181 from sylvestre/src-date
...
date: add --uct alias and allow multiple option aliases together
2025-11-08 14:17:10 +01:00
Laurent Cheylus
3347de434a
stdbuf: add support for OpenBSD
...
- src/uu/stdbuf/build.rs: add OS "openbsd" to define const DYLIB_EXT = .so
- src/uu/stdbuf/src/stdbuf.rs: add OS "openbsd" in cfg conditional checks
- src/uu/stdbuf/src/libstdbuf/src/libstdbuf.rs: define stdin, stdout, stderr on OpenBSD using
__stdin, __stdout and __stderr
2025-11-08 09:28:32 +01:00
Daniel Hofstetter
3eda1022fd
Merge pull request #9167 from sylvestre/du-var
...
CICD / MinRustV (push) Waiting to run
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 / 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/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (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
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
du: disable some benchmarks
2025-11-08 07:33:53 +01:00
Cả thế giới là Rust
adcfcfaf68
fix(tsort): correct minimal cycle reporting and precise back-edge removal with iterative DFS ( #8786 )
...
CICD / Separate Builds (push) Waiting to run
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
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
- Implement iterative DFS to prevent stack overflows (from PR #8737 )
- Fix minimal cycle reporting to show only actual cycle nodes
- Remove redundant back-edge from last cycle node to first
- Update test expectations for corrected cycle handling
2025-11-07 23:48:11 +01:00
n4n5
477b37ad06
Add example to manpage ( #7841 )
2025-11-07 23:47:32 +01:00
Sylvestre Ledru
a8e40acdc4
du: disable some benchmarks
2025-11-07 23:31:06 +01:00
Sylvestre Ledru
63c936af2a
date: add --uct alias and allow multiple option aliases together
...
fix tests/misc/option-aliases.sh
2025-11-07 23:27:55 +01:00
Laurent Cheylus
ad1bac4c92
Fix build and tests for uptime on OpenBSD ( #9158 )
...
* uptime: fix build errors on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
* tests: fix error for uptime on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
---------
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2025-11-07 19:07:15 +01:00
Matthieu Baerts (NGI0)
8040e544f3
timeout: add missing extra help
...
Compared to the GNU Coreutils timeout usage menu and man page, some
parts were missing here:
- What the <duration> and <command> arguments stand for.
- Which signal is being sent by default.
- What the different exit status are.
All the new descriptions are coming from the GNU Coreutils project,
except the one for <command> which is a new one.
French translations are also provided. (I am a French native speaker.)
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
2025-11-06 12:49:35 +01:00
Daniel Hofstetter
c5554ab9cb
clippy: re-enable unnecessary_semicolon lint
CICD / Dependencies (push) Has been cancelled
CICD / Code Coverage (push) Has been cancelled
CICD / Separate Builds (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 / Style/Python (push) Has been cancelled
Code Quality / Pre-commit hooks (push) Has been cancelled
Devcontainer / Verify devcontainer (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
FreeBSD / Tests (push) Has been cancelled
WSL2 / Test (push) Has been cancelled
CICD / Build/Makefile (push) Has been cancelled
CICD / Build/stable (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
2025-11-04 23:47:45 +01:00
Daniel Hofstetter
e84b261ff1
Merge pull request #9133 from sylvestre/printf-surprise
...
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 / 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
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
printf: handle extremely large format widths gracefully to fix GNU test panic
2025-11-04 09:35:58 +01:00
Sylvestre Ledru
d403ba06ff
Revert "Fix base64 benchmarks ( #9082 )"
...
This reverts commit 975e18c032 .
2025-11-04 07:35:30 +01:00
Sylvestre Ledru
c8663b9112
printf: handle extremely large format widths gracefully to fix GNU test panic
2025-11-03 23:32:37 +01:00
Adrian Kretz
975e18c032
Fix base64 benchmarks ( #9082 )
...
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 / 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
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
* base64: fix tempdir getting removed
* base_common: add -o option to output to file
* base64: fix benchmark input files
Also pipe benchmark output to /dev/null in order to not spam stdout.
* base64: benchmark 50MB files instead of 5GB
2025-11-03 22:01:16 +01:00
mattsu
e766645b9c
fix(cat): refine unsafe overwrite detection for appending files
...
Refactor the `is_unsafe_overwrite` function to improve logic when appending to files. Previously, the check for zero-sized files was combined with input/output equality, leading to potential false negatives. Now, separate the checks: return false if inputs differ, or if output file is empty. For appending mode, allow safe overwrites if input position is at or beyond file size. This prevents data loss while permitting valid append operations.
2025-11-03 21:45:15 +01:00
Daniel Hofstetter
8c0c8a1b1e
mkdir: remove #[allow(unused_variables)]
2025-11-03 21:40:33 +01:00
mattsu
7ca5f66fa1
feat(truncate): allow negative size values for truncation
...
- Enable hyphen values in size argument to support negative sizes (e.g., "-1")
- Add test case verifying truncation to empty file with negative size "-1"
2025-11-03 21:20:42 +09:00
naoNao89
8f623574a4
fix(cksum): correct CRC32B implementation to match GNU cksum
...
CICD / Code Coverage (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
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 / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (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
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
- Implement correct CRC32B algorithm with proper polynomial and initialization
- Add comprehensive test fixtures for CRC32B validation
- Support raw output format for CRC32B checksums
- Update dependencies and lock files for compatibility
- Fix code formatting and style issues
2025-11-03 10:51:09 +01:00
Daniel Hofstetter
4f45042cb5
Merge pull request #9097 from cakebaker/rustdoc_fix_link
...
CICD / MinRustV (push) Waiting to run
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 / 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
WSL2 / Test (push) Waiting to run
rustdoc: fix broken intra doc links
2025-11-02 14:03:23 +01:00
Cả thế giới là Rust
ee422bf55f
Merge pull request #8947 from naoNao89/fix/mkdir-stack-overflow
...
CICD / MinRustV (push) Waiting to run
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 / 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
WSL2 / Test (push) Waiting to run
mkdir: Fix stack overflow with deeply nested directories
2025-11-01 08:55:12 +01:00
naoNao89
8b7286a6e6
fix: remove --length parameter from SHA224/256/384/512 benchmarks
...
CICD / MinRustV (push) Waiting to run
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 / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (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
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
WSL2 / Test (push) Waiting to run
SHA224, SHA256, SHA384, and SHA512 algorithms don't support the --length
parameter since the length is implicit in their algorithm names. Only the
generic sha2 and sha3 algorithms require explicit length specification.
2025-10-30 10:34:05 +00:00
naoNao89
d27c8b4dc2
fix: parameterize SHA2/SHA3 benchmarks to use valid lengths
...
- Use length as parameter instead of hardcoded values
- Add algorithm-specific lengths for each algorithm (224, 256, 384, 512 bits)
- Resolves benchmarks running too fast (<500µs) due to invalid length parameters
- All algorithms now produce meaningful hash outputs with proper timing
2025-10-30 10:34:05 +00:00
naoNao89
c750bffdd8
fix: resolve unused import warnings in SHAKE benchmarks
...
- Split bench_shake_algorithm macro into separate patterns for Shake128 and Shake256
- Only import the specific SHAKE type that is used in each macro invocation
- Resolves CI compilation errors due to unused import warnings
2025-10-30 10:34:05 +00:00
naoNao89
09a568dc3b
bench: add cksum performance benchmarks
...
- Add comprehensive benchmarks for all 17 SUPPORTED_ALGORITHMS
- Include custom SHAKE algorithm benchmarks using direct digest calculation
- Add CI integration with benchmark workflow
- No core cksum logic modifications to avoid merge conflicts
2025-10-30 10:34:05 +00:00
Andrea Corbellini
35360f75fa
comm: hold the stdin lock for the whole duration of the program
...
Being a single-threaded program, there's no benefit in having comm
obtain a lock every time it needs to read a line. This commit removes
the unnecessary overhead by obtaining a lock at the start of the program
and keeping it for the whole duration of the program.
2025-10-29 18:26:29 -07:00
Daniel Hofstetter
99b8475297
Merge pull request #9067 from uutils/sylvestre-patch-2
...
bench: tsort_input_parsing_heavy reduce the input side.
2025-10-29 16:04:47 +01:00
Daniel Hofstetter
ca6d69a520
Merge pull request #9063 from RenjiSann/cksum-fix-tests
...
CICD / Style/cargo-deny (push) Has been cancelled
Android / Test builds (push) Has been cancelled
CICD / Dependencies (push) Has been cancelled
CICD / Style/deps (push) Has been cancelled
CICD / Documentation/warnings (push) Has been cancelled
CICD / MinRustV (push) Has been cancelled
CICD / Code Coverage (push) Has been cancelled
CICD / Separate Builds (push) Has been cancelled
Benchmarks / Run benchmarks (CodSpeed) (push) Has been cancelled
Code Quality / Pre-commit hooks (push) Has been cancelled
WSL2 / Test (push) Has been cancelled
GnuTests / Run GNU tests (native) (push) Has been cancelled
GnuTests / Run GNU tests (SELinux) (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 / Style/Python (push) Has been cancelled
CICD / Build/Makefile (push) Has been cancelled
CICD / Build/stable (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
cksum: Fix GNU `cksum-c.sh` and `cksum-sha3.sh`
2025-10-28 16:55:25 +01:00
Sylvestre Ledru
d1be7b65ba
bench: tsort_input_parsing_heavy reduce the input side.
...
it takes 12+ sec for now
2025-10-28 12:15:00 +01:00
Dorian Peron
e57902f5df
util(cksum): Fix gnu cksum-sha3.sh
2025-10-28 11:59:47 +01:00
Nekrolm
1244caf024
tsort: use iterative dfs to avoid crashes on stack overflow
2025-10-28 11:31:32 +01:00
Dorian Peron
e41c842c4f
util(cksum): simple refactors
2025-10-28 03:26:04 +01:00
Dorian Peron
a95633e520
util(cksum): Fix gnu cksum-c.sh
2025-10-28 01:29:07 +01:00
Sylvestre Ledru
c85d8b5ed3
Merge pull request #9016 from naoNao89/fix/dd-oflag-direct-isolated
...
CICD / MinRustV (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
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/Python (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 / 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
WSL2 / Test (push) Waiting to run
fix(dd): handle O_DIRECT partial block writes
2025-10-27 23:31:53 +01:00
Sylvestre Ledru
b5b8c28b4d
Merge pull request #9055 from akretz/fix-ls-acl
...
ls: use file path for ACL check
2025-10-27 23:13:19 +01:00
Daniel Hofstetter
c19cab6153
date: sort deps in Cargo.toml alphabetically
2025-10-27 21:41:28 +01:00
Daniel Hofstetter
15cecc933f
date: remove chrono from Cargo.toml
2025-10-27 21:41:28 +01:00
Adrian Kretz
aa59afd112
ls: use file path for ACL check
2025-10-27 20:18:46 +01:00
Daniel Hofstetter
870bc29cb4
Merge pull request #9022 from sylvestre/test-ignored-date
...
date: improve compat with GNU
2025-10-27 11:40:01 +01:00
Sylvestre Ledru
0be1ac88c4
Merge pull request #9035 from RenjiSann/cksum-fix-sha2-sha3
...
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
CICD / Separate Builds (push) Waiting to run
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 / Code Coverage (push) Waiting to run
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (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
WSL2 / Test (push) Waiting to run
cksum: Add support for sha2, sha3
2025-10-27 10:59:27 +01:00
Sylvestre Ledru
d87a5b88a3
date: support(Military timezone with optional hour offset
2025-10-27 10:31:01 +01:00
Sylvestre Ledru
5cae9ae53e
date: -d empty string should be treated as midnight today
2025-10-27 10:31:01 +01:00
Sylvestre Ledru
284554658d
date: add support for the 'J' military timezone
2025-10-27 10:30:43 +01:00
n4n5
85c92f2684
cut,touch: show ignored args ( #9040 )
2025-10-27 08:32:01 +01:00
n4n5
cbe20c9bff
date: make --utc alias visible ( #9041 )
2025-10-27 08:12:54 +01:00
Sylvestre Ledru
c2488a474e
Fix spell-checker directive for IST timezone entry
2025-10-26 22:09:02 +01:00
Sylvestre Ledru
b818481e5f
date: fix parse_datetime 0.13 API compatibility issues
2025-10-26 22:09:02 +01:00
naoNao89
f764be8ddf
touch: fix parse_datetime 0.13 API usage for deterministic relative dates
...
The previous implementation incorrectly used parse_datetime() instead of
parse_datetime_at_date(), causing relative date strings like 'yesterday' or
'2 days ago' to be calculated from the current system time instead of the
caller-specified reference time.
This fix:
- Uses parse_datetime_at_date() with proper chrono->jiff->chrono conversions
- Restores deterministic behavior for relative date parsing
- Adds jiff 0.2.15 as direct dependency (not workspace) to avoid feature conflicts
- Ensures tests/touch/relative passes in CI
Note on jiff dependency:
parse_datetime 0.13 depends on jiff ^0.2.15 with specific features. Adding jiff
via workspace dependency causes feature unification conflicts across platforms.
Using a direct dependency with version 0.2.15 resolves this while maintaining
compatibility with parse_datetime's requirements.
2025-10-26 22:09:02 +01:00
naoNao89
f4b66479f0
date, touch: adapt to parse_datetime 0.13.0 API changes
...
Fixes #8754
parse_datetime 0.13.0 fixes the bug where parsing large second values
like "12345.123456789 seconds ago" would fail with "invalid date".
However, parse_datetime 0.13.0 introduced a breaking API change:
- Old (0.11.0): Returns chrono::DateTime
- New (0.13.0): Returns jiff::Zoned
This commit adapts both date and touch utilities to work with the new API:
date.rs changes:
- Simplified parse_date() to directly return jiff::Zoned
- Removed unnecessary chrono -> jiff conversion code
- parse_datetime now returns the exact type date utility uses
- Added detailed comments explaining the API change and issue #8754
touch.rs changes:
- Added jiff::Zoned -> chrono::DateTime conversion in parse_date()
- Changed from parse_datetime_at_date to parse_datetime
- Marked ref_time parameter as unused (preserved for future use)
- Added detailed comments about API change and future migration path
Note: 3 integration tests fail due to timezone handling changes in
parse_datetime 0.13. These are separate issues that will be addressed
in follow-up commits.
2025-10-26 22:09:02 +01:00
Dorian Peron
dfda5e0d91
util(cksum): Add support for sha2 and sha3
2025-10-26 20:18:14 +01:00
Daniel Hofstetter
a00d3478e3
Merge pull request #9032 from RenjiSann/cksum-fix-len-zero
...
Fix "cksum: --length 0 shouldn't fail for algorithms that don't support --length"
2025-10-26 16:39:52 +01:00