Sylvestre Ledru
aaa2ebdb67
Merge pull request #7327 from cakebaker/test_remove_sleep
...
test: remove `sleep` from tests
2025-02-20 12:07:22 +01:00
Daniel Hofstetter
1910da5869
test: remove sleep from tests
2025-02-20 10:48:01 +01:00
Daniel Hofstetter
a2af5d60b5
Merge pull request #7320 from RenjiSann/peron/tr-fix-multiple-chars-in-eq
...
tr: Fix GNU behavior deviation
2025-02-19 16:40:50 +01:00
Dorian Peron
989b6ba2a0
tr: raise an error when there are two chars or more in an equivalence class
2025-02-19 16:15:40 +01:00
Daniel Hofstetter
99d4fbdd85
Merge pull request #7325 from jfinkels/rm-prompt-message-inaccessible
...
rm: correct prompt for removing inaccessible dir
2025-02-19 10:36:30 +01:00
Sylvestre Ledru
447b087ec4
Merge pull request #7323 from alexsnaps/issue-7219
...
numfmt: fix from iec-i without suffix are bytes
2025-02-19 09:41:20 +01:00
Jeffrey Finkelstein
2b531b78ef
rm: correct prompt for removing inaccessible dir
...
Change the prompt when attempting to remove an inaccessible
directory. Before this commit, the prompt was
rm: remove write-protected directory 'dir'?
After this commit, the prompt is
rm: attempt removal of inaccessible directory 'dir'?
This required slightly adjusting the logic for which prompt messages to
display under which circumstances.
Fixes #7309 .
2025-02-18 18:39:45 -05:00
Alex Snaps
17a409532f
Fix #7219 : from iec-i without suffix are bytes
...
Signed-off-by: Alex Snaps <alex@wcgw.dev>
2025-02-18 17:17:29 -05:00
Sylvestre Ledru
bc995283c4
Merge pull request #7304 from jfinkels/rm-recursive
...
rm: use recursive directory traversal with --recursive
2025-02-18 08:23:05 +01:00
Daniel Hofstetter
fb88d9d559
Merge pull request #7319 from uutils/renovate/blake3-1.x-lockfile
...
chore(deps): update rust crate blake3 to v1.6.0
2025-02-18 07:17:28 +01:00
Daniel Hofstetter
ffe3778c33
Merge pull request #7318 from uutils/renovate/clap_complete-4.x-lockfile
...
chore(deps): update rust crate clap_complete to v4.5.45
2025-02-18 07:12:13 +01:00
Daniel Hofstetter
dd85eff36f
Merge pull request #7317 from uutils/renovate/clap-4.x-lockfile
...
chore(deps): update rust crate clap to v4.5.30
2025-02-18 07:11:58 +01:00
renovate[bot]
7f0e678290
chore(deps): update rust crate blake3 to v1.6.0
2025-02-18 02:09:38 +00:00
Dorian Péron
ea1562b5fe
Merge pull request #7316 from jfinkels/echo-parse-escape-only
...
echo: use uucore::format::parse_escape_only()
2025-02-18 00:42:36 +01:00
renovate[bot]
88f296c4c6
chore(deps): update rust crate clap_complete to v4.5.45
2025-02-17 22:32:42 +00:00
renovate[bot]
d415b4c3d3
chore(deps): update rust crate clap to v4.5.30
2025-02-17 22:32:36 +00:00
Jeffrey Finkelstein
f979f97214
echo: use uucore::format::parse_escape_only()
...
Remove some duplicate code in favor of just calling
`uucore::format::parse_escape_only()`.
Fixes #7258 .
2025-02-17 17:24:18 -05:00
Daniel Hofstetter
80fb4f3764
Merge pull request #7313 from uutils/renovate/tempfile-3.x-lockfile
...
fix(deps): update rust crate tempfile to v3.17.1
2025-02-17 18:02:03 +01:00
Daniel Hofstetter
883a5ede55
Merge pull request #7314 from uutils/renovate/parse_datetime-0.x
...
chore(deps): update rust crate parse_datetime to 0.8.0
2025-02-17 18:01:17 +01:00
renovate[bot]
ef4f32bbd0
chore(deps): update rust crate parse_datetime to 0.8.0
2025-02-17 16:36:23 +00:00
renovate[bot]
e5a2f7f942
fix(deps): update rust crate tempfile to v3.17.1
2025-02-17 16:36:16 +00:00
Jeffrey Finkelstein
1606968bf2
rm: recursive implementation of -r option
...
Change the implementation of `rm -r` so that it is explicitly recursive
so that (1) there is one code path regardless of whether `--verbose` is
given and (2) it is easier to be compatible with GNU `rm`.
This change eliminates a dependency on the `walkdir` crate.
Fixes #7033 , fixes #7305 , fixes #7307 .
2025-02-17 11:18:24 -05:00
Jeffrey Finkelstein
efbc78b8ae
rm: add is_dir_empty() helper function
2025-02-17 11:16:55 -05:00
Jeffrey Finkelstein
78b51cb939
rm: check write permissions instead of readonly()
...
Check the user write permission directly from the mode instead of using
the `Permissions::readonly()` method. This seems to more closely match
the behavior of GNU `rm`.
2025-02-17 11:16:55 -05:00
Sylvestre Ledru
58c336d5c3
Merge pull request #6040 from hamflx/main
...
Make mv command fallback to copy only if the src and dst are on different device
2025-02-17 08:47:06 +01:00
Sylvestre Ledru
91784d0bff
Merge pull request #7306 from jfinkels/rm-add-tests-interactive
...
rm: add two passing tests for -i option
2025-02-17 08:44:51 +01:00
Jeffrey Finkelstein
ba67469c9c
rm: add two passing tests for -i option
2025-02-16 18:40:14 -05:00
hamflx
b96f825503
mv: Make mv command fallback to copy only if the src and dst are on different device
2025-02-17 00:22:28 +01:00
Sylvestre Ledru
511590ad44
Merge pull request #7303 from rwdj/fix-5692-usage-strings
...
Fix usage strings for #5692
2025-02-17 00:14:17 +01:00
Sylvestre Ledru
ab5abb9f13
Merge pull request #7308 from jfinkels/rm-simplify-remove-dir
...
rm: simplify remove_dir() helper function
2025-02-17 00:13:37 +01:00
Sylvestre Ledru
c53dc91279
Merge pull request #7310 from uutils/renovate/rand_core-0.x-lockfile
...
chore(deps): update rust crate rand_core to v0.9.1
2025-02-17 00:12:35 +01:00
Sylvestre Ledru
7c4d045a56
Merge pull request #7311 from uutils/renovate/tempfile-3.x-lockfile
...
fix(deps): update rust crate tempfile to v3.17.0
2025-02-17 00:12:17 +01:00
renovate[bot]
6ae81ed3c4
fix(deps): update rust crate tempfile to v3.17.0
2025-02-16 21:47:05 +00:00
renovate[bot]
1f4829ab76
chore(deps): update rust crate rand_core to v0.9.1
2025-02-16 21:46:56 +00:00
Jeffrey Finkelstein
464181bb56
rm: simplify remove_dir() helper function
2025-02-16 12:18:37 -05:00
RWDJ
55502cb44f
test: fix usage string
...
`[` alone is not a valid test command.
`test` alone is a valid test command.
`]` alone is not a valid test command.
Update usage string to match GNU behavior.
2025-02-15 19:27:01 -06:00
RWDJ
9f93bb1932
hashsum: fix usage string
...
hashsum requires a --<digest> and may accept multiple options.
2025-02-15 18:53:05 -06:00
RWDJ
460dc52e68
unlink: fix usage string
...
unlink must either take an option or a file. Update usage string to
match GNU behavior.
2025-02-15 18:51:59 -06:00
RWDJ
4649c717b6
runcon: fix usage string
...
runcon requires a context command. Update usage string to match GNU
behavior.
2025-02-15 18:51:44 -06:00
Daniel Hofstetter
0eab0fa83e
Merge pull request #7301 from jfinkels/split-test-format-width
...
split: avoid extremely long format width in test
2025-02-15 17:09:41 +01:00
Daniel Hofstetter
aa39c2c38a
Merge pull request #7302 from uutils/renovate/smallvec-1.x-lockfile
...
chore(deps): update rust crate smallvec to v1.14.0
2025-02-15 07:14:41 +01:00
renovate[bot]
991ba0f047
chore(deps): update rust crate smallvec to v1.14.0
2025-02-15 05:47:08 +00:00
Jeffrey Finkelstein
183a99d532
split: avoid extremely long format width in test
...
Avoid an extremely long format width specifier in test case
`test_long_lines`. The Rust compiler is planning an upcoming change to
restrict the maximum width that can be specified to 65535, so this
change defends against future limitations in the compiler. For more
information, see
<https://github.com/uutils/coreutils/pull/7128#discussion_r1955787665 >.
2025-02-14 17:41:36 -05:00
Sylvestre Ledru
b4487229b9
Merge pull request #7300 from cakebaker/ci_fix_spelling_errors
...
ci: add words to `spell-checker:ignore` in two files
2025-02-14 09:36:19 +01:00
Daniel Hofstetter
3de1ccadba
ci: add words to spell-checker:ignore
2025-02-14 09:14:10 +01:00
Sylvestre Ledru
112cb4c27f
Merge pull request #6947 from RenjiSann/nixos-devel
...
Nix/Nixos development
2025-02-14 08:57:58 +01:00
Sylvestre Ledru
9542e15045
Merge pull request #7281 from RenjiSann/renji/improve-fuzzer-log
...
Improve fuzzer logging
2025-02-12 22:07:54 +01:00
Dorian Peron
6afa515859
fuzz(cksum): fix fuzzer to use GNU's binary instead of the systems', remove false positives, improve logging
2025-02-12 19:46:18 +01:00
Daniel Hofstetter
a3c5b8c3b1
Merge pull request #7297 from uutils/renovate/clap-4.x-lockfile
...
chore(deps): update rust crate clap to v4.5.29
2025-02-12 07:12:07 +01:00
renovate[bot]
f989a44ca6
chore(deps): update rust crate clap to v4.5.29
2025-02-11 22:56:45 +00:00