Commit graph

13572 commits

Author SHA1 Message Date
Daniel Hofstetter
c098a2a84d
Merge pull request #6862 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.215
2024-11-17 11:55:43 +01:00
renovate[bot]
b9da608793
chore(deps): update rust crate serde to v1.0.215 2024-11-17 10:23:34 +00:00
Daniel Hofstetter
04e4ff1104
Merge pull request #6847 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.164
2024-11-17 11:22:32 +01:00
renovate[bot]
96e42d6dd9
fix(deps): update rust crate libc to v0.2.164 2024-11-17 09:55:29 +00:00
Sylvestre Ledru
83c7cbf0d0
Merge pull request #6822 from RenjiSann/cksum-big-rework
checksum: prepare further behavior fix with a rework
2024-11-16 23:04:53 +01:00
Sylvestre Ledru
7746c5c6ed
publish: by default, put it as draft
to send email only when ready
closes: #6859
2024-11-16 22:52:19 +01:00
Dorian Péron
0bc22e8d18 test(cksum): add multiple tests
test(cksum): add test for blake length gessing
test(cksum): add test for hexa/base64 confusion
test(cksum): add test for error handling on incorrectly formatted checksum
test(cksum): add test for trailing spaces making a line improperly formatted
test(cksum): Re-implement GNU test 'cksum-base64' in the testsuite
2024-11-16 22:44:08 +01:00
Dorian Péron
a09c7cc0d2 feat(checksum): add doc 2024-11-16 22:44:08 +01:00
Dorian Péron
5309b65867 feat(checksum): change process_checksum_line return type to Result<(), LineCheckError>
- Treat digest mismatch as an error
2024-11-16 22:44:08 +01:00
Dorian Péron
4ffedcdac6 feat(checksum): get rid of ChecksumResult in get_file_to_check 2024-11-16 22:44:08 +01:00
Dorian Péron
b6c726602f feat(checksum): get rid of correct_format at the line level 2024-11-16 22:44:08 +01:00
Dorian Péron
afcf93b3e3 feat(checksum): extract file processing into a separate function 2024-11-16 22:44:08 +01:00
Dorian Péron
df0da55645 feat(checksum): extract line processing into a separate function 2024-11-16 22:44:08 +01:00
Dorian Péron
07b9fb8a20 feat(checksum): group flags under a ChecksumOptions struct 2024-11-16 22:44:08 +01:00
Sylvestre Ledru
ab77eaea45 fmt: generate an error if the input is a directory
tested by tests/misc/read-errors
2024-11-16 19:49:44 +01:00
Sylvestre Ledru
1d9e162637
Merge pull request #6856 from cakebaker/ci_remove_code_coverage_jobs
ci: remove code coverage jobs
2024-11-16 19:43:14 +01:00
Daniel Hofstetter
ca92bff41b ci: remove code coverage jobs 2024-11-15 14:31:51 +01:00
Sylvestre Ledru
17fee5192e
Merge pull request #6851 from lcheylus/openbsd-suspicious_open_options
sort: enable clippy::suspicious_open_options on OpenBSD
2024-11-14 22:50:37 +01:00
Laurent Cheylus
15b3194d30
sort: enable clippy::suspicious_open_options on OpenBSD
On OpenBSD 7.6 (release October 2024), Rust version = 1.81.0 => we can now enable
clippy::suspicious_open_options.

Revert commit ee4392e30c

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-11-14 13:52:00 +01:00
Daniel Hofstetter
c8a1830d85
Merge pull request #6849 from uutils/renovate/indicatif-0.x-lockfile
chore(deps): update rust crate indicatif to v0.17.9
2024-11-13 10:17:57 +01:00
Sylvestre Ledru
0f74ae05c9
add unicode-width to the skip list of cargo-deny 2024-11-13 09:49:26 +01:00
renovate[bot]
5d10702467
chore(deps): update rust crate indicatif to v0.17.9 2024-11-13 08:38:21 +00:00
Sylvestre Ledru
80f0a2899b
Merge pull request #6844 from sylvestre/0.0.28
prepare version 0.0.28
2024-11-04 17:43:29 +01:00
Sylvestre Ledru
9932aec085 prepare version 0.0.28 2024-11-03 20:59:42 +01:00
Daniel Hofstetter
d66fde26d4
Merge pull request #6838 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.5
2024-11-02 06:29:19 +01:00
renovate[bot]
3f2b3284c2
chore(deps): update vmactions/freebsd-vm action to v1.1.5 2024-11-02 02:09:37 +00:00
Daniel Hofstetter
27fc9f614f
Merge pull request #6837 from matrixhead/dup-source
mv: gnu test `dup-src` compatibilty
2024-11-01 09:34:43 +01:00
mhead
2c528cfcb5 mv: fix error message when one of the multiple src doesn't exist 2024-11-01 13:35:47 +05:30
Daniel Hofstetter
add49e7b83
Merge pull request #6835 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.66
2024-11-01 07:04:39 +01:00
renovate[bot]
d00c657de4
chore(deps): update rust crate thiserror to v1.0.66 2024-11-01 02:11:33 +00:00
Daniel Hofstetter
8071848c51
Merge pull request #6834 from uutils/renovate/migrate-config
chore(config): migrate renovate config
2024-10-31 16:56:28 +01:00
renovate[bot]
4a46ad9d5e
chore(config): migrate config renovate.json 2024-10-31 15:26:47 +00:00
Daniel Hofstetter
d1f2534811
Merge pull request #6825 from matrixhead/dup-source
cp: normalize path when checking for duplicate source
2024-10-31 11:26:35 +01:00
Daniel Hofstetter
e947c713c8
cp: separate tests with empty line 2024-10-31 10:55:22 +01:00
Daniel Hofstetter
c808faf10f
Merge pull request #6831 from DaringCuteSeal/mkdir-opt
mkdir: allow --parent to be provided more than once
2024-10-31 09:43:25 +01:00
mhead
ff586b47d4 cp: Duplicate source error message specify the type of file. 2024-10-31 11:49:29 +05:30
Daringcuteseal
8cecebc050
tests/mkdir: check for multiple --parent arguments 2024-10-31 05:10:31 +07:00
Daringcuteseal
41f52f3402
mkdir: allow --parent to be provided more than once 2024-10-31 04:49:44 +07:00
Sylvestre Ledru
bf6de81a1f
Merge pull request #6806 from Ecordonnier/eco/signal-handler
uucore: disable default signal-handlers added by Rust
2024-10-30 08:36:01 +01:00
Sylvestre Ledru
566bca34ad
Merge pull request #6779 from andrewliebenow/tr-multibyte-octal-sequences
tr: correctly handle multibyte octal sequences
2024-10-30 08:35:38 +01:00
Daniel Hofstetter
654581ac77
Merge pull request #6830 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.214
2024-10-29 07:00:07 +01:00
renovate[bot]
8815e013ef
chore(deps): update rust crate serde to v1.0.214 2024-10-28 19:05:04 +00:00
Daniel Hofstetter
4a14be4f37
Merge pull request #6829 from uutils/renovate/bigdecimal-0.x-lockfile
chore(deps): update rust crate bigdecimal to v0.4.6
2024-10-28 09:02:41 +01:00
renovate[bot]
c92768c26c
chore(deps): update rust crate bigdecimal to v0.4.6 2024-10-28 07:33:57 +00:00
mhead
4d5bf4205f cp: skip duplicate source check when --backup is given 2024-10-27 14:18:20 +05:30
mhead
74cd797c8a cp: normalize path when checking for duplicate source 2024-10-26 12:09:38 +05:30
Etienne Cordonnier
8ab99d4bfe test(sleep): add test for signal handling 2024-10-25 16:47:40 +02:00
Etienne Cordonnier
b68eb04b8b uucore: disable default signal-handlers added by Rust
Fixes https://github.com/uutils/coreutils/issues/6759

Test procedure (verifies that a single SIGSEGV stops a program):
```
ecordonnier@lj8k2dq3:~/dev/coreutils$ ./target/release/coreutils sleep 100 &
[1] 4175464
ecordonnier@lj8k2dq3:~/dev/coreutils$ kill -11 $(pidof coreutils)
ecordonnier@lj8k2dq3:~/dev/coreutils$
[1]+  Segmentation fault      (core dumped) ./target/release/coreutils sleep 100
```
2024-10-25 16:47:40 +02:00
Andrew Liebenow
186d749e94 Replace commented-out code with TODO comments 2024-10-24 13:12:38 -05:00
Daniel Hofstetter
971da040b5
Merge pull request #6818 from uutils/renovate/regex-1.x-lockfile
chore(deps): update rust crate regex to v1.11.1
2024-10-24 17:34:23 +02:00