Commit graph

12140 commits

Author SHA1 Message Date
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
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
kralo 9adceb4f65 factor: rename input parameter
Closes: #5883
2024-01-28 08:24:16 +01:00
Sylvestre Ledru 1b88c3edee
Merge pull request #5891 from kralo/fix-5885
cp: remove lint exceptions
2024-01-28 08:21:07 +01:00
kralo 12dd1e4d7d cp: remove lint exceptions
Could not even reproduce what they would complain for.
Closes: #5885
2024-01-27 19:21:05 +01:00
Sylvestre Ledru 6e09cbaefd
Merge pull request #5890 from kralo/fix-5884
factor: remove clippy exceptions by reformatting "unreadable literals"
2024-01-27 18:56:01 +01:00
kralo 3eba95728c factor: remove clippy exceptions by reformatting "unreadable literals"
Closes: #5884
2024-01-27 17:23:44 +01:00
Daniel Hofstetter 12f0972df4 fuzzing: use LC_ALL instead of LC_COLLATE 2024-01-27 15:04:12 +01:00
Sylvestre Ledru ae5f2bc0d0
Merge pull request #5875 from cakebaker/expand_make_tab_explicit_in_test
expand: make tab explicit in test
2024-01-26 14:36:48 +01:00
Sylvestre Ledru e580627506
Merge pull request #5886 from cakebaker/cut_set_exit_code
cut: set exit code to 1 if directory is specified
2024-01-26 14:36:28 +01:00
Daniel Hofstetter 79ac89e3f2
Merge pull request #5887 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.0.6
2024-01-26 13:26:12 +01:00
renovate[bot] 7f1f08c8bc
chore(deps): update vmactions/freebsd-vm action to v1.0.6 2024-01-26 10:17:43 +00:00
Daniel Hofstetter c8cd355708 cut: set exit code to 1 if dir is specified 2024-01-26 10:18:44 +01:00
Daniel Hofstetter 5bd00eb791 cut: split test function into two functions 2024-01-26 10:09:28 +01:00
Daniel Hofstetter 3318e16608
Merge pull request #5880 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.33
2024-01-25 16:15:47 +01:00
renovate[bot] 51fd22e41b
chore(deps): update rust crate chrono to ^0.4.33 2024-01-25 14:27:17 +00:00
Daniel Lungu 61c730d1b3
expand: Continue work when one of given files doesn't exist (#5873)
* expand: continues work when one of given files doesn't exist

* fixed test for nonexisting file
2024-01-25 09:10:59 +01:00
Sylvestre Ledru 1693640446 whoami: add missing feature 2024-01-24 21:33:25 +01:00