Commit graph

13117 commits

Author SHA1 Message Date
Daniel Hofstetter
4b0090b323
Merge pull request #6499 from sylvestre/b2sum2
hashsum/b2sum: when the checksum file is untagged, detect the size
2024-06-28 10:44:14 +02:00
n4n5
cc8a9f4c1b
build all features on docs.rs 2024-06-28 10:26:23 +02:00
Sylvestre Ledru
0ecc18fb5b hashsum/b2sum: when the checksum file is untagged, detect the size
Should fix tests/cksum/b2sum.sh
2024-06-28 10:15:27 +02:00
Daniel Hofstetter
11e8476456
Merge pull request #6501 from uutils/renovate/num-bigint-0.x-lockfile
chore(deps): update rust crate num-bigint to v0.4.6
2024-06-28 08:22:52 +02:00
renovate[bot]
2f0b37c7f4
chore(deps): update rust crate num-bigint to v0.4.6 2024-06-27 22:36:46 +00:00
Sylvestre Ledru
3b607f1c7c cksum: move the code where needed 2024-06-27 22:51:37 +02:00
Sylvestre Ledru
6a489f5ee7
Merge pull request #6500 from cakebaker/uucore_checksum_simplify_determine_regex
uucore/checksum: simplify `determine_regex()`
2024-06-27 14:11:36 +02:00
Daniel Hofstetter
710e999fc7 uucore/checksum: simplify determine_regex() 2024-06-27 12:46:32 +02:00
Daniel Hofstetter
9b3b9e8407
Merge pull request #6452 from sylvestre/base64
cksum/hashsum: add support of --check with base64  + other improvs
2024-06-27 09:47:52 +02:00
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