1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-15 12:27:49 +00:00
Commit graph

15884 commits

Author SHA1 Message Date
Sylvestre Ledru
8bbe39c9ca
Merge pull request #6970 from cakebaker/cut_test_refactorings
cut: some test refactorings
2024-12-18 18:28:46 +01:00
Daniel Hofstetter
6224c374ae cut: use short and long args in two tests 2024-12-18 16:17:30 +01:00
Daniel Hofstetter
5ea4903632 cut: rename some tests 2024-12-18 14:52:04 +01:00
Daniel Hofstetter
9aca24365f cut: simplify test by removing assert_eq! calls 2024-12-18 14:44:12 +01:00
Daniel Hofstetter
2f82853bfa cut: move two tests to better places within file 2024-12-18 14:42:18 +01:00
Daniel Hofstetter
02eb2c0bab
Merge pull request #6910 from sylvestre/clippy1
clippy: fix clippy warnings
2024-12-18 08:08:56 +01:00
Daniel Hofstetter
33c65d5c0f
Merge pull request #6969 from uutils/renovate/thiserror-2.x-lockfile
chore(deps): update rust crate thiserror to v2.0.8
2024-12-18 06:59:23 +01:00
renovate[bot]
5cd665363d
chore(deps): update rust crate thiserror to v2.0.8 2024-12-18 04:30:52 +00:00
Sylvestre Ledru
7708f6e39a clippy: replace .as_bytes().len() => .len() 2024-12-17 22:47:45 +01:00
Sylvestre Ledru
beb56b10ab clippy: fix clippy warnings
See:
https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or
2024-12-17 22:46:21 +01:00
Sylvestre Ledru
55ffdb0847
Merge pull request #6967 from uutils/renovate/clap_complete-4.x-lockfile
fix(deps): update rust crate clap_complete to v4.5.40
2024-12-17 22:23:07 +01:00
Sylvestre Ledru
cc7e0af3f3
Merge pull request #6966 from cakebaker/build_gnu_sh_adapt_basenc_message
build-gnu.sh: adapt `basenc` message to clap changes
2024-12-17 22:22:38 +01:00
renovate[bot]
8edefdc287
fix(deps): update rust crate clap_complete to v4.5.40 2024-12-17 18:36:05 +00:00
Daniel Hofstetter
dd741eac19 build-gnu.sh: adapt basenc message to clap changes 2024-12-17 14:59:40 +01:00
Sylvestre Ledru
7c65243680
Merge pull request #6963 from cakebaker/basenc_fix_b16_9_and_10
basenc: ignore case with "--base16 --decode"
2024-12-17 11:36:01 +01:00
Daniel Hofstetter
d414dbc83b basenc: ignore case with "--base16 --decode" 2024-12-17 10:52:25 +01:00
Sylvestre Ledru
9abf9d0fb5
Merge pull request #6873 from cakebaker/bump_zip
Bump `zip` from `1.1.4` to `2.2.2`
2024-12-17 09:20:59 +01:00
Daniel Hofstetter
dd3d0a383f Bump zip from 1.1.4 to 2.2.2 2024-12-17 07:40:08 +01:00
Daniel Hofstetter
c04566ca6e
Merge pull request #6961 from uutils/renovate/clap_complete-4.x-lockfile
fix(deps): update rust crate clap_complete to v4.5.39
2024-12-17 07:00:05 +01:00
renovate[bot]
d20c7fdef6
fix(deps): update rust crate clap_complete to v4.5.39 2024-12-16 18:34:19 +00:00
Sylvestre Ledru
6755956bc4
cut.pl: adjust to our messages as they are better (#6921)
* cut.pl: adjust to our messages as they are better

but we still have some differences on this test

* cut: add some missing line return when needed

* cut: add failing tests covered by cut.pl

* Remove dup test

* cut: add spell-checker:ignore line to test

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-12-16 15:37:29 +01:00
Sylvestre Ledru
388624996b
Merge pull request #6960 from cakebaker/GNUmakefile_remove_duplicate_sleep
GNUmakefile: remove `sleep` from `UNIX_PROGS` to avoid warning
2024-12-16 10:22:27 +01:00
Daniel Hofstetter
a7b9737490 GNUmakefile: remove "sleep" from UNIX_PROGS
because it's already in PROGS
2024-12-16 09:36:45 +01:00
Karl McDowall
6bdcad32da sort: Rework merge batching logic
Fix bug #6944
Rework the way batching is done with sort such that it doesn't open
more input files than necessary. Previously, the code would always
open one extra input file which causes problems in ulimit scenarios.
Add additional test case.
2024-12-15 12:40:15 -07:00
Daniel Hofstetter
c97f59176b
Merge pull request #6361 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.38
2024-12-15 17:35:11 +01:00
renovate[bot]
5b45750115
chore(deps): update rust crate clap_complete to v4.5.38 2024-12-15 16:06:42 +00:00
Sylvestre Ledru
aea13edfad
Merge pull request #6955 from cakebaker/bump_clap
Bump `clap` to `4.5.23` & fix failing `seq` tests
2024-12-15 17:05:42 +01:00
Daniel Hofstetter
a8ad6d92f1 factor: adapt message in patch to clap change 2024-12-15 16:34:20 +01:00
Daniel Hofstetter
def66f335c build-gnu.sh: adapt "du" error message 2024-12-15 16:34:20 +01:00
Daniel Hofstetter
ee0426e3f3 seq: use allow_hyphen_values instead of
allow_negative_numbers because clap removed support for "exotic" negative
numbers like -.1
2024-12-15 16:14:01 +01:00
Daniel Hofstetter
934cbb38f6 Bump clap from 4.4.2 to 4.5.23 2024-12-15 16:14:01 +01:00
Daniel Hofstetter
5007bf2598
Merge pull request #6958 from uutils/renovate/thiserror-2.x-lockfile
chore(deps): update rust crate thiserror to v2.0.7
2024-12-14 07:02:44 +01:00
renovate[bot]
bbea4ba72a
chore(deps): update rust crate thiserror to v2.0.7 2024-12-13 23:14:28 +00:00
Daniel Hofstetter
a25995278b
Merge pull request #6953 from uutils/renovate/mozilla-actions-sccache-action-0.x
chore(deps): update mozilla-actions/sccache-action action to v0.0.7
2024-12-12 15:36:44 +01:00
renovate[bot]
91ea45956f
chore(deps): update mozilla-actions/sccache-action action to v0.0.7 2024-12-12 14:08:04 +00:00
Daniel Hofstetter
dc6067100c
Merge pull request #6952 from uutils/renovate/lazy_static-1.x-lockfile
fix(deps): update rust crate lazy_static to v1.5.0
2024-12-12 10:50:56 +01:00
renovate[bot]
a5446b7bd0
fix(deps): update rust crate lazy_static to v1.5.0 2024-12-12 09:18:04 +00:00
Daniel Hofstetter
209ec0b817
Merge pull request #6929 from RenjiSann/cksum-fixes
cksum: even more fixes
2024-12-12 10:16:48 +01:00
Dorian Péron
958222a07c test(cksum): un-ignore tests that are now implemented 2024-12-12 09:49:53 +01:00
Dorian Péron
567bbc5f3c checksum: remove ALGO_BASED_REGEX (non base64) as its not useful anymore and introduce LineFormat struct 2024-12-12 09:49:53 +01:00
Dorian Péron
f4e5dc2e0f checksum: use the blake2b length as an hint to check the correctness of the expected digest 2024-12-12 09:49:53 +01:00
Daniel Hofstetter
56a7e24f69
Merge pull request #6950 from uutils/renovate/bstr-1.x-lockfile
chore(deps): update rust crate bstr to v1.11.1
2024-12-12 07:05:00 +01:00
renovate[bot]
d62e2b500d
chore(deps): update rust crate bstr to v1.11.1 2024-12-11 19:00:55 +00:00
Daniel Hofstetter
7025620639
Merge pull request #6949 from alexs-sh/feature-seq-reduce-memory-allocation-during-prefix-search
seq:reduce memory allocation during prefix search
2024-12-11 16:22:20 +01:00
Alexander Shirokov
3900fa91ba
seq:reduce memory allocation during prefix search
This improvement eliminates extra memory allocations during the search
for 0x/0X prefixes in number strings.
2024-12-11 14:28:46 +01:00
Daniel Hofstetter
5461a9781c
Merge pull request #6948 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.216
2024-12-11 07:10:37 +01:00
renovate[bot]
cd99102c91
chore(deps): update rust crate serde to v1.0.216 2024-12-11 05:16:32 +00:00
Dorian Péron
10a9b0bfbf checksum: split treatment of algo-based and non-algo based into separate functions 2024-12-10 13:09:04 +01:00
Dorian Péron
df16c1c655 test(cksum): Add tests 2024-12-10 13:09:04 +01:00
Dorian Péron
65ddccbeb6 checksum: avoid to recompute Regexps 2024-12-10 13:09:04 +01:00