Commit graph

12697 commits

Author SHA1 Message Date
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
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
Daniel Hofstetter
eacf53d010
Merge pull request #6264 from uutils/renovate/winapi-util-0.x
chore(deps): update rust crate winapi-util to 0.1.7
2024-04-23 17:22:29 +02:00
renovate[bot]
b42f7e0940
chore(deps): update rust crate winapi-util to 0.1.7 2024-04-23 14:49:52 +00:00
Anton Patrushev
423494421b
more: use dev tty instead of mio to avoid panics (#6262)
* more: use dev tty instead of mio to avoid panics

* move more specific dependecy to more package
2024-04-23 16:48:21 +02:00
Sylvestre Ledru
7a2314cf4e
Merge pull request #6263 from cakebaker/cp_remove_unnecessary_touch
cp: remove unnecessary calls of `touch()` in tests
2024-04-23 16:32:18 +02:00
Daniel Hofstetter
fabe9ac128 cp: remove unnecessary calls of touch() in tests 2024-04-23 15:28:22 +02:00
Anirban Halder
421b820ec2
Fix the debug results in cp --debug (#6220) 2024-04-22 17:02:21 +02:00
Sylvestre Ledru
366af1c056
Merge pull request #6260 from cakebaker/env_missing_space
env: add missing space to help output
2024-04-22 17:01:55 +02:00
Daniel Hofstetter
d8792d7b69 env: add missing space to help output 2024-04-22 16:56:21 +02:00
Sylvestre Ledru
a1cdab3d60
Merge pull request #6259 from cakebaker/env_remove_gnu_env_dependency
env: remove dependency on GNU env in tests
2024-04-22 15:35:49 +02:00
Daniel Hofstetter
a2bc0ffdb0 env: remove dependency on GNU env in tests 2024-04-22 14:55:14 +02:00
Sylvestre Ledru
d63bc4a4e1
seq: add the unit test even if they are failing for now (#6236)
* seq: add the unit test even if they are failing for now

* improve test

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-04-21 14:48:03 +02:00
Daniel Hofstetter
2c67775cef
Merge pull request #6258 from sylvestre/touch
Minor nits in the tests
2024-04-21 14:24:11 +02:00
Daniel Hofstetter
fed1664ca1
Merge pull request #6257 from uutils/renovate/zip-1.x
chore(deps): update rust crate zip to 1.1.1
2024-04-21 13:39:13 +02:00
Sylvestre Ledru
13cfe2d8e5 test: replace at.write by at.touch 2024-04-21 13:23:24 +02:00
Sylvestre Ledru
3a72d5c5cb test tail: replace fixtures by at for consistency 2024-04-21 13:20:38 +02:00
renovate[bot]
6e1394d0db
chore(deps): update rust crate zip to 1.1.1 2024-04-21 10:51:07 +00:00
Sylvestre Ledru
0b78b77fb2
Merge pull request #6110 from cre4ture/feature/factor_fix_gnu_tests_with_num_prime
Feature/factor fix gnu tests with num prime
2024-04-21 12:49:51 +02:00
Ulrich Hornung
d202baba97 use num_prime for factorisation to fix gnu test 2024-04-21 11:24:25 +02:00
Sylvestre Ledru
64027e5a57
Merge pull request #6252 from sylvestre/hash-error
hashsum: improve the error management to match GNU
2024-04-21 09:55:16 +02:00
sreehari prasad
a1717436a4
cp: gnu "same-file" test case compatibility (#6190)
* cp: -b doesn't ignore "version control" env

* cp: gnu "same-file" test compatibility fix
2024-04-21 09:49:45 +02:00
Sylvestre Ledru
6ef08d7f1c hashsum: improve the error management to match GNU
Should make tests/cksum/md5sum.pl and tests/cksum/sha1sum.pl pass
2024-04-21 09:08:27 +02:00
Sylvestre Ledru
128c0bc6b5 hashsum: gnu compat no need to replicate this output with hashsum 2024-04-21 09:08:27 +02:00
Sylvestre Ledru
94f5e82dbd hashsum: ignore empty lines in --check 2024-04-21 09:08:27 +02:00
Sylvestre Ledru
beb7395c84 hashsum: move handle_captures & gnu_re_template move away from the hashsum function 2024-04-21 09:08:27 +02:00
Sylvestre Ledru
f78b408830
Merge pull request #6255 from uutils/renovate/zip-1.x
chore(deps): update rust crate zip to v1
2024-04-21 09:06:38 +02:00
Daniel Hofstetter
c83cec7c0c env: move unit tests to env.rs 2024-04-21 01:26:50 +02:00
Daniel Hofstetter
29e5d0b42b clippy: fix redundant_clone lint warnings in tests 2024-04-21 01:26:50 +02:00
Daniel Hofstetter
2ee782fcf1 ci: remove unused CARGO_FEATURES_OPTION 2024-04-21 01:26:50 +02:00
Daniel Hofstetter
bde10cd9c6 ci: use -pcoreutils when running clippy
instead of using -putil_1 -putil2 etc.
2024-04-21 01:26:50 +02:00
renovate[bot]
6a08e2df87
chore(deps): update rust crate zip to v1 2024-04-20 22:10:25 +00:00