Commit graph

13259 commits

Author SHA1 Message Date
Sylvestre Ledru
212ddf7d8c Adjust identify_algo_name_and_length to return Option<(String, Option<usize>)> instead of (String, Option<usize>) 2024-06-27 00:01:09 +02:00
Daniel Hofstetter
b0716baeae Cargo.toml: add "expensive_tests" feature 2024-06-26 15:36:41 +02:00
Moïse Valvassori
2e223dfdfc cp: fix preserved hardlinks are not reported in --verbose 2024-06-26 06:44:55 +02:00
Sylvestre Ledru
adcc548f7c cksum: Allow the indiv build 2024-06-25 19:05:28 +02:00
Sylvestre Ledru
2e704b8572 Address review comments 2024-06-25 19:01:04 +02:00
Sylvestre Ledru
ab2cc2f17a cksum base64: update the GNU test to manage our output 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
6922e7f057 cksum/hashsum: Simplify the determine_regex function 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
c2292a8da6 cksum/hashsum: Move the algo mgmt into a dedicated function 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
e7898ab32a cksum/hashsum: Move the algo mgmt into a dedicated function 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
520907e22b cksum/hashsum: Move the opening into a dedicated function 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
a6bae64dde cksum/hashsum: use a struct to keep the results 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
e6aad95055 cksum/hashsum: move the file mgmt into a function 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
cc8bda5def cksum/hashsum: move to thiserror 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
edae51d1a6 cksum/hashsum: move to quick-error 2024-06-25 19:00:23 +02:00
Sylvestre Ledru
66ccb1a479 cksum/hashsum: add support of --check with base64 2024-06-25 19:00:23 +02:00
sreehari prasad
92665144c9
ls: gnu color-norm test fix (#6481) 2024-06-24 21:38:10 +02:00
Daniel Hofstetter
92c3de5387
Merge pull request #6144 from sylvestre/dired
ls --dired: adjust our code after GNU v9.5
2024-06-24 13:41:11 +02:00
Sylvestre Ledru
ececddd672 ls: If we have --dired --hyperlink, we don't show dired but we still want to see the
long format

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-06-24 10:27:37 +02:00
Sylvestre Ledru
4d705621e6 ls: --format will override the --dired option
Closes: #6488

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-06-23 21:13:37 +02:00
Sylvestre Ledru
9b11753e7c
Merge pull request #6490 from sylvestre/0.0.27
prepare version 0.0.27
2024-06-23 00:29:30 +02:00
Sylvestre Ledru
276bebcf14 prepare version 0.0.27 2024-06-23 00:24:02 +02:00
Christian von Elm
0ae6d43536
Refuse to translate if set2 contains more than one unique characters and set1 contains a character class (#6472)
* Refuse to translate if set2 contains > 1 unique characters
2024-06-22 19:30:39 +02:00
Daniel Hofstetter
7766257aee
Merge pull request #6489 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.203
2024-06-22 13:51:21 +02:00
renovate[bot]
3d9450afd6
chore(deps): update rust crate serde to v1.0.203 2024-06-22 11:07:23 +00:00
Anirban Halder
2774274cc2
`uptime`: Support files in uptime (#6400) 2024-06-22 13:06:03 +02:00
Sylvestre Ledru
cd44a3d1fd ls --dired: v9.5 --hyperlink is ignored if passed first
Manages cases like:
$ ls -R --dired --hyperlink a2
will show hyperlink
$ ls -R --hyperlink --dired a2
won't
2024-06-22 09:32:21 +02:00
Sylvestre Ledru
da11981026 ls --dired: v9.5 automatically set --format=long 2024-06-21 23:32:20 +02:00
Sylvestre Ledru
32c5d23f91
Merge pull request #6485 from lcheylus/show_utils
show-utils.sh: fix jq query to get coreutils deps
2024-06-21 15:25:08 +02:00
Daniel Hofstetter
339fe0ec94
Merge pull request #6486 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.86
2024-06-21 07:54:37 +02:00
renovate[bot]
753d110f9b
fix(deps): update rust crate proc-macro2 to v1.0.86 2024-06-21 02:23:06 +00:00
Laurent Cheylus
e50a3a4471
show-utils.sh: fix jq query to get coreutils deps
In jq query, the correct regex to select .id is ".*coreutils[ |@|#]\\d+\\.\\d+\\.\\d+"

With cargo <= v1.76, id = "coreutils 0.0.26 (path+file://<coreutils local directory>)"

With cargo >= v1.77,
- if local path == '<parent directory>/coreutils/', id = "path+file://<parent directory>/coreutils#0.0.26"
- if local path != '<parent directory>/coreutils/', id = "path+file://<coreutils local directory>#coreutils@0.0.26"

Fix uutils/coreutils#6479

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-06-19 17:35:45 +02:00
Daniel Hofstetter
c9f4742f3b
Merge pull request #6482 from lcheylus/numeric_constants
shuf: use usize::MAX instead of std::usize::MAX
2024-06-19 14:54:16 +02:00
Laurent Cheylus
a5e889c78d
shuf: use usize::MAX instead of std::usize::MAX
Fix warning from legacy_numeric_constants lint

Fix uutils/coreutils#6478

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-06-19 11:18:40 +02:00
Daniel Hofstetter
94295f9bd7 od: use u64::MAX instead of max_value()
to fix warning from legacy_numeric_constants lint
2024-06-18 03:10:33 +02:00
Daniel Hofstetter
80c6b14e05
Merge pull request #6473 from uutils/renovate/bigdecimal-0.x-lockfile
chore(deps): update rust crate bigdecimal to v0.4.5
2024-06-17 14:45:47 +02:00
Daniel Hofstetter
1e3c90c4e8
Merge pull request #6476 from uutils/renovate/mozilla-actions-sccache-action-0.x
chore(deps): update mozilla-actions/sccache-action action to v0.0.5
2024-06-17 14:44:56 +02:00
renovate[bot]
5f2be86553
chore(deps): update mozilla-actions/sccache-action action to v0.0.5 2024-06-17 12:16:12 +00:00
sreehari prasad
e46ad30434
gnu cp-parents test case (#6446) 2024-06-17 11:16:26 +02:00
renovate[bot]
8dffc79a8d
chore(deps): update rust crate bigdecimal to v0.4.5 2024-06-17 08:21:55 +00:00
Daniel Hofstetter
ef68e60c85
Merge pull request #6470 from cvonelm/issue-6460-refuse-set1-longer-set2
Refuse to translate if set1 is longer than set2 and set2 ends in a character class
2024-06-16 15:52:55 +02:00
Christian von Elm
a46e4fd290 Refuse to translate if set1 is longer than set2 and set2 ends in a character class
tr [:lower:]a [:upper:]

fails in GNU tr, so print an error for tr too.
2024-06-15 12:38:19 +02:00
Daniel Hofstetter
6a13c48085
Merge pull request #6469 from uutils/renovate/redox_syscall-0.x-lockfile
chore(deps): update rust crate redox_syscall to v0.5.2
2024-06-14 17:56:54 +02:00
renovate[bot]
20111b279a
chore(deps): update rust crate redox_syscall to v0.5.2 2024-06-14 15:01:10 +00:00
Daniel Hofstetter
7bd8e5eeee
Merge pull request #6463 from uutils/renovate/memchr-2.x-lockfile
chore(deps): update rust crate memchr to v2.7.4
2024-06-14 13:49:40 +02:00
renovate[bot]
44e8440fe3 chore(deps): update rust crate memchr to v2.7.4 2024-06-14 12:43:54 +02:00
Sylvestre Ledru
82468d1eb4
Merge pull request #6455 from cakebaker/bump_itertools
Bump `itertools` and fix use of deprecated function
2024-06-14 12:43:44 +02:00
Sylvestre Ledru
f5cdca0674
Merge pull request #6468 from cakebaker/clippy_fix_warnings_introduced_by_rust_1_79
clippy: fix warnings introduced by Rust 1.79
2024-06-14 12:43:00 +02:00
Daniel Hofstetter
97c1633b5e clippy: fix warnings introduced by Rust 1.79 2024-06-14 07:55:31 +02:00
Daniel Hofstetter
34087788b2
Merge pull request #6462 from uutils/renovate/dawidd6-action-download-artifact-6.x
chore(deps): update dawidd6/action-download-artifact action to v6
2024-06-12 17:21:28 +02:00
renovate[bot]
51e7fbe1fd
chore(deps): update dawidd6/action-download-artifact action to v6 2024-06-12 13:59:13 +00:00