Commit graph

10883 commits

Author SHA1 Message Date
Daniel Hofstetter
ac4ff2ac0e seq: simplify error handling
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-07-06 10:26:29 +02:00
Daniel Hofstetter
3035f0138b
Merge pull request #5043 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.9.0
2023-07-06 09:16:11 +02:00
Daniel Hofstetter
75a2c40e3c
Merge pull request #5046 from uutils/renovate/smallvec-1.x
chore(deps): update rust crate smallvec to 1.11
2023-07-06 07:42:10 +02:00
renovate[bot]
eb3164002a
chore(deps): update rust crate regex to 1.9.0 2023-07-06 05:41:42 +00:00
Daniel Hofstetter
5631bcb1ba
Merge pull request #5045 from uutils/renovate/bstr-1.x
chore(deps): update rust crate bstr to 1.6
2023-07-06 07:40:52 +02:00
renovate[bot]
c6be1c10ba
chore(deps): update rust crate smallvec to 1.11 2023-07-05 22:57:39 +00:00
renovate[bot]
389741eda3
chore(deps): update rust crate bstr to 1.6 2023-07-05 18:14:40 +00:00
Terts Diepraam
357dd5fd88 initial oranda setup 2023-07-05 17:05:08 +02:00
Daniel Hofstetter
2c41f70fa7
Merge pull request #5040 from uutils/renovate/bigdecimal-0.x
chore(deps): update rust crate bigdecimal to 0.4
2023-07-05 16:53:13 +02:00
Daniel Hofstetter
98264e9cdf seq: add test for call without args 2023-07-05 15:51:23 +02:00
renovate[bot]
2947c00e4c
chore(deps): update rust crate bigdecimal to 0.4 2023-07-05 10:30:04 +00:00
Terts Diepraam
844eefe961
Merge pull request #5041 from cakebaker/bump_iana_time_zone_haiku
Bump iana-time-zone-haiku from 0.1.1 to 0.1.2
2023-07-05 12:29:19 +02:00
Daniel Hofstetter
51a4fa0c49 Bump iana-time-zone-haiku from 0.1.1 to 0.1.2 2023-07-05 10:14:12 +02:00
John Shin
844cbdc5a4 sort: add tests for stable and unstable sort 2023-07-05 10:05:52 +02:00
John Shin
b42a5b8741 ls: update test result for version compare 2023-07-05 10:05:52 +02:00
John Shin
e9405250f4 uucore: leading zeros are ignored in version compare 2023-07-05 10:05:52 +02:00
Daniel Hofstetter
4a192e98d5
Merge pull request #5032 from sylvestre/split-fail
split: reject some invalid values
2023-07-05 07:04:22 +02:00
John Shin
4acd02c7a1 ls: string compare if version_cmp returns equal 2023-07-04 16:08:54 -07:00
Sylvestre Ledru
9d44d8b71d
Merge pull request #4977 from cakebaker/date_shortcut_value_parser
date: use custom value parser
2023-07-04 19:56:46 +02:00
Sylvestre Ledru
264d29a169
fix the clippy warning 2023-07-04 18:45:11 +02:00
Sylvestre Ledru
0ea92cc8cd
Merge pull request #5037 from cakebaker/bump_hermit_abi_and_num_cpus
Bump hermit-abi and num_cpus
2023-07-04 18:43:06 +02:00
Daniel Hofstetter
9ac31e057d deny.toml: remove hermit-abi from skip list 2023-07-04 16:42:25 +02:00
Daniel Hofstetter
66afeef84a Bump hermit-abi and num_cpus
hermit-abi from 0.3.1 -> 0.3.2
num_cpus from 1.14.0 -> 1.16.0
2023-07-04 16:40:58 +02:00
Terts Diepraam
c455aa0922
Merge pull request #5036 from cakebaker/nl_fix_no_renumber
nl: make -p/--no-renumber a flag
2023-07-04 14:16:04 +02:00
Daniel Hofstetter
56d4999843
Merge pull request #5035 from uutils/renovate/rlimit-0.x
chore(deps): update rust crate rlimit to 0.10.0
2023-07-04 10:57:32 +02:00
Sylvestre Ledru
4cd4df2880
Merge pull request #5034 from cakebaker/numfmt_possible_values_are_shown_twice
numfmt: remove duplicate info from help output
2023-07-04 10:50:13 +02:00
Daniel Hofstetter
fee5225cb6 nl: make --no-renumber a flag 2023-07-04 10:37:10 +02:00
renovate[bot]
8e2401c8ee
chore(deps): update rust crate rlimit to 0.10.0 2023-07-04 07:39:59 +00:00
Daniel Hofstetter
18e5c5b5f7 numfmt: remove duplicate info from help output 2023-07-04 07:02:18 +02:00
Sylvestre Ledru
d033db3573 split: reject some invalid values
Matches what is done in tests/split/fail.sh
(still doesn't work)
2023-07-03 22:57:37 +02:00
Sylvestre Ledru
6e3ab23183
Merge pull request #5017 from cakebaker/df_disable_some_tests_on_windows
df: disable failing tests on Windows
2023-07-03 16:27:00 +02:00
Sylvestre Ledru
37cbfd1efd
Merge pull request #5030 from cakebaker/touch_use_parse_datetime
touch: use parse_datetime instead of humantime_to_duration
2023-07-03 16:26:51 +02:00
Daniel Hofstetter
11b098fce1
Merge pull request #5028 from sylvestre/cp-multiple
cp: allow multiple usages of -R - Closes: #5027
2023-07-03 16:09:45 +02:00
Daniel Hofstetter
e6ec1490aa touch: use parse_datetime in Cargo.lock 2023-07-03 14:28:39 +02:00
Sylvestre Ledru
e491bbdbed cp: allow multiple usages of -R/-r Closes: #5027
works for all other rm args
2023-07-03 14:19:45 +02:00
Roy Ivy III
af64bde92b fix/touch ~ time crate usage errors 2023-07-03 14:15:15 +02:00
Sylvestre Ledru
7a7842b5b8
Merge pull request #4756 from Joining7943/tail-refactor-and-fix-input
`tail`: Refactor `paths::Input::from` and `Settings::inputs`
2023-07-03 14:09:57 +02:00
Roy Ivy III
9aef5ac35b deps ~ change from 'humantime_to_duration' to 'parse_datetime' 2023-07-03 13:53:52 +02:00
Terts Diepraam
5a667db43d tail: clean up some small things in input parsing 2023-07-03 13:20:48 +02:00
Sylvestre Ledru
a5272e1344
Merge pull request #5029 from cakebaker/cp_use_mkdir_all_instead_of_mkdir
cp: use mkdir_all() instead of mkdir() in test
2023-07-03 10:27:18 +02:00
Daniel Hofstetter
ba509a1489 cp: use mkdir_all() instead of mkdir() in test 2023-07-03 09:24:37 +02:00
sbentmar
42bf580f13
numfmt: add --invalid option (#4249)
* numfmt: add invalid option

* numfmt: return code 0 if ignore or warn

* numfmt: implement all --invalid modes

* numfmt: validate stdout and stderr

* numfmt: remove unnecessary code

* numfmt: apply formatting

* numfmt: fix clippy issues

* numfmt: fix failing test cases

* numfmt: fix formatting

* numfmt: fix bug when handling broken pipe

* numfmt: fix bug where extra newline was added

* numfmt: add test cases for edge cases

* numfmt: simplify error handling

* numfmt: remove redundant if

* numfmt: add newline between functions

* numfmt: fix failing test cases

* numfmt: add support for arg numbers using --invalid

* numfmt: simplify error handling in value handlers

* numfmt: fix merge conflict and align prints

* numfmt: fix clippy suggestion

* numfmt: replace "valid" with "invalid" in tests

* numfmt: move INVALID to respect alph. order

* numfmt: move printlns outside of match to avoid duplication

Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>

* numfmt: remove empty line

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-07-01 17:08:12 +02:00
Daniel Hofstetter
a145798594
Merge pull request #4960 from granquet/ls_LZ
ls: force fetching metadata when called with -L -Z
2023-07-01 15:24:37 +02:00
Daniel Hofstetter
c524ec4a9f
Merge pull request #4950 from Ideflop/more_implement_arguments_plain_and_from_line
More implement arguments plain and from line
2023-07-01 14:18:54 +02:00
Sylvestre Ledru
043830082f
Merge pull request #5024 from cakebaker/docs_add_ls_long_to_extensions
docs: add "ls --long" to extensions
2023-06-30 15:57:19 +02:00
Daniel Hofstetter
4cdff3ba89 docs: add "ls --long" to extensions 2023-06-30 10:31:47 +02:00
Daniel Hofstetter
2f6a87b1d4
Merge pull request #5022 from crapstones-forks/crapStone-patch-1
dd: fix typos
2023-06-29 18:00:45 +02:00
crapStone
863f91eca9
fix typos
some arguments had the wrong case
2023-06-29 15:34:19 +00:00
Daniel Hofstetter
4ec73aa184
Merge pull request #5019 from sargas/explain-gnu-build-clone
util/build-gnu.sh: Improve error message when missing GNU Coreutils repository
2023-06-29 16:38:31 +02:00
Daniel Hofstetter
610e0461e9
Merge pull request #5020 from indygreg/hashsum-file-stem
hashsum: use file_stem() instead of file_name()
2023-06-29 13:50:30 +02:00