1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00
Commit graph

15910 commits

Author SHA1 Message Date
Sylvestre Ledru
8d94add393 set_selinux_security_context split the ContextRetrievalFailure error in two 2025-05-01 14:10:13 +02:00
Sylvestre Ledru
3bc267902c set_selinux_security_context should return an Error, not String 2025-05-01 14:10:13 +02:00
Daniel Hofstetter
8ec5fe189b
Merge pull request #7864 from uutils/renovate/sha2-0.x-lockfile
chore(deps): update rust crate sha2 to v0.10.9
2025-05-01 07:36:00 +02:00
renovate[bot]
db89b7a415
chore(deps): update rust crate sha2 to v0.10.9 2025-04-30 20:29:51 +00:00
Dorian Péron
279629f67e
Merge pull request #7855 from jtracey/printf-nonzero
printf: use non-zero indexes
2025-04-30 16:32:31 +02:00
Daniel Hofstetter
698cdf1427
Merge pull request #7862 from drinkcat/profiling-profile
Cargo.toml: Add profiling profile
2025-04-30 09:14:32 +02:00
Nicolas Boichat
b5824cd498 Cargo.toml: Add profiling profile
Also fix comment about release profile, debug info is not there.
2025-04-29 22:37:41 +08:00
Leo Emar-Kar
b14388ca41
ls: update chrono crate version and switch to new_lenient use (#7858)
* update chrono crate version and switch to new_lenient use

* bring back custom_tz_fmt and update test

* update chrono version in fuzz lock file

* replace boxing with parse_to_owned
2025-04-29 16:29:42 +02:00
Daniel Hofstetter
8084231eb9
Merge pull request #7859 from drinkcat/cicd-disable-windows-gnu
CICD: Disable windows-latest/x86_64-pc-windows-gnu for now
2025-04-29 16:18:44 +02:00
Daniel Hofstetter
faa2219262
Merge pull request #7854 from drinkcat/date-tests
date: add `%q` test, support `%#z` properly
2025-04-29 16:12:10 +02:00
Nicolas Boichat
deef8cbfd6 CICD: Disable windows-latest/x86_64-pc-windows-gnu for now
rust-orig current release is broken with GCC 15.1, and I don't
think it's possible to pin to an older github image, or an older
msys2 gcc...

Fixed upstream: https://github.com/rust-onig/rust-onig/issues/191
But waiting for new release: https://github.com/rust-onig/rust-onig/issues/193
2025-04-29 21:47:50 +08:00
Nicolas Boichat
19e08d5c11 test_date: Add test for quarter
This was fixed upstream in #7333, but it's a good idea to have a
test here as well, especially as we're considering switching
datetime library.
2025-04-29 21:35:00 +08:00
Nicolas Boichat
25e4410c3b date: Properly support %#z, instead of rejecting the format
It's easy to just replace %#z with %z as the capitalization makes
no sense anyway.
2025-04-29 21:35:00 +08:00
Daniel Hofstetter
053e6b4d08
Merge pull request #7856 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.48
2025-04-29 07:10:33 +02:00
renovate[bot]
5c3a52b0eb
chore(deps): update rust crate clap_complete to v4.5.48 2025-04-28 22:54:13 +00:00
Justin Tracey
27487be267
printf: use non-zero indexes 2025-04-28 14:06:12 -04:00
Dan Hipschman
e92e419a93 cp: refuse to copy symlink over itself 2025-04-28 09:56:43 +02:00
bitspill
d957e64999
Merge pull request #7492 from bitspill/rm
rm: skip prompt when stdin is not interactive; Fix #7326
2025-04-27 23:54:16 +02:00
Teemu Pätsi
07501be4ae
expr: Escape anchor characters within pattern (#7842)
* expr: Escape anchor characters within the core pattern

The anchor characters `^` and `$` are not considered special characters by `expr`
unless they are used as expected on the start or end of the pattern.
2025-04-27 23:52:35 +02:00
Sylvestre Ledru
ddf48facbe
Merge pull request #7848 from hz2/uutests-repo-link-fix
fixed link to repo on uutests docs
2025-04-27 10:14:59 +02:00
jsondevers
2e1c91f682 fixed link to repo on uutests docs 2025-04-26 18:36:21 -07:00
Daniel Hofstetter
ed3da5fd65
Merge pull request #7847 from BenWiederhake/dev-shred-deterministic-random-passes-extension
shred: document simplified (better?) number of random passes
2025-04-26 19:16:31 +02:00
Ben Wiederhake
abb2acc3a2 shred: document simplified (better?) number of random passes 2025-04-26 18:37:35 +02:00
Teemu Pätsi
c6e2f9fd9a
expr: Enable ignored test_anchor test 2025-04-26 18:28:21 +03:00
Teemu Pätsi
8cd51227c6
expr: Fix regex anchor matching behavior with REGEX_OPTION_SINGLELINE
The previously used `REGEX_OPTION_NONE` allowed anchors (^) and ($) to match across newlines.

New anchor behaviors:
- `^` matches the start of the entire string (`\A`)
- `$` matches the end of the entire string (`\Z`)
2025-04-26 18:22:22 +03:00
Sylvestre Ledru
606c0c1f57
Merge pull request #7837 from sargas/add-indexing-to-printf
printf: Add indexing to format strings
2025-04-25 23:58:01 +02:00
Sylvestre Ledru
7b6a262e9a
Merge pull request #7843 from dan-hipschman/date-test-relative-weekdays
date: add tests for relative weekdays
2025-04-25 23:52:12 +02:00
Dan Hipschman
fe93dae612 date: add tests for relative weekdays 2025-04-25 14:09:22 -07:00
Daniel Hofstetter
0ec36bef11
Merge pull request #7838 from zcg00/install_deletes_files
install: fixes issue #7795
2025-04-25 15:10:11 +02:00
Daniel Hofstetter
63272820f3
Merge pull request #7839 from sylvestre/bump_parse_datetime
update parse_datetime to 0.9.0
2025-04-25 13:44:16 +02:00
Zachary Goff-Hodges
827d0fcee9
install: fixes issue #7795 2025-04-25 03:48:50 -07:00
Sylvestre Ledru
bf747acd30 update parse_datetime 2025-04-25 11:31:08 +02:00
Daniel Hofstetter
c5fba4bfd8
Merge pull request #7831 from sylvestre/selinux-mkfifo
mkfifo: implement selinux support
2025-04-25 09:11:50 +02:00
Joseph Jon Booker
7f98d98472 printf: Add indexing to format strings 2025-04-24 22:11:49 -05:00
Sylvestre Ledru
18db15e4e6
Merge pull request #7208 from jtracey/printf-go
printf: improve support of printing multi-byte values of characters
2025-04-24 22:02:13 +02:00
Sylvestre Ledru
b7f2815668
Merge pull request #7833 from cakebaker/shred_remove_obsolete_test
shred: remove obsolete test
2025-04-24 21:56:19 +02:00
Sylvestre Ledru
4a94a4e1dc spell: add getfattr in the ignore list 2025-04-24 21:54:29 +02:00
Sylvestre Ledru
8298173554 mkfifo: implement selinux support
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

merge
2025-04-24 21:54:12 +02:00
Sylvestre Ledru
c8505d41dc
Merge pull request #7836 from cakebaker/id_fix_7835
id: adapt error message to match the one from GNU `id`
2025-04-24 21:50:02 +02:00
Daniel Hofstetter
48c4c82ab3 id: remove unnecessary #[cfg(unix)] in tests 2025-04-24 15:21:11 +02:00
Daniel Hofstetter
2b5391e6eb id: fix error message & simplify tests 2025-04-24 15:21:11 +02:00
Daniel Hofstetter
e378558996 shred: remove obsolete test 2025-04-24 09:25:11 +02:00
Jeremy Smart
b151e039ae
shred: fix random passes* (#7830)
* shred: fix random passes, update documentation, add test

* shred: update tests
2025-04-24 09:15:36 +02:00
Dorian Péron
151b196f50
Merge pull request #7828 from cakebaker/mknod_remove_duplicate_test
mknod: remove duplicate test
2025-04-24 05:08:07 +02:00
Jeremy Smart
044b33d8cb
Merge pull request #7760 from Qelxiros/7670-tail-hex-formatting
tail hex parsing, remove fundu dependency
2025-04-23 18:34:00 +02:00
Sylvestre Ledru
0125bbc2b4
Merge pull request #7825 from cakebaker/mknod_refactor_uumain
mknod: refactor `uumain`
2025-04-23 18:29:37 +02:00
Daniel Hofstetter
f91e3215c1 mknod: remove duplicate test 2025-04-23 17:33:58 +02:00
Daniel Hofstetter
be4e6913a5 mknod: cleanup dev handling 2025-04-23 11:49:29 +02:00
Daniel Hofstetter
a3c181dce3 mknod: cleanup mode handling 2025-04-23 11:37:47 +02:00
Daniel Hofstetter
482f882b4c
mknod: rename function _mknod to mknod (#7824) 2025-04-23 11:03:37 +02:00