1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-13 03:17:47 +00:00
Commit graph

15884 commits

Author SHA1 Message Date
Jeffrey Finkelstein
dac35129d2 date: add dependencies for managing time zones
Add dependencies on third-party packages `chrono-tz` and
`iana-time-zone` to our `date` package. Together, these two packages
allow us to produce time zone abbreviations (like `UTC`) from numeric
timezone offsets.
2025-01-14 17:49:11 -05:00
Sylvestre Ledru
7f0d77954d GNU build: perf the change only once 2025-01-14 23:41:07 +01:00
Sylvestre Ledru
d445edfd19 GNU build: disable an old check 2025-01-14 23:41:07 +01:00
Sylvestre Ledru
106873171d dircolors: ignore spell issues 2025-01-14 23:25:32 +01:00
Sylvestre Ledru
591cdc1d31 dircolors: split the code to remove the clippy warning 2025-01-14 23:25:32 +01:00
Sylvestre Ledru
1db2e2356a dircolors: fix empty COLORTERM matching with ?* pattern
should fix tests/misc/dircolors
2025-01-14 23:25:32 +01:00
Sylvestre Ledru
1ffb6fd5b1
Merge pull request #7135 from cakebaker/numfmt_replace_run
numfmt: use `succeeds()`/`fails()` instead of `run()` in tests
2025-01-14 18:46:50 +01:00
Daniel Hofstetter
de18b76555 numfmt: use succeeds/fails instead of run in tests 2025-01-14 16:29:46 +01:00
Sylvestre Ledru
74d80eab0a
Merge pull request #7061 from DaringCuteSeal/cp-stream-2
cp: implement copying from streams
2025-01-13 14:13:13 +01:00
Sylvestre Ledru
40511f6da0
Merge pull request #7122 from jfinkels/dd-error-iflag-directory
dd: error if iflag=directory and input is stdin
2025-01-13 14:11:32 +01:00
Daniel Hofstetter
acd79d3f79
Merge pull request #7133 from uutils/sylvestre-patch-3
gnu/tests/split/line-bytes.sh fixed
2025-01-13 13:31:36 +01:00
Sylvestre Ledru
2594404cb4
gnu/tests/split/line-bytes.sh fixed
https://github.com/uutils/coreutils/pull/7128
2025-01-13 11:51:03 +01:00
Sylvestre Ledru
bb5c991540
Merge pull request #7128 from jfinkels/split-line-bytes-large-args
split: fix bug with large arguments to -C
2025-01-13 11:50:14 +01:00
Daniel Hofstetter
cc4cf700e5
Merge pull request #7130 from uutils/sylvestre-patch-3
doc: df test now passes
2025-01-13 09:42:50 +01:00
Jeffrey Finkelstein
071e72ffc8 split: fix bug with large arguments to -C
Fix the behavior of `split -C` when given large arguments. Before this
commit, bytes were being greedily assigned to a chunk too aggressively,
leading to a situation where a split happened in the middle of a line
even though the entire line could have fit within the next chunk. This
was appearing for large arguments to `-C` and long lines that extended
beyond the size of the read buffer. This commit fixes the behavior.

Fixes #7026
2025-01-13 09:36:48 +01:00
Jeffrey Finkelstein
d9b3b3ef67 dd: error if iflag=directory and input is stdin
Make `dd` error if `iflag=directory` and the input file is not a
directory, as in

    : | dd iflag=directory

Fixes #5900
2025-01-13 09:36:36 +01:00
Sylvestre Ledru
54bc3cf944
Merge pull request #7132 from cakebaker/ci_install_libselinux
ci: install `libselinux1-dev`
2025-01-13 09:36:06 +01:00
Daniel Hofstetter
a850fc059f ci: install libselinux1-dev 2025-01-13 09:11:25 +01:00
Sylvestre Ledru
35b896f5e1
Merge pull request #7093 from jfinkels/tsort-print-cycle
tsort: print nodes and cycles as they are visited
2025-01-13 08:52:38 +01:00
Sylvestre Ledru
5d6f51aae9
Merge pull request #7131 from cakebaker/downgrade_log
Cargo.lock: downgrade `log` from `0.4.24` to `0.4.22`
2025-01-13 08:45:09 +01:00
Daniel Hofstetter
6e1504ff68 Cargo.lock: downgrade log from 0.4.24 to 0.4.22
because the newer versions have been yanked
2025-01-13 08:20:30 +01:00
Sylvestre Ledru
98699b61ab
df test now passes
https://github.com/uutils/coreutils/pull/7116
2025-01-12 21:29:53 +01:00
Sylvestre Ledru
da40b3564e
Merge pull request #7116 from jfinkels/df-error-on-overmounted
df: error on over-mounted device
2025-01-12 21:28:47 +01:00
Sylvestre Ledru
988cc4eae3
Merge pull request #7115 from jfinkels/stat-format-mtime-precision
stat: fix precision when rendering mtime (%Y)
2025-01-12 17:07:31 +01:00
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