Commit graph

10132 commits

Author SHA1 Message Date
Sylvestre Ledru
63f608d249
Merge pull request #4723 from sylvestre/deref
du: add support of --dereference-args & minor changes
2023-04-13 16:05:33 +02:00
Sylvestre Ledru
00a866e128 du: move to use an enum 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
e82e6a3e4c du: remove cognitive_complexity clippy allow 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
b2fd72878e du: reduce the complexity by moving get_convert_size_fn option mgmt into a function 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
f475a36204 du: reduce the complexity by moving the time option mgmt into a function 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
f08b8dab23 du: directly get a vec of pathbuf to avoid several type changes 2023-04-13 13:38:24 +02:00
Sylvestre Ledru
47cb40c020 du: adjust test_du_basics_bad_name as we made it work 2023-04-13 13:27:04 +02:00
Sylvestre Ledru
eea8d40e78 du: add support of --dereference-args
Should fix tests/du/deref.sh
2023-04-13 13:27:04 +02:00
Sylvestre Ledru
5a1d9cec7e du: an error code when done on a non existing file 2023-04-13 13:27:04 +02:00
Daniel Hofstetter
dd3c0f7fe9
Merge pull request #4729 from spineki/b2sum-missing-l-option
B2sum: add -l/--length option
2023-04-13 09:57:55 +02:00
Daniel Hofstetter
856477b71b
Merge pull request #4735 from uutils/renovate/lscolors-0.x
chore(deps): update rust crate lscolors to 0.14.0
2023-04-13 07:39:40 +02:00
renovate[bot]
d3406b0c66
chore(deps): update rust crate lscolors to 0.14.0 2023-04-12 20:30:46 +00:00
Marras Antoine
756293a9c4 b2sum: added tests to handle 0, non multiple of 8 and and more than 512 cases 2023-04-12 21:05:11 +02:00
Terts Diepraam
08c5f3b61b
Merge pull request #4733 from sylvestre/improv-ls
Improve the readibility of ls code
2023-04-12 11:21:17 +02:00
Marras Antoine
fdbebfad9d b2sum: moved 0 case into None arm 2023-04-12 09:49:20 +02:00
Daniel Hofstetter
248be61c32
Merge pull request #4732 from uutils/renovate/sha3-0.x
chore(deps): update rust crate sha3 to 0.10.7
2023-04-12 07:08:41 +02:00
renovate[bot]
692af0957d
chore(deps): update rust crate sha3 to 0.10.7 2023-04-11 23:07:14 +00:00
Sylvestre Ledru
c8d2a9ad0e ls: document the new functions 2023-04-11 23:13:04 +02:00
Sylvestre Ledru
ee0fc86ce8 ls: remove cognitive_complexity clippy allow 2023-04-11 23:03:41 +02:00
Sylvestre Ledru
33d4ab82ba ls: extract most of the content into functions 2023-04-11 23:02:48 +02:00
Sylvestre Ledru
20794c4cbb
Merge pull request #4730 from cakebaker/fix_gnutests_yml
CICD: fix full path for the ignore list
2023-04-11 17:29:33 +02:00
Daniel Hofstetter
b005b0e0ed CICD: fix full path for the ignore list 2023-04-11 15:22:44 +02:00
Marras Antoine
c4d637125c b2sum: changed british spelling for american spelling 2023-04-11 09:28:41 +02:00
Daniel Hofstetter
75cad4ddcb
Merge pull request #4728 from uutils/sylvestre-patch-2
Use the full path for the ignore list
2023-04-11 07:48:13 +02:00
Marras Antoine
a9e65e881c b2sum: handled 0 length case and greater than 512 case 2023-04-10 21:20:54 +02:00
Marras Antoine
0798cfe155 b2sum: added test for length option 2023-04-10 20:27:49 +02:00
Sylvestre Ledru
0a559ab3de
Use the full path for the ignore list 2023-04-10 19:24:25 +02:00
Marras Antoine
ae1113d7dc b2sum: add support to -l option 2023-04-10 18:31:18 +02:00
Sylvestre Ledru
be1fd3d065
Merge pull request #4722 from cakebaker/remove_extern_crate_statements_in_tests
tests: remove all "extern crate" statements
2023-04-10 09:38:14 +02:00
Daniel Hofstetter
7a888da409 tests: remove all "extern crate" statements 2023-04-10 08:31:31 +02:00
Sylvestre Ledru
1a8f2a78c0
Merge pull request #4721 from cakebaker/remove_extern_crate_statements
Remove some unnecessary "extern crate" statements
2023-04-09 16:43:05 +02:00
Daniel Hofstetter
4355fb7f78 Remove some unnecessary "extern crate" statements 2023-04-09 16:12:45 +02:00
Sylvestre Ledru
2f6c505ff2
Merge pull request #4718 from cakebaker/touch_remove_extern_crates
touch: remove unnecessary "extern crate"s
2023-04-09 15:09:36 +02:00
Sylvestre Ledru
7401419d27
Merge pull request #4720 from cakebaker/uucore_remove_commented_out_imports
uucore: remove commented out imports
2023-04-09 15:09:08 +02:00
Daniel Hofstetter
dfea103bc4 uucore: remove commented out imports 2023-04-09 14:53:15 +02:00
Daniel Hofstetter
81b1bc1fa7 touch: remove unnecessary "extern crate"s 2023-04-08 16:34:29 +02:00
Daniel Hofstetter
213bbb8e54
Merge pull request #4717 from Xalfer/touch
touch: add support for --ref and --date together
2023-04-08 16:12:46 +02:00
xalfer
9badfcd7d2 touch: fix clippy lints 2023-04-08 12:23:24 +02:00
xalfer
19e456fe2a touch: add support for --ref and --date together
This commit resolves issue #4608.

To make it relatively straightforward to implement I have taken some
code from parse_date and put it inside a function parse_relative_time.

This commit changes and adds some test as well to work with the new
functionality.
2023-04-07 21:36:26 +02:00
Sylvestre Ledru
da15928d71
Merge pull request #4712 from cakebaker/factor_remove_extern_crate
factor: remove unnecessary "extern crate" in test
2023-04-07 09:46:46 +02:00
Daniel Hofstetter
305087f8e2 factor: remove unnecessary "extern crate" in test 2023-04-06 14:52:54 +02:00
Sylvestre Ledru
2172b0cae0
Merge pull request #4711 from cakebaker/factor_fix_unused_import_in_test
factor: fix unused import in test
2023-04-06 11:16:08 +02:00
Daniel Hofstetter
74a95bc7a5 factor: expand glob import in test 2023-04-06 09:47:21 +02:00
Daniel Hofstetter
20a8b5ac9e factor: fix "unused import" warning in test 2023-04-06 09:45:13 +02:00
Daniel Hofstetter
69f4944a6e
Merge pull request #4709 from uutils/renovate/hex-literal-0.x
chore(deps): update rust crate hex-literal to 0.4.1
2023-04-06 08:08:29 +02:00
m11o
b1f15ef720 Merge branch 'printf-move-strings-to-md-files' of https://github.com/m11o/coreutils-rs into printf-move-strings-to-md-files 2023-04-06 00:50:49 +09:00
m11o
1c5f068886 use ` for keyword 2023-04-06 00:50:02 +09:00
Masahito Osako
c988e712a1
Merge branch 'main' into printf-move-strings-to-md-files 2023-04-06 00:44:47 +09:00
m11o
45ce14c85b fix review to use code block 2023-04-06 00:44:26 +09:00
renovate[bot]
bedb0d14a6
chore(deps): update rust crate hex-literal to 0.4.1 2023-04-05 15:30:31 +00:00