1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-16 03:36:18 +00:00
Commit graph

15910 commits

Author SHA1 Message Date
renovate[bot]
13eb4792c8
chore(deps): update davidanson/markdownlint-cli2-action action to v19 2024-12-29 02:17:50 +00:00
renovate[bot]
fa2bf49229
chore(deps): update rust crate glob to v0.3.2 2024-12-29 02:17:45 +00:00
Daringcuteseal
e07cc67b30
tests/install: add tests to install from stdin 2024-12-29 07:17:41 +07:00
Daringcuteseal
200e4b1032
install: implement copying from streams 2024-12-29 07:17:39 +07:00
Sylvestre Ledru
7d628c65d3 chroot: handle the error when invalid user
Currently fails with:
```
2024-12-28T14:55:18.9330231Z thread 'main' panicked at src/uu/chroot/src/chroot.rs:284:46:
2024-12-28T14:55:18.9330718Z called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: "Not found: nobody:+65535" }
2024-12-28T14:55:18.9331305Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
2024-12-28 22:29:27 +01:00
renovate[bot]
19da02117d
chore(deps): update vmactions/freebsd-vm action to v1.1.7 2024-12-28 21:12:38 +00:00
Sylvestre Ledru
254f762e86 GNU: try to remove the fail-2eperm.sh workaround
Now fails with:
2024-12-28T14:55:18.9355074Z -rm: cannot remove 'a': Operation not permitted
2024-12-28T14:55:18.9355364Z +rm: cannot remove 'a/b': Operation not permitted
2024-12-28 21:53:12 +01:00
Pearl
edf8be5e08
uucore/buf_copy: Improve the uucore integration (#6983)
---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-12-28 15:30:10 +01:00
Sylvestre Ledru
067b2964c6
Merge pull request #6993 from jtracey/wc-fixes
wc: fix escaping
2024-12-28 12:52:12 +01:00
Sylvestre Ledru
bae4756302
Merge pull request #6585 from sylvestre/fuzz-cksum2
fuzzing: add a new fuzzer for cksum
2024-12-28 12:36:05 +01:00
Sylvestre Ledru
0d83c440e3
Merge branch 'main' into fuzz-cksum2 2024-12-28 12:13:35 +01:00
Daniel Hofstetter
0560e9779b
Merge pull request #7007 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.217
2024-12-28 07:00:25 +01:00
renovate[bot]
02f1f50ccb
chore(deps): update rust crate serde to v1.0.217 2024-12-27 21:07:48 +00:00
Sylvestre Ledru
6f678269ab
Merge pull request #7006 from cakebaker/csplit_fix_invalid_pattern
csplit: allow offset without sign in pattern
2024-12-27 17:59:55 +01:00
Justin Tracey
ff8a31e835
wc: fix escaping
GNU wc only escapes file names with newlines in them.
2024-12-27 11:37:16 -05:00
Daniel Hofstetter
f62b8d7975 csplit: allow offset without sign in pattern 2024-12-27 16:08:48 +01:00
Sylvestre Ledru
4809ece4f1
Merge pull request #6996 from cakebaker/cut_newline_as_delimiter
cut: fix handling of newline as delimiter
2024-12-27 09:45:07 +01:00
Daniel Hofstetter
20dfb27057 cut: fix handling of newline as delimiter 2024-12-27 09:12:47 +01:00
Daniel Hofstetter
6478f68c5a
Merge pull request #7003 from sylvestre/use-func
cp: use the function from uucore
2024-12-27 08:34:30 +01:00
Solomon
98c9be5ec4
mv: improve move-to-self error handling (#6995)
- improve move-to-self detection, so this errors without data loss:

```diff
 mkdir mydir
 mv mydir mydir/subdir
-mv: No such file or directory (os error 2)
+mv: cannot move 'mydir' to a subdirectory of itself, 'mydir/subdir'
```

- align "cannot move source to a subdirectory of itself" and "same file"
  errors more closely with coreutils:

```diff
 mkdir mydir
 mv mydir/ mydir/..
-mv: cannot move 'mydir/' to a subdirectory of itself, 'mydir/../mydir/'
+mv: 'mydir/' and 'mydir/../mydir' are the same file
```

Causing: https://github.com/nushell/nushell/issues/13082
2024-12-26 20:48:29 +01:00
Sylvestre Ledru
2deeb7882c xattr feature: enable it on mac too 2024-12-26 17:25:12 +01:00
Sylvestre Ledru
1180905b5e cp: use the function from uucore 2024-12-26 17:08:16 +01:00
Sylvestre Ledru
b4cdc36573
Merge pull request #6997 from cakebaker/echo_handle_double_hyphen
echo: handle double hyphens
2024-12-26 12:19:07 +01:00
Sylvestre Ledru
958320e043
Merge pull request #7000 from cakebaker/csplit_add_support_for_q
csplit: add support for `-q`
2024-12-26 10:20:08 +01:00
Daniel Hofstetter
db37c316af csplit: add support for -q 2024-12-26 09:40:55 +01:00
Daniel Hofstetter
b9742067fe
Merge pull request #6999 from uutils/renovate/quote-1.x-lockfile
fix(deps): update rust crate quote to v1.0.38
2024-12-26 08:56:06 +01:00
renovate[bot]
2bfa45652e
fix(deps): update rust crate quote to v1.0.38 2024-12-26 07:24:21 +00:00
Sylvestre Ledru
19c5119022
Merge pull request #6998 from cakebaker/comm_adapt_gnu_error_messages
comm: adapt GNU error messages
2024-12-25 12:30:48 +01:00
Daniel Hofstetter
e221d2a624 comm: adapt GNU error messages 2024-12-25 09:54:12 +01:00
Daniel Hofstetter
90465357e2 echo: handle double hyphens 2024-12-24 17:01:45 +01:00
Daniel Hofstetter
2c2f5f14a4 echo: use succeeds() to simplify some tests 2024-12-24 16:03:00 +01:00
Daniel Hofstetter
f52a11ce03
Merge pull request #6994 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.6
2024-12-24 06:54:18 +01:00
renovate[bot]
e4d0312265
chore(deps): update vmactions/freebsd-vm action to v1.1.6 2024-12-23 19:40:37 +00:00
Daniel Hofstetter
ff50a37635
Merge pull request #6992 from uutils/sylvestre-patch-3
GnuTests: also display CURRENT_RUN_SKIP for debug purposes
2024-12-23 08:11:37 +01:00
Daniel Hofstetter
d3db8dc29f
Merge pull request #6987 from sylvestre/setcap
ls: when a file has capabilities (setcap), change the color
2024-12-22 17:12:35 +01:00
Sylvestre Ledru
cec9d9f00a
GnuTests: also display CURRENT_RUN_SKIP for debug purposes 2024-12-22 16:31:56 +01:00
Sylvestre Ledru
e736c2ae36
Merge pull request #6990 from cakebaker/cut_ob_abut
cut: don't merge adjacent ranges
2024-12-22 16:19:07 +01:00
Sylvestre Ledru
ffc6eb094a ls: Don't call the capabilites features of the system when passed an empty ca=
in LS_COLORS

In parallel, in the GNU test, adjust the GNU tests as we don't use libcap
but xattr instead.
2024-12-22 16:17:05 +01:00
Sylvestre Ledru
9a97c18877 ls: when a file has capabilities (setcap), change the color
Should fix tests/ls/capability.sh
2024-12-22 16:17:05 +01:00
Sylvestre Ledru
c22642b68c
Merge pull request #6989 from cakebaker/echo_remove_obsolete_code
echo: remove code made obsolete by MSRV 1.79
2024-12-22 16:16:49 +01:00
Daniel Hofstetter
e7e829bcc6
Merge pull request #6991 from uutils/renovate/platform-info-2.x-lockfile
chore(deps): update rust crate platform-info to v2.0.5
2024-12-22 15:54:49 +01:00
renovate[bot]
d25d2df7f9
chore(deps): update rust crate platform-info to v2.0.5 2024-12-22 14:23:29 +00:00
Daniel Hofstetter
5207451ed8
Merge pull request #6988 from sylvestre/gnu-comment
GNU: Improve the SKIP reporting
2024-12-22 15:22:14 +01:00
Daniel Hofstetter
392c48002c cut: don't merge adjacent ranges 2024-12-22 15:07:04 +01:00
Daniel Hofstetter
efe3cda6ff echo: remove code made obsolete by MSRV 1.79 2024-12-22 14:26:35 +01:00
Sylvestre Ledru
b1d4e1b812 gnu comment: explain what might be the state 2024-12-22 14:13:23 +01:00
Sylvestre Ledru
1337c6f174 Try to report no longer SKIP 2024-12-22 14:13:23 +01:00
Sylvestre Ledru
913d5d413b
Merge pull request #6957 from karlmcdowall/sort_merge_chunking_rework
sort: Rework merge batching logic
2024-12-21 23:19:44 +01:00
Sylvestre Ledru
bb2fb66073
Merge pull request #6882 from jtracey/quoting_style_bytes
quoting_style: Add support for non-UTF-8 bytes
2024-12-21 23:17:43 +01:00
Sylvestre Ledru
21e7149a92
Merge pull request #6986 from uutils/renovate/thiserror-2.x-lockfile
chore(deps): update rust crate thiserror to v2.0.9
2024-12-21 23:15:04 +01:00