Sylvestre Ledru
ceb0785f8d
Merge pull request #7181 from jfinkels/sort-mem-percent
...
sort: support percent arguments to -S option
2025-01-23 23:42:05 +01:00
Sylvestre Ledru
4f83924092
Merge branch 'main' into sort-mem-percent
2025-01-23 22:52:00 +01:00
danieleades
5d6a04ab71
Fix clippy warning manual_if_else ( #7177 )
...
and enable the rule
2025-01-23 22:49:13 +01:00
Sylvestre Ledru
704421bd6b
Merge pull request #7200 from cakebaker/timeout_add_f_and_p
...
timeout: add support for `-f` and `-p` short options
2025-01-23 22:47:45 +01:00
Sylvestre Ledru
5129aba0f0
Merge pull request #7192 from RenjiSann/cksum-fix-error-handling
...
cksum: Update error and flags handling to improver GNU's match
2025-01-23 22:14:17 +01:00
Dorian Peron
84bbd05092
test(cksum): replicate GNU's cksum-c.sh test
2025-01-23 17:04:00 +01:00
Dorian Peron
5d0d1c2a9d
checksum: rework exit_code setting to make use of the return type, fix logic for --ignore-missing
2025-01-23 17:04:00 +01:00
Dorian Peron
dd17a26dd8
checksum: change verbosity system so --status, --quiet and --warn override each other
2025-01-23 17:04:00 +01:00
Dorian Peron
7fff3670b3
checksum: fix improperly formatted WARNING message
2025-01-23 17:04:00 +01:00
Dorian Peron
11a0b1b505
checksum: move line warning display to process_line loop
2025-01-23 17:03:48 +01:00
Daniel Hofstetter
55a4285466
timeout: use no_output() to simplify tests
2025-01-23 16:09:06 +01:00
Daniel Hofstetter
df91808649
timeout: add support for -f and -p short options
2025-01-23 16:05:14 +01:00
Daniel Hofstetter
6c8ec8985b
Merge pull request #7191 from ic3man5/issue_7184
...
sort: options -C and -c should be mutually exclusive but aren't
2025-01-23 10:51:45 +01:00
David Rebbe
f394a20d9a
test(sort): options -C and -c should be mutually exclusive but aren't
2025-01-23 10:22:13 +01:00
David Rebbe
c4ffeea320
sort: options -C and -c should be mutually exclusive but aren't
2025-01-23 10:20:48 +01:00
Daniel Hofstetter
5b056704da
Merge pull request #7198 from ic3man5/issue_7182
...
sort: needs support for human-readable block size suffixes R and Q
2025-01-23 09:36:55 +01:00
David Rebbe
e0261c66c8
test(sort): needs support for human-readable block size suffixes R and Q
2025-01-22 23:38:13 -05:00
David Rebbe
fb5172eb2a
sort: needs support for human-readable block size suffixes R and Q
2025-01-22 23:35:57 -05:00
Tommaso Fellegara
93e3d08d5f
ls, date: refactor common code for formatting a datetime ( #7194 )
...
* refactoring ls and date
* Refactored and integrated ls and date and added tests to the new feature
* Style refactoring
2025-01-22 17:39:00 +01:00
Daniel Hofstetter
e9aa8a58fd
Merge pull request #7196 from uutils/renovate/dawidd6-action-download-artifact-8.x
...
chore(deps): update dawidd6/action-download-artifact action to v8
2025-01-22 14:19:46 +01:00
Daniel Hofstetter
e50e81db58
Merge pull request #7127 from sylvestre/debug2
...
gnu patches: move to use quilt
2025-01-22 13:56:28 +01:00
renovate[bot]
ab052ffe97
chore(deps): update dawidd6/action-download-artifact action to v8
2025-01-22 12:54:47 +00:00
Daniel Hofstetter
0b72d3a26d
Merge pull request #7195 from uutils/sylvestre-patch-4
...
add two tests to the list of intermittent tests
2025-01-22 13:54:04 +01:00
Sylvestre Ledru
2e41256832
add two tests to the list of intermittent tests
2025-01-22 13:24:08 +01:00
Sylvestre Ledru
0b63fe5f43
gnu patches: move to use quilt
2025-01-22 11:25:58 +01:00
Sylvestre Ledru
f731f2cba3
Merge pull request #7188 from ic3man5/main
...
sort: errors on overflowing -k argument but shouldn't
2025-01-22 10:05:51 +01:00
Sylvestre Ledru
9f7d174901
Merge pull request #7193 from cakebaker/kill_list_signal_0
...
kill: list signal `0` with `-l` and `-t`
2025-01-22 09:36:17 +01:00
Daniel Hofstetter
af2a26b57f
kill: list signal 0 with -l and -t
2025-01-22 08:20:47 +01:00
David Rebbe
2ebdc4984d
sort: set -k arg to usize::MAX on overflow
...
newline, format, and more rust idiomatic code.
refactor to remove panic!
2025-01-21 22:36:43 -05:00
David Rebbe
3535bfdc72
test(sort): add test for overflowing -k argument
2025-01-21 22:36:43 -05:00
Daniel Hofstetter
58e4e4bb70
Merge pull request #7189 from uutils/renovate/clap-4.x-lockfile
...
chore(deps): update rust crate clap to v4.5.27
2025-01-21 11:53:10 +01:00
renovate[bot]
f91698b685
chore(deps): update rust crate clap to v4.5.27
2025-01-21 10:25:15 +00:00
Jeffrey Finkelstein
94c772c082
sort: support percent arguments to -S option
...
Add support for parsing percent arguments to the `-S` option. The given
percentage specifies a percentage of the total physical memory. For
Linux, the total physical memory is read from `/proc/meminfo`. The
feature is not yet implemented for other systems.
In order to implement the feature, the `uucore::parser::parse_size`
function was updated to recognize strings of the form `NNN%`.
Fixes #3500
2025-01-20 16:24:49 -05:00
Jeffrey Finkelstein
39847a741a
Add ParseSizeError::PhysicalMem enum variant
2025-01-20 16:24:49 -05:00
Daniel Hofstetter
6a5f2aa334
Merge pull request #7175 from sylvestre/thiserror2
...
Move some programs to thiserror
2025-01-20 16:17:25 +01:00
Sylvestre Ledru
3513ee66c7
Merge pull request #7169 from RenjiSann/cksum-9.6-fixes
...
cksum: add CRC32B algorithm added in GNU 9.6
2025-01-20 15:19:49 +01:00
Dorian Peron
ed4edb4b8a
cksum: Add crc32b algorithm
2025-01-20 12:08:36 +01:00
Sylvestre Ledru
d92d756d0d
Merge pull request #7178 from cakebaker/mv_make_update_sh_pass
...
mv: show prompt for `-u --interactive`
2025-01-20 11:29:08 +01:00
Daniel Hofstetter
20eb5466c0
mv: show prompt for -u --interactive
2025-01-20 10:47:47 +01:00
Sylvestre Ledru
12160a40ac
Merge pull request #7176 from danieleades/clippy-redundant-config
...
remove redundant clippy MSRV config
2025-01-20 10:16:53 +01:00
daniel.eades
086be29a3c
remove redundant clippy MSRV config
2025-01-20 07:50:05 +00:00
Daniel Hofstetter
6c26b4c2df
Merge pull request #7153 from uutils/sylvestre-patch-4
...
Use ubuntu-24.04-arm to build/test linux arm64
2025-01-20 08:47:03 +01:00
Sylvestre Ledru
d66932f593
issues: 7158, 7159 and 7174 - ignore linux arm64 specific test
2025-01-20 08:13:35 +01:00
Sylvestre Ledru
4caacf8d3e
Try to use ubuntu-24.04-arm as system
2025-01-20 08:13:27 +01:00
Sylvestre Ledru
cc1e1a9e5b
Merge pull request #7171 from jfinkels/build-remove-seq-timeout
...
build: remove timeout from seq test cases
2025-01-20 08:09:46 +01:00
Sylvestre Ledru
bf2a55e289
Refresh Cargo.lock
2025-01-20 00:08:58 +01:00
Sylvestre Ledru
418aaaffde
chroot: move to thiserror
2025-01-20 00:04:53 +01:00
Sylvestre Ledru
6866eedc83
mv: move to thiserror
2025-01-19 23:57:53 +01:00
Sylvestre Ledru
9de6393e2c
touch: move to thiserror
2025-01-19 23:57:53 +01:00
Sylvestre Ledru
70f3429102
seq: move to thiserror
2025-01-19 23:57:53 +01:00