Commit graph

13190 commits

Author SHA1 Message Date
Krysztal Huang
58d0fb6fb2 uucore: Split tty from proc_info
And renamed `TerminalType` to `Teletype` for better naming because of Terminal contains graphic terminal but the current implementation only support `Teletype`.
2024-07-26 00:49:03 +02:00
Sylvestre Ledru
12eacd1cf2
Merge pull request #6497 from cakebaker/cargo_cfg_fuzzing
Cargo.toml: allow "fuzzing" as `cfg` condition name
2024-07-26 00:48:18 +02:00
Sylvestre Ledru
eaba6bf977
Merge pull request #6592 from cakebaker/clippy_fix_warnings
clippy: fix warnings introduced by Rust 1.80
2024-07-26 00:45:04 +02:00
Daniel Hofstetter
587efd1d4b clippy: fix warnings introduced by Rust 1.80 2024-07-25 16:34:02 +02:00
Daniel Hofstetter
ef68d9778f seq: allow "fuzzing" as cfg condition name
in Cargo.toml
2024-07-23 15:58:57 +02:00
Daniel Hofstetter
79d7158aac
Merge pull request #6584 from howjmay/checksum-no-check
hashsum: Return err when only --strict or --quiet is given
2024-07-23 15:20:35 +02:00
sreehari prasad
5baf382f7e
mv: use read_to_string and write when testing inter-partition copying (#6583)
* mv: inter partition copying test code cleanup

* mv: inter partition copying use of read_to_string and write

* Update tests/by-util/test_mv.rs

Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>

---------

Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
2024-07-19 19:03:20 +02:00
Yang Hau
e5d765f46c hashsum: Return err when only --strict or --quiet is given 2024-07-19 16:05:30 +08:00
Daniel Hofstetter
868569496e
Merge pull request #6581 from BenWiederhake/dev-nightly-clippy
Fix nightly clippy
2024-07-18 17:53:28 +02:00
Ben Wiederhake
584d91f8b5 test: fix indentation that fails clippy nightly
See also https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
2024-07-18 15:59:37 +02:00
Ben Wiederhake
c8d10ea69e clippy: simplify code according to nightly 'manual_unwrap_or_default' lint
https://rust-lang.github.io/rust-clippy/master/index.html#/manual_unwrap_or_default
2024-07-18 15:59:37 +02:00
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