Sylvestre Ledru
1cfb30ecb3
chmod: fix handling of non-UTF-8 filenames
2025-08-14 10:52:24 +02:00
Sylvestre Ledru
c00c92ccc6
fuzz: add fuzzer to test non-UTF-8 path handling across all utilities
2025-08-14 10:52:24 +02:00
renovate[bot]
8fcd4ea579
chore(deps): update actions/checkout action to v5
2025-08-14 10:52:24 +02:00
Sylvestre Ledru
fe74a5e8e6
l10n: address review comments
2025-08-14 10:52:04 +02:00
Sylvestre Ledru
1d8dafcea1
fix some last clap errors mgmt
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
89989770d8
clap: also support translations for invalid values
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
517993f226
clap: translate Usage too
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
1e8bd80948
allow translation of "For more information, try '--help'."
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
ef49b446d2
clap: improve translation support
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
c86560a84b
Port factor for translation
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
74be4c2060
Port printenv translation: fix tests/misc/invalid-opt
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
2063aa1009
clap: improve the clap support + add tests
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
c7342a939b
clap: override the usage section
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
f1beeb904c
clap localization: address PR review comments
...
- Make colorize() function private since only used internally
- Remove redundant colors_enabled checks
- Add apply_color helper closure to reduce code duplication
- Remove try_ prefix from function names for consistency
- Update all utilities to use renamed functions
- Fix app variable reference in mv utility
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
5086310687
l10n: also install uucore locales
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
c7ad0037f2
cspell: also ignore flt files in uucore
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
913844d080
add test (in sort) to verify that the clap error mgmt work (english and french)
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
333ce0c119
l10n/github action: verify that clap localization works
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
b06b1e4ea8
l10n: Migrate all utilities to use LocalizedCommand
2025-08-14 10:52:03 +02:00
Sylvestre Ledru
e455f770f9
l10n: Add LocalizedCommand trait for clap localization
2025-08-14 10:52:03 +02:00
renovate[bot]
bb27d8aab7
chore(deps): update rust crate rayon to v1.11.0
2025-08-14 10:52:03 +02:00
renovate[bot]
8850001e0f
chore(deps): update rust crate clap to v4.5.45
2025-08-14 10:52:03 +02:00
renovate[bot]
1684e2b524
chore(deps): update rust crate thiserror to v2.0.14
2025-08-14 10:52:03 +02:00
renovate[bot]
3028d116c6
chore(deps): update rust crate clap_complete to v4.5.57
2025-08-14 10:52:03 +02:00
renovate[bot]
7ca85a0678
chore(deps): update rust crate clap to v4.5.44
2025-08-14 10:52:03 +02:00
renovate[bot]
863a5aba00
chore(deps): update rust crate terminal_size to v0.4.3
2025-08-14 10:52:03 +02:00
renovate[bot]
af2c22787c
fix(deps): update rust crate proc-macro2 to v1.0.97
2025-08-12 01:06:19 +00:00
Daniel Hofstetter
0fa0ddb704
Merge pull request #8466 from uutils/renovate/actions-checkout-5.x
...
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 / 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 / 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
Code Quality / Style/Python (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
L10n (Localization) / L10n/Build and Test (push) Waiting to run
L10n (Localization) / L10n/Fluent Syntax Check (push) Waiting to run
L10n (Localization) / L10n/French Integration Test (push) Waiting to run
L10n (Localization) / L10n/Multi-call Binary Install Test (push) Waiting to run
L10n (Localization) / L10n/Installation Test (Make & Cargo) (push) Waiting to run
L10n (Localization) / L10n/Locale Support Verification (push) Waiting to run
L10n (Localization) / L10n/Locale Embedding Regression Test (push) Waiting to run
WSL2 / Test (push) Waiting to run
chore(deps): update actions/checkout action to v5
2025-08-11 17:53:49 +02:00
renovate[bot]
a1de8f7bf5
chore(deps): update actions/checkout action to v5
2025-08-11 15:31:34 +00:00
Daniel Hofstetter
3787f22801
Merge pull request #8465 from uutils/renovate/glob-0.x-lockfile
...
L10n (Localization) / L10n/Locale Embedding Regression Test (push) Waiting to run
WSL2 / Test (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Test all features separately (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
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
Code Quality / Style/toml (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 / Pre-commit hooks (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
L10n (Localization) / L10n/Build and Test (push) Waiting to run
L10n (Localization) / L10n/Fluent Syntax Check (push) Waiting to run
L10n (Localization) / L10n/French Integration Test (push) Waiting to run
L10n (Localization) / L10n/Multi-call Binary Install Test (push) Waiting to run
L10n (Localization) / L10n/Installation Test (Make & Cargo) (push) Waiting to run
L10n (Localization) / L10n/Locale Support Verification (push) Waiting to run
chore(deps): update rust crate glob to v0.3.3
2025-08-11 12:52:03 +02:00
renovate[bot]
ed3b9c41df
chore(deps): update rust crate glob to v0.3.3
2025-08-11 10:25:26 +00:00
Daniel Hofstetter
74662f303c
Merge pull request #8464 from uutils/renovate/libc-0.x-lockfile
...
fix(deps): update rust crate libc to v0.2.175
2025-08-11 12:23:52 +02:00
renovate[bot]
3ada463428
fix(deps): update rust crate libc to v0.2.175
2025-08-11 09:46:37 +00:00
Daniel Hofstetter
5ca19436e2
Merge pull request #8461 from uutils/renovate/ctor-0.x
...
chore(deps): update rust crate ctor to 0.5.0
2025-08-11 09:12:40 +02:00
Nicolas Boichat
124e60d37a
Merge pull request #8460 from uutils/renovate/proc-macro2-1.x-lockfile
...
CICD / Dependencies (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (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
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
L10n (Localization) / L10n/Build and Test (push) Waiting to run
L10n (Localization) / L10n/Fluent Syntax Check (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (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
L10n (Localization) / L10n/French Integration Test (push) Waiting to run
L10n (Localization) / L10n/Multi-call Binary Install Test (push) Waiting to run
L10n (Localization) / L10n/Installation Test (Make & Cargo) (push) Waiting to run
L10n (Localization) / L10n/Locale Support Verification (push) Waiting to run
L10n (Localization) / L10n/Locale Embedding Regression Test (push) Waiting to run
WSL2 / Test (push) Waiting to run
fix(deps): update rust crate proc-macro2 to v1.0.96
2025-08-11 11:16:31 +08:00
Nicolas Boichat
6efec413a6
Cargo.lock: Update
2025-08-11 11:04:45 +08:00
Nicolas Boichat
95bbaaa552
tests/uutests/Cargo.toml: Pull ctor from workspace
2025-08-11 11:04:04 +08:00
renovate[bot]
548fa89cde
chore(deps): update rust crate ctor to 0.5.0
2025-08-11 02:37:47 +00:00
renovate[bot]
7a39e53796
fix(deps): update rust crate proc-macro2 to v1.0.96
2025-08-11 02:09:46 +00:00
Nicolas Boichat
9a07b87a3f
Merge pull request #8458 from cakebaker/chmod_remove_cfgs
...
chmod: remove Windows function & unnecessary cfgs
2025-08-11 10:08:06 +08:00
Daniel Hofstetter
78235182cc
chmod: remove Windows function & unnecessary cfgs
2025-08-10 14:54:23 +02:00
Daniel Hofstetter
06c64b7761
Merge pull request #8450 from sylvestre/fix-chmod-symlink-handling
...
CICD / Style/deps (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 / 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
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
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
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
L10n (Localization) / L10n/Fluent Syntax Check (push) Waiting to run
L10n (Localization) / L10n/French Integration Test (push) Waiting to run
L10n (Localization) / L10n/Multi-call Binary Install Test (push) Waiting to run
L10n (Localization) / L10n/Installation Test (Make & Cargo) (push) Waiting to run
L10n (Localization) / L10n/Locale Support Verification (push) Waiting to run
L10n (Localization) / L10n/Locale Embedding Regression Test (push) Waiting to run
L10n (Localization) / L10n/Build and Test (push) Waiting to run
WSL2 / Test (push) Waiting to run
chmod: fix recursive symlink handling for -H/-L/-P flags (Closes : #8422 )
2025-08-10 14:41:22 +02:00
Sylvestre Ledru
21c8e42c8f
chmod: fix recursive symlink handling for -H/-L/-P flags ( Closes : #8422 )
2025-08-09 17:34:52 +02:00
Sylvestre Ledru
f7ad1eed25
Merge pull request #8456 from drinkcat/cicd-utmp
...
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Style/cargo-deny (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 / 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
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
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
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
L10n (Localization) / L10n/Build and Test (push) Waiting to run
L10n (Localization) / L10n/Fluent Syntax Check (push) Waiting to run
L10n (Localization) / L10n/French Integration Test (push) Waiting to run
L10n (Localization) / L10n/Multi-call Binary Install Test (push) Waiting to run
L10n (Localization) / L10n/Installation Test (Make & Cargo) (push) Waiting to run
L10n (Localization) / L10n/Locale Support Verification (push) Waiting to run
L10n (Localization) / L10n/Locale Embedding Regression Test (push) Waiting to run
WSL2 / Test (push) Waiting to run
.github/workflows/CICD.yml: Create a fully fake utmp
2025-08-09 16:49:13 +02:00
Nicolas Boichat
730d7d8c7a
.github/workflows/CICD.yml: Create a fully fake utmp
...
Looks like the "system boot" entry is not present in /var/lib/utmp
on recent ubuntu-latest images.
Not totally clear why it disappeared, but let's just create a fake
one instead.
2025-08-09 21:43:18 +08:00
Sylvestre Ledru
31a9d329f6
Merge pull request #8454 from drinkcat/macos-dev-fd-0-flaky
...
CICD / Build/stable (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
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
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
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
L10n (Localization) / L10n/Build and Test (push) Waiting to run
L10n (Localization) / L10n/Fluent Syntax Check (push) Waiting to run
L10n (Localization) / L10n/French Integration Test (push) Waiting to run
CICD / Style/cargo-deny (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 / Tests/BusyBox test suite (push) Blocked by required conditions
L10n (Localization) / L10n/Multi-call Binary Install Test (push) Waiting to run
L10n (Localization) / L10n/Installation Test (Make & Cargo) (push) Waiting to run
L10n (Localization) / L10n/Locale Support Verification (push) Waiting to run
L10n (Localization) / L10n/Locale Embedding Regression Test (push) Waiting to run
WSL2 / Test (push) Waiting to run
test_cp: On MacOS, ignore tests that use /dev/fd/0
2025-08-09 08:59:29 +02:00
Nicolas Boichat
f8a864b15d
test_cp: On MacOS, ignore tests that use /dev/fd/0
...
For unclear reason, this is a source of test flakiness (#8453 ).
2025-08-09 14:20:22 +08:00
Nicolas Boichat
d535824d86
Merge pull request #8442 from sylvestre/tr-perf
...
Improve tr performances (Closes : #8439 )
2025-08-09 13:22:00 +08:00
Nicolas Boichat
620360a1e1
Merge pull request #8449 from sylvestre/issue-8407
...
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 / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (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
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (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
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
L10n (Localization) / L10n/Build and Test (push) Waiting to run
L10n (Localization) / L10n/Fluent Syntax Check (push) Waiting to run
L10n (Localization) / L10n/French Integration Test (push) Waiting to run
L10n (Localization) / L10n/Multi-call Binary Install Test (push) Waiting to run
L10n (Localization) / L10n/Installation Test (Make & Cargo) (push) Waiting to run
L10n (Localization) / L10n/Locale Support Verification (push) Waiting to run
L10n (Localization) / L10n/Locale Embedding Regression Test (push) Waiting to run
WSL2 / Test (push) Waiting to run
cp: fix directory permission preservation for sibling directories with -a (Closes : #8407 )
2025-08-09 12:33:56 +08:00
Sylvestre Ledru
e7fdeb36ff
tr: document how to bench its perf
2025-08-08 22:10:03 +02:00