Sylvestre Ledru
14caaad7ef
Revert "GNUMakefile: fix compilation on Macs"
2025-06-07 19:49:08 +02:00
Daniel Hofstetter
4128efad0f
Merge pull request #8076 from sylvestre/l10n-nice
...
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 / Style/cargo-deny (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (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 (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (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
CICD / Style/deps (push) Waiting to run
Android / Test builds (push) Waiting to run
l10n: port nice to translation + add french
2025-06-07 16:13:31 +02:00
Daniel Hofstetter
9275995a2f
Merge pull request #8079 from sylvestre/l10n-who
...
l10n: port who to translation + add french
2025-06-07 15:39:18 +02:00
Daniel Hofstetter
fc011c8902
Merge pull request #8082 from sylvestre/l10n-hostname
...
l10n: port hostname to translation + add french
2025-06-07 14:51:48 +02:00
Daniel Hofstetter
8d626cfd55
Merge pull request #8088 from sylvestre/l10n-sync
...
l10n: port sync to translation + add french
2025-06-07 14:38:07 +02:00
Daniel Hofstetter
0f29f84613
Merge pull request #8089 from sylvestre/l10n-mkdir
...
l10n: port mkdir to translation + add french
2025-06-07 14:32:56 +02:00
Sylvestre Ledru
45aa9edfbd
l10n: port who to translation + add french
2025-06-07 12:19:59 +02:00
Sylvestre Ledru
6ebe611d12
Merge pull request #8084 from cakebaker/rm_consistent_naming_test_fns
...
rm: consistent naming of test functions
2025-06-07 11:28:24 +02:00
Sylvestre Ledru
1ddbc2a629
l10n: port sync to translation + add french
2025-06-07 10:32:49 +02:00
Sylvestre Ledru
320dcd114c
Merge pull request #8069 from cakebaker/uptime_use_plural_for_zero_users
...
uptime: use "0 users" instead of "0 user"
2025-06-07 09:37:10 +02:00
Sylvestre Ledru
63a3d6e5b9
l10n: port mkdir to translation + add french
2025-06-07 09:14:02 +02:00
Daniel Hofstetter
9c0eb00d13
Merge pull request #8085 from sylvestre/l10n-dirname
...
CICD / Style/cargo-deny (push) Waiting to run
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 / 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 (push) Waiting to run
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
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
l10n: port dirname to translation + add french
2025-06-07 08:18:10 +02:00
Daniel Hofstetter
212789f171
Merge pull request #8087 from sylvestre/l10n-sleep
...
l10n: port sleep to translation + add french
2025-06-07 08:10:57 +02:00
Daniel Hofstetter
06aa0e50fc
Merge pull request #8090 from uutils/renovate/smallvec-1.x-lockfile
...
chore(deps): update rust crate smallvec to v1.15.1
2025-06-07 07:08:18 +02:00
renovate[bot]
6c1a85bb32
chore(deps): update rust crate smallvec to v1.15.1
2025-06-06 23:55:32 +00:00
Sylvestre Ledru
21cc0b8471
l10n: port sleep to translation + add french
2025-06-06 22:25:32 +02:00
Sylvestre Ledru
15a6f92090
l10n: port dirname to translation + add french
2025-06-06 21:35:50 +02:00
Sylvestre Ledru
df0ef3b589
Add common pre-commit hooks ( #8059 )
...
CICD / Style/cargo-deny (push) Waiting to run
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 / 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 (push) Waiting to run
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
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
Pre-commits are usually used to minimize busy work by the contributors, e.g., by fixing extra spacing, formatting, etc. This PR adds various basic text file checks to the repo. I also made yaml spacing a bit cleaner.
I was a bit surprised it is used for `cargo clippy` because you wouldn't want clippy's auto-fixes to be auto-applied by CI, so usually GitHub workflow simply checks runs it regularly. This is outside of the scope for this PR, but perhaps it should be removed here?
2025-06-06 17:20:15 +02:00
Daniel Hofstetter
3ffaa335df
rm: use new_cmd! to simplify some tests
2025-06-06 16:53:55 +02:00
Daniel Hofstetter
d503b7c7c7
rm: merge some imports in test file
2025-06-06 16:42:32 +02:00
Daniel Hofstetter
1dbd452c8f
rm: use consistent naming for test functions
2025-06-06 16:40:16 +02:00
Yuri Astrakhan
60c55d7c07
chore: cleanup workspace crates ( #8058 )
...
CICD / Style/cargo-deny (push) Waiting to run
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 / 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 (push) Waiting to run
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
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
* chore: cleanup workspace crates
* properly add all crates to the workspace cargo.toml as members
* except `fuzz` because it still has some issues, TBD
* use quotes around `true` and `false` to ensure there is no bool confusion
* remove a few leftover readme comments
* mark all unpublishable crates as `publish = false` to avoid accidental publishing
* Add `uutests` to the main workspace
* grammar
* a bit more cleanup based on feedback
* revert true/false
* Update tests/benches/factor dependencies
2025-06-06 13:56:08 +02:00
Teemu Pätsi
4d40671d79
cat: Fix reporting "input file is output file" error when outputting to an input file ( #8025 )
...
* cat: Check if a file can be overwritten safely in Unix
* cat: Check if a file can be overwritten safely in Windows
* cat: Test writing read-write file that is input and output
* cat: Unit test `is_appending` function
* cat: Unit test `is_unsafe_overwrite` function
* cat: Comment why a few function calls could return Err
* cat: Remove obvious comments from test
2025-06-06 12:01:31 +02:00
Sylvestre Ledru
9e21259e2d
Merge pull request #8062 from drinkcat/sort-float
...
sort: Make use of ExtendedBigDecimal in -g sorting, then attempt to recover some performance
2025-06-06 12:01:04 +02:00
Sylvestre Ledru
858db601aa
Merge pull request #7964 from kevinburke/no-selinux-mac
...
GNUMakefile: fix compilation on Macs
2025-06-06 11:58:26 +02:00
Daniel Hofstetter
1787471eeb
Merge pull request #8073 from uutils/pr-1
...
l10n: port id to translation + add french
2025-06-06 11:38:19 +02:00
Daniel Hofstetter
246a7e533d
Merge pull request #8077 from sylvestre/l10n-proc
...
l10n: port nproc to translation + add french
2025-06-06 11:25:10 +02:00
Daniel Hofstetter
1f24aa2c62
Merge pull request #8078 from sylvestre/l10n-yes
...
l10n: port yes to translation + add french
2025-06-06 11:09:11 +02:00
Daniel Hofstetter
af750967e9
Merge pull request #8080 from sylvestre/l10n-uname
...
l10n: port uname to translation + add french
2025-06-06 11:01:56 +02:00
Daniel Hofstetter
6619a93777
Merge pull request #8081 from sylvestre/l10n-whoami
...
l10n: port whoami to translation + add french
2025-06-06 10:49:46 +02:00
Daniel Hofstetter
0a446cc7a7
Merge pull request #8074 from uutils/pr-2
...
l10n: port basename to translation + add french
2025-06-06 10:34:46 +02:00
Sylvestre Ledru
fa4e46ad15
l10n: port id to translation + add french
2025-06-06 09:36:53 +02:00
Sylvestre Ledru
63ef7c9a1d
l10n: port hostname to translation + add french
2025-06-06 09:25:25 +02:00
Sylvestre Ledru
980c81a6ce
l10n: port whoami to translation + add french
2025-06-06 09:24:53 +02:00
Sylvestre Ledru
86357de0e9
l10n: port uname to translation + add french
2025-06-06 09:24:21 +02:00
Sylvestre Ledru
0d00960522
l10n: port yes to translation + add french
2025-06-06 09:23:08 +02:00
Sylvestre Ledru
991144a79a
l10n: port nproc to translation + add french
2025-06-06 09:22:24 +02:00
Sylvestre Ledru
b0ba545248
l10n: port nice to translation + add french
2025-06-06 09:21:35 +02:00
Sylvestre Ledru
8f5f22eb86
l10n: port basename to translation + add french
2025-06-06 09:13:25 +02:00
Daniel Hofstetter
1d11f85dd2
Merge pull request #8066 from sylvestre/bidi
...
l10n: Disable Unicode directional isolate characters (U+2068, U+2069)
2025-06-06 09:08:23 +02:00
Sylvestre Ledru
4bd3b70774
Merge pull request #8070 from cakebaker/rm_rename_constants
...
CICD / Style/cargo-deny (push) Waiting to run
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 / 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 (push) Waiting to run
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
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
rm: rename two consts for better readability
2025-06-05 18:45:34 +02:00
Daniel Hofstetter
51c5c9c59a
rm: rename two consts for better readability
...
OPT_PROMPT => OPT_PROMPT_ALWAYS, OPT_PROMPT_MORE => OPT_PROMPT_ONCE
2025-06-05 17:05:48 +02:00
Daniel Hofstetter
ab40fcff7e
uptime: use "0 users" instead of "0 user"
2025-06-05 15:32:45 +02:00
Will Shuttleworth
61bd11a551
stty: set control characters ( #7931 )
...
CICD / Style/cargo-deny (push) Waiting to run
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 / Build/nightly (push) Blocked by required conditions
CICD / Build (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 / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (push) Waiting to run
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
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
* reworked arg processing. control character mappings are correctly grouped now, ie 'stty erase ^H'
* stty: setting control chars to undefined (disabling them) is implemented
* setting control chars
* stty: can now set control chars. need to improve checks on valid mappings
* stty: matches GNU in what control character mappings are allowed
* stty: run rustfmt and remove extra comments
* stty: setting control char code review fixes
* stty: fix rustfmt errors
* stty: more small edits after review
* stty: refactor set control char changes for better testing
* stty: fix ci error
* stty: fix issues from code review
2025-06-05 11:38:51 +02:00
Daniel Hofstetter
ccc6233fba
Merge pull request #8054 from sylvestre/locale3
...
l10n: convert the md files to fluent
2025-06-05 09:39:42 +02:00
Sylvestre Ledru
dd57bcfd3d
Merge pull request #8067 from Ecordonnier/eco/libstdbuf
...
stdbuf: avoid double "lib" prefix
2025-06-05 08:03:58 +02:00
Etienne Cordonnier
8c1cc5b992
stdbuf: avoid double "lib" prefix
...
libstdbuf is currently compiled as e.g. liblibstdbuf.so, which is confusing.
Compile the library as libstdbuf.so instead.
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2025-06-05 00:00:45 +02:00
Sylvestre Ledru
5b2078b02d
l10n: Disable Unicode directional isolate characters (U+2068, U+2069)
2025-06-04 22:32:59 +02:00
Sylvestre Ledru
4b776ba995
l10n: also manage individual binary usages
2025-06-04 19:24:20 +02:00
Sylvestre Ledru
578499fbad
coreutils.rs: spell ignore
2025-06-04 19:24:03 +02:00