Commit graph

13607 commits

Author SHA1 Message Date
renovate[bot]
1365f6c025
chore(deps): update rust crate terminal_size to v0.4.1 2024-11-29 21:46:48 +00:00
Daniel Hofstetter
000583576e
Merge pull request #6901 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.167
2024-11-29 13:25:48 +01:00
renovate[bot]
4f7f85da47
fix(deps): update rust crate libc to v0.2.167 2024-11-29 10:45:33 +00:00
Daniel Hofstetter
cd4506f67d
Merge pull request #6900 from uutils/renovate/dawidd6-action-download-artifact-7.x
chore(deps): update dawidd6/action-download-artifact action to v7
2024-11-29 11:44:18 +01:00
renovate[bot]
270525a02f
chore(deps): update dawidd6/action-download-artifact action to v7 2024-11-29 10:14:38 +00:00
Daniel Hofstetter
cba96dffd8
Merge pull request #6885 from sylvestre/du-dedup
du: deduplicate the input
2024-11-29 11:13:59 +01:00
Sylvestre Ledru
95bd50e09a du: deduplicate the input
Should fix:
tests/du/hard-link.sh
2024-11-29 10:26:27 +01:00
Daniel Hofstetter
79f991dd05
Merge pull request #6898 from sylvestre/fix-clipp
Fix new clippy warnings
2024-11-29 09:48:21 +01:00
Sylvestre Ledru
ffbc682b92
Use the other comment syntax as it is not related
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-11-29 09:19:30 +01:00
Sylvestre Ledru
8df608cf97 clippy: used underscore-prefixed item 2024-11-29 08:36:54 +01:00
Sylvestre Ledru
9d404e5ee8 clippy: it is more idiomatic to use 'Option<&T>' instead of '&Option<T>' 2024-11-29 08:36:54 +01:00
Sylvestre Ledru
c0840dd43f clippy: unneeded 'return' statement 2024-11-29 08:36:54 +01:00
Sylvestre Ledru
a3a4457a44 clippy: spawned process is never 'wait()'ed on 2024-11-28 22:10:28 +01:00
Sylvestre Ledru
41a3695b3f uucore: Fix a clippy warning
The following explicit lifetimes could be elided: 'a
2024-11-28 19:25:17 +01:00
Sylvestre Ledru
4d3902426a clippy: fix unneeded 'return' statement 2024-11-28 19:24:36 +01:00
Sylvestre Ledru
cfb0b95b62 clippy: fix 'empty line after doc comment' 2024-11-28 19:24:33 +01:00
Sylvestre Ledru
29de3ee43c run rustfmt on src/uu/shuf/src/shuf.rs 2024-11-28 19:18:15 +01:00
Peng Zijun
75de5a0613
tr: Add ambiguous octal escape warning (#6886)
* tr: Add ambiguous octal escape warning, issue #6821

* tr: Make code cleaner
2024-11-28 09:14:16 +01:00
Sylvestre Ledru
dea0afb2a5
Merge pull request #6896 from cakebaker/env_add_cfg_attributes_to_tests
env: add missing `cfg` attributes to tests
2024-11-27 11:55:57 +01:00
Daniel Hofstetter
ab9e5cb8a7 env: add missing cfg attributes to tests 2024-11-27 09:29:22 +01:00
Daniel Hofstetter
1a0bd63058
Merge pull request #6895 from uutils/renovate/blake3-1.x-lockfile
chore(deps): update rust crate blake3 to v1.5.5
2024-11-27 07:04:07 +01:00
Daniel Hofstetter
8594530376
Merge pull request #6894 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.166
2024-11-27 07:02:12 +01:00
renovate[bot]
069ec76f5b
chore(deps): update rust crate blake3 to v1.5.5 2024-11-27 04:27:39 +00:00
renovate[bot]
3e1328c81a
fix(deps): update rust crate libc to v0.2.166 2024-11-27 02:09:06 +00:00
Sylvestre Ledru
906a6330f5
Merge pull request #6890 from cakebaker/cp_remove_sleep_in_tests
cp: remove some `sleep()` calls in tests
2024-11-26 11:11:38 +01:00
Daniel Hofstetter
c8b0c8b612 cp: remove some sleep() calls in tests 2024-11-26 10:35:13 +01:00
Daniel Hofstetter
cae71a814c
Merge pull request #6868 from RenjiSann/checksum-fix-decoding
checksum: Further rework
2024-11-26 09:09:31 +01:00
Daniel Hofstetter
c315cd901c
Merge pull request #6889 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.165
2024-11-26 07:12:55 +01:00
Dorian Péron
cfc66f9f6f chore(checksum): fix clippy warnings in tests 2024-11-26 01:47:10 +01:00
Dorian Péron
8c4f595f24 test(cksum): rework test for improperly formatted keeps processing 2024-11-26 01:47:10 +01:00
Dorian Péron
ba7c02860e feat(checksum): odd number of hexa characters is wrong formatting 2024-11-26 01:47:10 +01:00
Dorian Péron
7c4724edc3 feat(checksum): refactor ChecksumResult to include more counters in it
- Add comments to explain what each field is counting
2024-11-26 01:47:10 +01:00
Dorian Péron
a0af49f2d8 feat(checksum): get rid of the properly_formatted variable 2024-11-26 01:47:10 +01:00
Dorian Péron
f3763ef190 feat(checksum): simplify get_expected_checksum
- Rename the function to emphasize its goal
- Do not pass the filename anymore, as it is only used to create an error, that may be done in the scope calling the function
- Change the return type to Option, as the error is made in the outer scope
- Don't try to decode the base64 string as UTF8 string. This most oftenly fails and is wrong.
- Get rid of the `bytes_to_hex` function, as it provides the same functionality as `hex::encode`
2024-11-26 01:47:10 +01:00
Dorian Péron
20dfe2dc10 test(cksum): remove duplicate testcase 2024-11-26 01:47:10 +01:00
Dorian Péron
a3b7403550 feat(checksum): improve FileCheckError variants to be meaningful 2024-11-26 01:47:10 +01:00
renovate[bot]
a81bd33b6b
fix(deps): update rust crate libc to v0.2.165 2024-11-25 22:58:46 +00:00
Sylvestre Ledru
c7798d5d20
Merge pull request #6880 from cakebaker/mv_remove_sleep_in_tests
mv: remove `sleep` in tests
2024-11-25 09:58:43 +01:00
Sylvestre Ledru
08e25d4b04
Merge pull request #6887 from cakebaker/bump_cpp
Bump `cpp` and `cpp_build` from `0.5.9` to `0.5.10`
2024-11-25 09:56:36 +01:00
Sylvestre Ledru
0dc849710c
Merge pull request #6888 from cakebaker/bump_thiserror
Bump `thiserror` from `1.0.69` to `2.0.3`
2024-11-25 09:56:23 +01:00
Daniel Hofstetter
c38897b101 deny.toml: add thiserror & thiserror-impl
to skip list
2024-11-25 09:32:01 +01:00
Daniel Hofstetter
91dc89c3ba Bump thiserror from 1.0.69 to 2.0.3 2024-11-25 09:28:35 +01:00
Daniel Hofstetter
cc3353ed7a Bump cpp & cpp_build from 0.5.9 to 0.5.10 2024-11-25 09:03:26 +01:00
Daniel Hofstetter
c2aea0f7b6
Merge pull request #6883 from uutils/renovate/fts-sys-0.x-lockfile
chore(deps): update rust crate fts-sys to v0.2.13
2024-11-24 10:40:20 +01:00
renovate[bot]
6ddd4f6285
chore(deps): update rust crate fts-sys to v0.2.13 2024-11-24 01:17:34 +00:00
Daniel Hofstetter
4bc9e7b395
Merge pull request #6881 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.92
2024-11-22 07:14:56 +01:00
renovate[bot]
bdffbb044b
fix(deps): update rust crate proc-macro2 to v1.0.92 2024-11-21 20:24:37 +00:00
Daniel Hofstetter
9f07bf8809 mv: remove "sleep" in tests 2024-11-21 16:32:17 +01:00
Daniel Hofstetter
881044aef0
Merge pull request #6861 from sylvestre/dup-source
mv: fix the output of an error message
2024-11-21 16:26:33 +01:00
Daniel Hofstetter
e37d2f2a2b
Merge pull request #6878 from sylvestre/du
du: fix the display with --inodes
2024-11-21 10:42:48 +01:00