1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-15 12:27:49 +00:00
Commit graph

15884 commits

Author SHA1 Message Date
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
renovate[bot]
d762a1633f
chore(deps): update rust crate thiserror to v2.0.9 2024-12-21 19:31:59 +00:00
Daniel Hofstetter
a152687d48
Merge pull request #6971 from sylvestre/mkfifo
mkfifo: better handle the mode + umask
2024-12-21 15:31:15 +01:00
Sylvestre Ledru
609eee6f0c
Merge pull request #6984 from cakebaker/cut_fix_overriding_of_equal_delimiter
cut: fix overriding of `-d=`
2024-12-20 18:40:28 +01:00
Sylvestre Ledru
31ffc3a0eb mkfifo: better handle the mode + umask
Should make tests/misc/mknod.sh pass
2024-12-20 18:17:52 +01:00
Daniel Hofstetter
cf8a81c6c2 cut: fix overriding of -d= 2024-12-20 10:02:36 +01:00
Sylvestre Ledru
389ccbc145
Merge pull request #6976 from dcampbell24/zizmor-fix-02
Use the env variable STYLE_FAIL_ON_FAULT.
2024-12-20 09:31:39 +01:00
David Campbell
183063fa14
Merge branch 'main' into zizmor-fix-02 2024-12-20 03:13:15 -05:00
Sylvestre Ledru
37492b4815
Merge pull request #6982 from jtracey/patch-8
Android CICD: use posix style test
2024-12-20 07:54:51 +01:00
Justin Tracey
74b613d155
Android CICD: use posix style test 2024-12-19 21:01:56 -05:00
Justin Tracey
db1ed4c094
core: improve OsStr(ing) helpers
This adds the `os_str_as_bytes_lossy` function, for when we want infallible
conversion across platforms, and improves the doc comments of similar functions
to be more accurate and better formatted.
2024-12-19 17:10:16 -05:00
Santeri Paavolainen
2ae914b268
uucore: correctly truncate response if getgroups shrinks (#6978)
The code above this line handles the case if `res` is
larger than `ngroups`, but `res < ngroups` is also a possibility,
which this line attempts to address but actually does not.

The original code resizes to `ngroups` which is a no-op (given
that `groups` is already `ngroups` size). The correct target for
re-sizing the `groups` is the result from the last `getgroups`,
i.e., `res`.
2024-12-19 13:54:24 +01:00
Sylvestre Ledru
4341ae3223
Merge pull request #6964 from DaringCuteSeal/splice-uucore
uucore: add common splice-write functionality
2024-12-19 13:38:26 +01:00
Daringcuteseal
625c49d0fe
uucore: add common splice-write functionality
Splice is a Linux-specific syscall that allows direct data copying from
    one file descriptor to another without user-space buffer. As of now, this
    is used by `cp`, `cat`, and `install` when compiled for Linux and Android.
2024-12-19 18:32:11 +07:00
David Campbell
8ba264fa27 Use the env variable STYLE_FAIL_ON_FAULT. 2024-12-19 09:08:44 +01:00
Sylvestre Ledru
db332e52b3
Merge pull request #6974 from dcampbell24/zizmor-fix-00
GnuComment: zizmor: ignore[dangerous-triggers]
2024-12-19 09:08:31 +01:00
Sylvestre Ledru
20c128a68e
Merge pull request #6975 from dcampbell24/zizmor-fix-01
Set persist-credentials: false
2024-12-19 08:55:53 +01:00
Sylvestre Ledru
0e11bbf39e
Merge pull request #6973 from dcampbell24/zizmor-fix
Put DEFAULT_BRANCH into an env variable.
2024-12-19 07:53:30 +01:00
Daniel Hofstetter
3620e08a3c
Merge pull request #6977 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.169
2024-12-19 07:37:48 +01:00
renovate[bot]
3295e831a1
fix(deps): update rust crate libc to v0.2.169 2024-12-19 06:09:57 +00:00
David Campbell
655defd15c
Set persist-credentials: false 2024-12-18 21:27:34 -05:00
David Campbell
15bea52b53
GnuComment: zizmor: ignore[dangerous-triggers] 2024-12-18 20:04:50 -05:00
David Campbell
67360ba8e9
Put DEFAULT_BRANCH into an env variable. 2024-12-18 18:42:06 -05:00
Justin Tracey
43229ae104
quoting_style: use and return OsStrings
This exposes the non-UTF-8 functionality to callers. Support in `argument`,
`spec`, and `wc` are implemented, as their usage is simple. A wrapper only
returning valid unicode is used in `ls`, since proper handling of OsStrings
there is more involved (outputs that escape non-unicode work now though).
2024-12-18 15:28:39 -05:00
Justin Tracey
2331600f4c
quoting_style: fix multi-byte control characters 2024-12-18 15:28:28 -05:00
Justin Tracey
355103134b
quoting_style: add support for non-unicode bytes
This new functionality is implemented, but not yet exposed here.
2024-12-18 15:28:18 -05:00
Justin Tracey
cb3be5e3aa
Bump MSRV to 1.79 2024-12-18 14:02:42 -05:00