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

15910 commits

Author SHA1 Message Date
Sylvestre Ledru
c643ba1874
remove test t tests/chmod/symlinks from the list (#7125)
https://github.com/uutils/coreutils/pull/7025
2025-01-12 02:14:58 +01:00
Sylvestre Ledru
85e71594b6
Merge pull request #7124 from uutils/sylvestre-patch-3
tests/chroot/chroot-credentials has been fixed
2025-01-12 02:09:12 +01:00
Sylvestre Ledru
cc6c4a7bd6
tests/chroot/chroot-credentials has been fxied
https://github.com/uutils/coreutils/pull/7123
2025-01-12 01:43:55 +01:00
Sylvestre Ledru
70cc905592
Merge pull request #7123 from AnirbanHalder654322/chroot_stuff
chroot: make group option self overwriting
2025-01-12 01:42:29 +01:00
Anirban Halder
924d40867c chroot: make group option self overwriting 2025-01-12 01:08:38 +05:30
ctsk
02e49a40c0 df: error on over-mounted device
Make `df` error when two devices are mounted at the same directory and
the earlier one is given as a positional argument to `df`. This is
called "over-mounting". After this commit, an error message is printed
like this:

    df: cannot access '/dev/loop1': over-mounted by another device

Fixes #3970

Co-authored-by: Jeffrey Finkelstein <jeffrey.finkelstein@protonmail.com>
2025-01-11 12:41:25 -05:00
Jeffrey Finkelstein
62879244cb tsort: use Option::inspect over map 2025-01-11 11:58:51 -05:00
jfinkels
700a5f007a
tsort: use iterators to remove from vec
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2025-01-11 11:47:23 -05:00
Sylvestre Ledru
b9765a746b
Merge pull request #7121 from sylvestre/prep-release
Prepare release 0.0.29
2025-01-11 17:43:58 +01:00
Jeffrey Finkelstein
f59c7899c3 Add more test cases and improve precision 2025-01-11 11:27:18 -05:00
Daniel Hofstetter
045a75e2b8
Merge pull request #7025 from sylvestre/chmod-L-2
chmod: add support for the deref and links options
2025-01-11 17:13:08 +01:00
Sylvestre Ledru
f042a9a222 chmod: remove the option from configure_symlink_and_recursion 2025-01-11 16:46:37 +01:00
Sylvestre Ledru
6457836f33 chmod: Remove misleading comments 2025-01-11 16:07:07 +01:00
Daniel Hofstetter
3eec55e531
Merge pull request #7120 from sylvestre/deny-update
Refresh cargo.lock and update deny configuration
2025-01-11 14:25:27 +01:00
Sylvestre Ledru
aef4234fb5 New release 2025-01-11 14:01:27 +01:00
Sylvestre Ledru
354c1d27ec deny: add Unicode 3.0 and zlib as allowed license 2025-01-11 13:48:34 +01:00
Sylvestre Ledru
55ec19ae56 deny: ignore hashbrown duplication 2025-01-11 13:47:11 +01:00
Sylvestre Ledru
22ade13d3f Refresh cargo.lock
Done with:
$ cargo +1.79.0 update
2025-01-11 13:44:50 +01:00
Sylvestre Ledru
78b09f400b chmod: merge some tests into one 2025-01-11 12:48:30 +01:00
Sylvestre Ledru
bb3741067a chmod/chown/chgrp: deduplicate get metadata 2025-01-11 12:48:30 +01:00
Sylvestre Ledru
1a0f41e4cc chmod/chown/chgrp: deduplicate some arg management 2025-01-11 12:48:30 +01:00
Sylvestre Ledru
b0126fdc68 chmod: Implement --dereference, -L, -H, etc
Should fix tests/chmod/symlinks.sh
2025-01-11 12:48:30 +01:00
Sylvestre Ledru
c47ead3639 chmod: split a test into two as they are testing different things 2025-01-11 12:48:30 +01:00
Sylvestre Ledru
b9c535e3ba
Merge pull request #7118 from cakebaker/deny_toml_remove_entries
deny.toml: remove entries from skip list
2025-01-11 10:18:08 +01:00
Daniel Hofstetter
7781f25395 deny.toml: remove entries from skip list 2025-01-11 08:49:47 +01:00
Daniel Hofstetter
c4a6742b7f
Merge pull request #7113 from uutils/renovate/notify-8.x
chore(deps): update rust crate notify to v8
2025-01-11 08:41:16 +01:00
renovate[bot]
5770414424
chore(deps): update rust crate notify to v8 2025-01-11 06:59:02 +00:00
Daniel Hofstetter
67be8eceff
Merge pull request #7114 from uutils/renovate/thiserror-2.x-lockfile
chore(deps): update rust crate thiserror to v2.0.11
2025-01-11 07:55:48 +01:00
Daniel Hofstetter
c77f66f9e0
Merge pull request #7117 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.93
2025-01-11 07:20:58 +01:00
Daniel Hofstetter
7e8f169b7b
Merge pull request #7112 from uutils/renovate/clap_mangen-0.x-lockfile
chore(deps): update rust crate clap_mangen to v0.2.26
2025-01-11 07:14:16 +01:00
renovate[bot]
1c76b4fd24
fix(deps): update rust crate proc-macro2 to v1.0.93 2025-01-11 05:28:18 +00:00
Jeffrey Finkelstein
1d0dcb5962 stat: fix precision when rendering mtime (%Y)
Support precision when rendering the time of last data modification
with `stat`. For example, after this commit

    $ stat --printf='%.1Y\n' f
    1668645806.7

Previously, the precision in the format specification was
ignored. This is implemented with a custom renderer because GNU `stat`
seems to truncate the number as opposed to rounding the number as
would happen when using `format!` with a specified number of digits of
precision.

Fixes #3233
2025-01-10 21:31:01 -05:00
renovate[bot]
ab6e1b2103
chore(deps): update rust crate thiserror to v2.0.11 2025-01-10 23:09:37 +00:00
renovate[bot]
16c7bb7784
chore(deps): update rust crate clap_mangen to v0.2.26 2025-01-10 18:20:57 +00:00
Sylvestre Ledru
2dbc941b69
Merge pull request #7110 from uutils/printf-remove-allow-dead-code
printf: remove allow(dead_code) directive
2025-01-10 11:24:55 +01:00
jfinkels
f2dbd200aa printf: remove allow(dead_code) directive
Remove an `allow(dead_code)` directive that seems unnecessary.
2025-01-10 11:13:48 +01:00
Daniel Hofstetter
cb38d2d02c
Merge pull request #7108 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.42
2025-01-10 10:26:25 +01:00
Sylvestre Ledru
101a4a376b
Merge pull request #7109 from uutils/uucore-docs-crash-mention
uucore: remove mention of crash in docs
2025-01-10 10:10:44 +01:00
Daniel Hofstetter
cf4a81f18f
Merge pull request #7107 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.26
2025-01-10 09:57:11 +01:00
jfinkels
43c7dfdd91 uucore: remove mention of crash in docs
The `crash!` macro has been removed in https://github.com/uutils/coreutils/pull/7084
2025-01-10 09:34:39 +01:00
renovate[bot]
a098eb4d84
chore(deps): update rust crate clap_complete to v4.5.42 2025-01-10 08:26:28 +00:00
renovate[bot]
62ecd00c8c
chore(deps): update rust crate clap to v4.5.26 2025-01-10 08:26:22 +00:00
Sylvestre Ledru
505da7e6fb
Merge pull request #7111 from cakebaker/clippy_fix_errors_rust_1_84
clippy: fix errors introduced with Rust `1.84`
2025-01-10 09:23:43 +01:00
Daniel Hofstetter
51f4bfa1a9 uucore: use is_some_and instead of map_or 2025-01-10 08:55:45 +01:00
Daniel Hofstetter
55367205a9 cp: use is_ok_and instead of map_or 2025-01-10 08:53:03 +01:00
Daniel Hofstetter
9fe4c9facf Cargo.toml: allow large_stack_arrays lint
due to https://github.com/rust-lang/rust-clippy/issues/13774
2025-01-10 08:34:24 +01:00
Daniel Hofstetter
e75abb2dbd cp: fix error from large_stack_arrays lint in test 2025-01-10 08:33:28 +01:00
Daniel Hofstetter
e777db9304 ls: compile regexes outside of loop in tests 2025-01-10 07:42:13 +01:00
Daniel Hofstetter
c872cfa5d1 cp: use is_some_and instead of map_or 2025-01-10 07:28:37 +01:00
Sylvestre Ledru
cef9a2b960
Merge pull request #7106 from cakebaker/csplit_simplify_test
csplit: simplify test
2025-01-09 15:38:18 +01:00