Commit graph

12727 commits

Author SHA1 Message Date
Ben Wiederhake
e4b6687196 realpath+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
289346a4ba printf+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
bebddc6ad4 od+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
a53ec17b67 numfmt+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
f1a683d45f mktemp+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
9266b4a7fa ls+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
63699a41d6 kill+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
b39b405826 basenc+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
db61684bc0 basename+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
95b36f2d4f uucore: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
Ben Wiederhake
34da5029df cat+tests: simplify spell-checker exceptions 2024-04-30 18:28:20 +02:00
Sylvestre Ledru
1162c53f56
Merge pull request #6293 from cakebaker/cp_remove_panics_in_tests
cp: remove panics in tests
2024-04-30 17:25:18 +02:00
Daniel Hofstetter
96ed764fda cp: remove panics in tests 2024-04-30 16:22:49 +02:00
Daniel Hofstetter
b8aa4e1d10
Merge pull request #6292 from lcheylus/clippy-sort
sort: disable clippy::suspicious_open_options on OpenBSD
2024-04-30 14:13:38 +02:00
Laurent Cheylus
ee4392e30c
sort: disable clippy::suspicious_open_options on OpenBSD
- Avoid error on OpenBSD stable/7.5 with clippy (lint)
- suspicious_open_options added in Rust 1.77.0 (1.76 used on OpenBSD 7.5)
  https://rust-lang.github.io/rust-clippy/master/index.html#/suspicious_open_options

Fix uutils/coreutils#6290

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-04-30 10:05:28 +02:00
Daniel Hofstetter
277c939cac
Merge pull request #6291 from uutils/renovate/libc-0.x
chore(deps): update rust crate libc to 0.2.154
2024-04-30 07:00:59 +02:00
renovate[bot]
19262aabe5
chore(deps): update rust crate libc to 0.2.154 2024-04-29 22:05:14 +00:00
Sylvestre Ledru
969fb2e818
Merge pull request #6287 from BenWiederhake/dev-fewer-test-leakage
od+tests: use TestScenario, avoid spamming /tmp on failure
2024-04-29 10:46:23 +02:00
Daniel Hofstetter
5fbc588b85
Merge pull request #6288 from BenWiederhake/dev-id-flag-repeat
id: Handle repeated flags, recognize conflict between pretty-print and passwd file-entry
2024-04-29 10:42:15 +02:00
Daniel Hofstetter
174c842337
docs: describe extensions of id (#6289) 2024-04-29 10:38:18 +02:00
Ben Wiederhake
4f5a3b4716 id: mark passwd-format and pretty-print as conflicting
These are non-sensical to combine, and didn't work reasonably anyway.
Also, passwd-formatting is our own extension, so there is no need for
compatibility anyway.
2024-04-28 23:05:43 +02:00
Ben Wiederhake
e978fe5382 id: permit repeated flags 2024-04-28 22:39:14 +02:00
Ben Wiederhake
ebb21d0bdf od+tests: use TestScenario, avoid spamming /tmp on failure 2024-04-28 21:49:31 +02:00
renovate[bot]
73db512ab5 chore(deps): update rust crate zip to 1.1.2 2024-04-28 21:48:15 +02:00
Daniel Hofstetter
3637e0897c Bump bigdecimal from 0.4.0 to 0.4.2 2024-04-28 20:17:40 +02:00
Daniel Hofstetter
7ac5595cdc
Merge pull request #6279 from BenWiederhake/dev-fix-multicall-test-precondition
tests: fix multi-call test precondition
2024-04-28 14:20:56 +02:00
Daniel Hofstetter
2801b990b0
Merge pull request #6282 from uutils/renovate/data-encoding-macro-0.x
fix(deps): update rust crate data-encoding-macro to 0.1.15
2024-04-28 13:22:25 +02:00
renovate[bot]
9e52aa0cb1
fix(deps): update rust crate data-encoding-macro to 0.1.15 2024-04-28 10:39:08 +00:00
Daniel Hofstetter
864f3c970c
Merge pull request #6283 from uutils/renovate/data-encoding-2.x
fix(deps): update rust crate data-encoding to 2.6
2024-04-28 12:36:34 +02:00
renovate[bot]
dcf7a50392
fix(deps): update rust crate data-encoding to 2.6 2024-04-28 09:21:27 +00:00
Darius Carrier
5ee9c69f59
kill: adding support for handling SIGEXIT (#6269)
kill: convert SIGEXT (0) to None so nix takes correct action
2024-04-27 17:33:45 +02:00
Ben Wiederhake
d5b79329ad tests: fix multi-call test precondition
This bug was introduced in de37baaf83.
2024-04-27 16:12:01 +02:00
Daniel Hofstetter
65b25c7a27
Merge pull request #6277 from uutils/renovate/unicode-width-0.x
chore(deps): update rust crate unicode-width to 0.1.12
2024-04-27 06:55:56 +02:00
renovate[bot]
ce377760ba
chore(deps): update rust crate unicode-width to 0.1.12 2024-04-27 00:55:22 +00:00
Daniel Hofstetter
f95f363096
Merge pull request #6274 from cre4ture/feature/android_incremental_install_for_retries
android CI: incremental install when retry
2024-04-26 16:16:59 +02:00
Ulrich Hornung
5d763358fa
android CI: incremental install when retry 2024-04-26 12:07:35 +02:00
Sylvestre Ledru
4090d468c0
Merge pull request #6162 from BenWiederhake/dev-undo-custom-exit-codes
all: Undo custom exit codes
2024-04-25 08:11:41 +02:00
Sylvestre Ledru
9a6e0b7bef
Merge pull request #6198 from BenWiederhake/dev-better-test-coverage
tests: test multi-call logic
2024-04-25 08:11:00 +02:00
Daniel Hofstetter
8e99a2f595
Merge pull request #6271 from uutils/renovate/winapi-util-0.x
chore(deps): update rust crate winapi-util to 0.1.8
2024-04-25 07:06:32 +02:00
renovate[bot]
798435c825
chore(deps): update rust crate winapi-util to 0.1.8 2024-04-25 03:25:44 +00:00
Sylvestre Ledru
04b6b7fe48
Merge pull request #6270 from rivy/fix.CICD
fix/CI ~ re-enable artifact deployment for version tagged commits
2024-04-24 22:06:50 +02:00
Roy Ivy III
df3c3f31e1 fix/CI ~ re-enable artifact deployment for version tagged commits 2024-04-24 14:06:02 -05:00
Roy Ivy III
8db76c900c Revert "CI: change publish step condition"
This reverts commit da0b580504.
2024-04-24 14:06:02 -05:00
Sylvestre Ledru
72b4a0888d
Merge pull request #6268 from jadijadi/fix-netbsd-build
Fixing the build issue on NetBSD
2024-04-24 18:26:26 +02:00
Daniel Hofstetter
7cee2c5a2b
Merge pull request #6226 from mvo5/du-h-precision
du: give `-h` output the same precision as GNU coreutils
2024-04-24 17:42:02 +02:00
Jadi
ac87b73244 Fixing the build issue on NetBSD.
The NetBSD was missing for target-os checks on fsext.rs

Fixed #6261
2024-04-24 15:26:02 +00:00
Daniel Hofstetter
91b4ce6426 ls: add uucore/format feature 2024-04-24 17:06:13 +02:00
Daniel Hofstetter
89af8b9769 du,uucore: add words to spell-checker:ignore 2024-04-24 16:54:32 +02:00
Michael Vogt
61e0450c66 du: give -h output the same precision as GNU coreutils
When printing the `du -h` output GNU coreutils does autoscale
the size, e.g.
```
$ truncate -s12M a
$ truncate -s8500 b
$ truncate -s133456345 c
$ truncate -s56990456345 d
$ du -h --apparent-size a b c d
12M	a
8,4K	b
128M	c
54G	d
```
Align our version to do the same by sharing the code with `ls`.

Closes: #6159
2024-04-24 16:53:08 +02:00
Michael Vogt
d07fb73630 ls,uucore: extract display human_readable() helper from ls
This commit extract the `display_size()` helper from `ls` into
`uucore` as `human_readable` to be similar to the gnulib helper
so that the human readable display of sizes can be shared between
ls, du, df.
2024-04-24 16:53:08 +02:00