Commit graph

12156 commits

Author SHA1 Message Date
renovate[bot]
8e1a6c851e
chore(deps): update rust crate exacl to 0.12.0 2024-02-03 05:15:12 +00:00
Biplab Mochan Gartia
fd4e1cfb28
stat: should fail without arguments #5928 (#5935)
* stat: should fail without arguments #5928

* style and lint issue  stat: should fail without arguments #5928

* style and lint issue  stat: should fail without arguments #5928

* style and lint 2 issue  stat: should fail without arguments #5928

---------

Co-authored-by: biplab5464 <biplab5464@outlook.com>
2024-02-02 17:00:35 +01:00
Daniel Hofstetter
eead44172d
Merge pull request #5936 from SamuelLarkin/dev/benchmark
doc: fixed benchmark table
2024-02-02 16:41:00 +01:00
Samuel Larkin
c7f730470f doc: fixed benchmark table 2024-02-02 10:13:38 -05:00
Sylvestre Ledru
f347168e24
Merge pull request #5931 from cakebaker/ls_fix_unused_variable_warning_on_redox
ls: fix "unused variable" warning on Redox
2024-02-02 09:26:51 +01:00
Daniel Hofstetter
47843dc8f5 ls: fix "unused variable" warning on Redox 2024-02-02 09:13:38 +01:00
Biplab Mochan Gartia
4a7dfa7904
stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 (#5924)
* stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881

* remvoe Vec when ruturing  stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881

* formmating issue  stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881

* cakebaker suggestion stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881

* sytle and lint issue  stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881

---------

Co-authored-by: biplab5464 <biplab5464@outlook.com>
2024-02-01 16:20:32 +01:00
Daniel Hofstetter
d53077160f
Merge pull request #5914 from Ideflop/disable-row-mode-on-panic
more: Disable raw mode before exiting if a panic occurs
2024-02-01 15:08:08 +01:00
Daniel Hofstetter
a5fc9af68d
Merge pull request #5927 from uutils/renovate/libc-0.x
chore(deps): update rust crate libc to 0.2.153
2024-02-01 07:09:12 +01:00
Daniel Hofstetter
58b90b9cd0
Merge pull request #5926 from uutils/renovate/codecov-codecov-action-4.x
chore(deps): update codecov/codecov-action action to v4
2024-02-01 07:03:53 +01:00
renovate[bot]
1459212ebc
chore(deps): update rust crate libc to 0.2.153 2024-01-31 21:56:02 +00:00
renovate[bot]
94e2050500
chore(deps): update codecov/codecov-action action to v4 2024-01-31 18:11:02 +00:00
Daniel Hofstetter
ec8ac383a9
Merge pull request #5923 from sylvestre/m1
github action: run on native m1 - and execute the tests
2024-01-31 14:15:31 +01:00
Sylvestre Ledru
6a36b030a8 skip some tests on linux arm cross compile 2024-01-31 11:16:01 +01:00
Sylvestre Ledru
2f05331d2c remove the --bins test, it isn't testing anything. Use skip-test instead 2024-01-31 10:06:33 +01:00
Sylvestre Ledru
30da3eecc9 github action: run on native m1 - and execute the tests
https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
2024-01-31 10:05:11 +01:00
Sylvestre Ledru
99f923a60e
Merge pull request #5843 from cakebaker/ci_android_64
ci: add Android x86_64
2024-01-31 09:17:14 +01:00
Ideflop
b9112da4b2 more: Disable raw mode before exiting if a panic occurs 2024-01-30 20:57:38 +01:00
Sylvestre Ledru
8691ec9a80
Merge pull request #5916 from cakebaker/du_non_existing
du: adapt error message to match GNU's
2024-01-30 17:13:37 +01:00
Sylvestre Ledru
5aff6ec25c
Merge pull request #5920 from sudhackar/fix-dd-empty-num
dd: fail on missing number in count, fix #5904
2024-01-30 16:49:27 +01:00
Daniel Hofstetter
9bd531b0e3
Merge pull request #5917 from kralo/android-ci-lockfile
ci: android delete AVD lockfile when running from cached image
2024-01-30 16:00:33 +01:00
Daniel Hofstetter
8f7e312fa1
Merge pull request #5919 from uutils/renovate/mozilla-actions-sccache-action-0.x
chore(deps): update mozilla-actions/sccache-action action to v0.0.4
2024-01-30 15:52:16 +01:00
Sudhakar Verma
bd336ebbf1 dd: fail on missing number in count 2024-01-30 20:21:25 +05:30
Etienne
ab5a3656bf
docs: add paragraph about yocto recipe (#5918)
* docs: add paragraph about yocto recipe

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>

* add words to the spell ignore

* docs: add "Yocto" header

---------

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-30 15:18:14 +01:00
renovate[bot]
ae714001da
chore(deps): update mozilla-actions/sccache-action action to v0.0.4 2024-01-30 14:03:51 +00:00
Daniel Hofstetter
d1e1e9ce0f du: adapt error msg to match GNU's 2024-01-30 10:08:50 +01:00
kralo
9e78b8b188
ci: android delete AVD lockfile when running from cached image 2024-01-30 09:31:17 +01:00
Daniel Hofstetter
a5e611eb06
Merge pull request #5913 from uutils/renovate/itertools-0.x
chore(deps): update rust crate itertools to 0.12.1
2024-01-30 07:05:08 +01:00
Daniel Hofstetter
7ff00010ad
Merge pull request #5911 from tertsdiepraam/echo-do-not-infer-long-args
`echo`: do not infer long args
2024-01-30 06:58:47 +01:00
renovate[bot]
d91eea4b32
chore(deps): update rust crate itertools to 0.12.1 2024-01-29 18:15:32 +00:00
Terts Diepraam
1b324da436 echo: do not infer long args 2024-01-29 17:40:22 +01:00
Sylvestre Ledru
c439f81129
Merge pull request #5908 from cakebaker/wc_fix_two_incorrect_comments
wc: fix two incorrect code comments
2024-01-29 11:25:13 +01:00
Daniel Hofstetter
742d39300b wc: fix two incorrect code comments 2024-01-29 10:42:34 +01:00
Harsh Ranjan
1528b35113
refactor wc.rs to remove clippy's cognitive complexity lint (#5897)
* refactor wc.rs to remove clippy's cognitive complexity lint

* fix for tracking line length and number of words correctly if chunking occurs within them

* removing more of the cognitive complexity from the Err variant in the match block

* running cargo clippy once

* wc: add empty line to separate functions

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-29 10:41:11 +01:00
Sylvestre Ledru
08f07f9bfd
Merge pull request #5901 from jfinkels/dd-parse-big-numbers
dd: parse big numbers and return u64::MAX
2024-01-28 21:12:14 +01:00
Sylvestre Ledru
247306b7c9
Merge pull request #5899 from cakebaker/bump_wild
Bump wild from 2.2.0 to 2.2.1
2024-01-28 21:10:59 +01:00
Jeffrey Finkelstein
d782fd1bd3 dd: parse big numbers and return u64::MAX
Change the behavior of `dd` so that it parses numbers that would be too
big and instead treats them as `u64::MAX`. This allows `dd` to run
without error on

    dd count=00x9999999999999999999999999999999999999999999999999999999999999

This matches the behavior of GNU `dd`.
2024-01-28 13:41:34 -05:00
Daniel Hofstetter
74bcfff3e8 rm: add test for "rm .\dir\ -rf" on Windows
https://github.com/uutils/coreutils/issues/3200
2024-01-28 16:36:55 +01:00
Daniel Hofstetter
929ceb89f4 Bump wild from 2.2.0 to 2.2.1 2024-01-28 13:09:52 +01:00
Sylvestre Ledru
3362d8abf2
Merge pull request #5895 from kralo/clippy-suggestions
Clippy suggestions
2024-01-28 10:43:30 +01:00
kralo
43212c6d89 ci: include more clippy complaints 2024-01-28 09:42:40 +01:00
kralo
ee7f99aad0 cp: use inclusive range
as suggested by clippy::range-plus-one
2024-01-28 09:42:40 +01:00
kralo
d046d33bee split: use inclusive range
as suggested by clippy::range-plus-one
2024-01-28 09:42:40 +01:00
kralo
9906e66096 uucore: remove unneccessary closues
This adresses only those where the fix has less letters than the
original and is "trivial" (There are possibly a lot of std::string::ToString::to_string
and those may only be shortened with additional imports).

Found with clippy::redundant-closure-for-method-calls
2024-01-28 09:42:40 +01:00
kralo
bd43a7ed99 nl: fix redundant clone (clippy warning) 2024-01-28 09:42:40 +01:00
Sylvestre Ledru
8772eb66b1
Merge pull request #5894 from kralo/android-buildscript
util: android disable mirror selection
2024-01-28 09:42:16 +01:00
Sylvestre Ledru
7fa4b389a9
Merge pull request #5892 from kralo/fix-5883
factor: rename input parameter
2024-01-28 09:28:36 +01:00
Sylvestre Ledru
ab3a72332b
Merge pull request #5889 from cakebaker/fuzzing_sort_lc_all
fuzzing: use LC_ALL instead of LC_COLLATE
2024-01-28 09:28:12 +01:00
kralo
5dccfc2441 cp: test_cp_preserve_xattr_fails_on_android disabled as its now failing to fail 2024-01-28 08:56:08 +01:00
kralo
9ae5cc741b util: disable mirror selection by Variable 2024-01-28 08:56:08 +01:00