Commit graph

13129 commits

Author SHA1 Message Date
Ben Wiederhake
42b3baf32f clippy: simplify code according to nightly 'needless_borrows_for_generic_args' lint
https://rust-lang.github.io/rust-clippy/master/index.html#/needless_borrows_for_generic_args
2024-07-18 15:59:36 +02:00
Ben Wiederhake
76af976e48 uucore: add missing import
No idea why this is only caught by clippy nightly.
See also https://github.com/uutils/coreutils/pull/6483
2024-07-18 15:59:36 +02:00
Ben Wiederhake
471f047a64 clippy: simplify code according to nightly 'byte_char_slices' lint
https://rust-lang.github.io/rust-clippy/master/index.html#/byte_char_slices
2024-07-18 15:59:36 +02:00
mhead
84f8b7a98b proper error message when inter-partition copying fails with test 2024-07-18 13:11:34 +02:00
mhead
ff12e6ee87 mv: gnu test case to-symlink fix 2024-07-18 13:11:34 +02:00
Dorian Péron
9ab7fa9806 tr: accept non utf8 arguments for sets 2024-07-18 13:00:32 +02:00
Dorian Péron
e7f965d6a8 cut: move os_string_as_bytes utility to uucore 2024-07-18 13:00:32 +02:00
Justin Tracey
5882304dcd
Fix Android CI (#6580)
* android CI: get termux user from emulator

* stat: fix android builds
2024-07-18 09:45:00 +02:00
Daniel Hofstetter
1659422b90
Merge pull request #6579 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.63
2024-07-18 07:58:38 +02:00
renovate[bot]
a5daed96ff
chore(deps): update rust crate thiserror to v1.0.63 2024-07-17 20:03:34 +00:00
Daniel Hofstetter
6c0bf35640
Merge pull request #6568 from uutils/renovate/redox_syscall-0.x-lockfile
chore(deps): update rust crate redox_syscall to v0.5.3
2024-07-16 07:43:16 +02:00
Sylvestre Ledru
7470f657ad
Merge pull request #6571 from BenWiederhake/dev-fix-mac-ci
uptime: relax error message due to different errno on MacOS
2024-07-15 22:15:37 +02:00
Ben Wiederhake
6818bbe5d7 uptime: relax error message due to different errno on MacOS
Fixes #6569.
2024-07-15 21:49:42 +02:00
Dorian Péron
128335a24b tr: Raise error if set2 is too big on complemented class 2024-07-15 17:55:40 +02:00
renovate[bot]
b7bb40d240
chore(deps): update rust crate redox_syscall to v0.5.3 2024-07-15 15:40:15 +00:00
Daniel Hofstetter
ee75d5a5e1
Merge pull request #6567 from uutils/renovate/blake3-1.x-lockfile
chore(deps): update rust crate blake3 to v1.5.3
2024-07-15 09:24:05 +02:00
renovate[bot]
c4c716914a
chore(deps): update rust crate blake3 to v1.5.3 2024-07-15 06:56:53 +00:00
kf zheng
a77848fb83
printf: Fix extra padding (#6548) 2024-07-13 10:19:01 +02:00
Daniel Hofstetter
f175a0a795
Merge pull request #6565 from uutils/renovate/blake3-1.x-lockfile
chore(deps): update rust crate blake3 to v1.5.2
2024-07-13 07:01:59 +02:00
renovate[bot]
2bceb35f40
chore(deps): update rust crate blake3 to v1.5.2 2024-07-12 19:16:33 +00:00
Daniel Hofstetter
47d1beef92
Merge pull request #6553 from uutils/renovate/reactivecircus-android-emulator-runner-2.x
chore(deps): update reactivecircus/android-emulator-runner action to v2.32.0
2024-07-12 09:32:40 +02:00
Daniel Hofstetter
3ede90de1b
Merge pull request #6562 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.62
2024-07-12 08:58:06 +02:00
renovate[bot]
e2d2fb71cf
chore(deps): update rust crate thiserror to v1.0.62 2024-07-12 01:40:50 +00:00
Sylvestre Ledru
59b36da191
Merge pull request #6561 from cakebaker/uucore_add_words_to_spell_checker_ignore
uucore/proc_info: ignore spelling of some words
2024-07-11 11:22:01 +02:00
Daniel Hofstetter
6b4d0779fe uucore/proc_info: ignore spelling of some words 2024-07-11 09:35:47 +02:00
Daniel Hofstetter
399da70c15
Merge pull request #6471 from RenjiSann/main
tests(date): Add tests for #6392
2024-07-11 09:26:58 +02:00
Dorian Péron
e4f89761a7 tests(date): Add tests for #6392
These tests check that days and month with a single digit are correctly handled.
2024-07-10 14:42:44 +02:00
Sylvestre Ledru
3450eb8ce1
Merge pull request #6557 from uutils/revert-6556-sylvestre-patch-1
Revert "Try to use linux high perf runners"
2024-07-10 13:26:09 +02:00
Sylvestre Ledru
0819952978
Revert "Try to use linux high perf runners" 2024-07-10 13:25:47 +02:00
Sylvestre Ledru
256b2ded82
Merge pull request #6556 from uutils/sylvestre-patch-1
Try to use linux high perf runners
2024-07-10 11:31:00 +02:00
Krysztal Huang
7cf5f5c2f7
uucore: Move pgrep/process.rs to uucore (#6483)
needed for https://github.com/uutils/procps/
2024-07-10 11:30:11 +02:00
Sylvestre Ledru
e51b96bcb9
Try to use linux high perf runners 2024-07-09 23:56:27 +02:00
Sylvestre Ledru
c90b69398f
Merge pull request #6382 from BenWiederhake/dev-signal-casing
uucore+timeout: accept signals of any casing
2024-07-09 23:18:25 +02:00
Yash Thakur
3aee28ef3e
Expose touch for Nushell (#5946)
---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-07-09 23:10:58 +02:00
Sylvestre Ledru
c3a3370b79
Merge pull request #6550 from lcheylus/hostname-dns-lookup
hostname: use dns-lookup crate to get the network address(es) of the host
2024-07-09 23:10:12 +02:00
Laurent Cheylus
4b3e039118 hostname: enable test test_hostname_ip for FreeBSD and OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-09 22:44:16 +02:00
Laurent Cheylus
6e236a4a72 hostname: use dns-lookup crate to get the network address(es) of the host
- on OpenBSD and FreeBSD, unable to get the network address(es) of the host with DNS request for
  hostname + ":1"
- use dns-lookup crate for this request with lookup_host function

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-09 22:44:16 +02:00
n4n5
aac09b8a8f
doc: add and change documentation of uucore (#6551) 2024-07-09 19:43:51 +02:00
renovate[bot]
599b44044c
chore(deps): update reactivecircus/android-emulator-runner action to v2.32.0 2024-07-09 08:06:40 +00:00
Sylvestre Ledru
39a38013dc
Merge pull request #6549 from Kev1n8/remove-crash-fsext
fsext: remove crash!
2024-07-07 21:19:59 +02:00
kf zheng
4faf9c08d6 replace crash! with UResult in fsext and modify related files: df, stat, and filesystem 2024-07-07 20:56:22 +08:00
n4n5
fb48e7d280
Fix spelling, update comments, and add documentation for improved code clarity
fixes #5066
2024-07-07 12:20:41 +02:00
Sylvestre Ledru
33a04bed2f
Merge pull request #6547 from Kev1n8/remove-crash-sync
sync: replace crash! with USimpleError
2024-07-07 12:19:13 +02:00
kf zheng
d868743616 replace crash! with UResult in sync 2024-07-07 12:18:21 +02:00
Sylvestre Ledru
722339c66d
Merge pull request #6545 from lcheylus/openbsd-tests
Disable failed tests on OpenBSD
2024-07-07 12:16:50 +02:00
Daniel Hofstetter
770ee83f54
Merge pull request #6544 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.204
2024-07-07 10:43:11 +02:00
renovate[bot]
960989f2e8
chore(deps): update rust crate serde to v1.0.204 2024-07-06 22:53:05 +00:00
Laurent Cheylus
2f7c8cc18f
tests: disable tests for features/fsxattr on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:45:10 +02:00
Laurent Cheylus
f731b4e779
tests: disable common::util::tests::test_altering_umask on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:45:10 +02:00
Laurent Cheylus
008dd38a0d
tests: fix warnings on OpenBSD for unused imports in by-util/test_*
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:45:10 +02:00