Commit graph

11216 commits

Author SHA1 Message Date
Daniel Hofstetter
163fc8d9e6
Merge pull request #5379 from sylvestre/clippy2
Make clippy::cognitive_complexity as an error
2023-10-09 17:35:27 +02:00
Sylvestre Ledru
b802c8cc3f
Merge branch 'main' into clippy2 2023-10-09 15:49:25 +02:00
Sylvestre Ledru
0695437de2
Merge pull request #5385 from cakebaker/uucore_remove_commented_out_enum
uucore: remove commented out enum FChar
2023-10-09 15:39:38 +02:00
Daniel Hofstetter
b38ac2cb74 uucore: remove commented out enum FChar 2023-10-09 15:28:12 +02:00
Sylvestre Ledru
3382623bbc
Merge pull request #5384 from cakebaker/uucore_remove_commented_out_import
uucore: remove commented out import
2023-10-09 15:24:36 +02:00
Sylvestre Ledru
9ee3360429
Merge pull request #5382 from cakebaker/bump_errno
Bump errno from 0.3.1 to 0.3.5
2023-10-09 15:17:28 +02:00
Daniel Hofstetter
2883c0a968 uucore: remove commented out import 2023-10-09 15:16:50 +02:00
Daniel Hofstetter
e00268a721
Merge pull request #5380 from sylvestre/fuzz-github
github action: move the fuzzing action into it own file/task
2023-10-09 07:44:03 +02:00
Daniel Hofstetter
2c9e091ebe Bump errno from 0.3.1 to 0.3.5 2023-10-09 07:07:38 +02:00
Sylvestre Ledru
02ab93c141 github action: name the toml task 2023-10-08 17:54:36 +02:00
Sylvestre Ledru
4d122d7dd0 Move rustfmt + clippy + typo check into it own workflow 2023-10-08 17:53:19 +02:00
Sylvestre Ledru
8e8a91be5d Ignore more cognitive_complexity 2023-10-08 17:46:11 +02:00
Sylvestre Ledru
5ac1aef20e github action: move the fuzzing action into it own file/task 2023-10-08 17:34:52 +02:00
Sylvestre Ledru
6d24549156 github action: enable clippy::cognitive_complexity 2023-10-08 17:32:03 +02:00
Sylvestre Ledru
4ed58718a8 github action: extract the warnings into a variable 2023-10-08 17:31:50 +02:00
Sylvestre Ledru
0997493038
Merge pull request #5376 from cakebaker/expr_add_empty_lines
expr: add some empty lines
2023-10-08 17:13:27 +02:00
Daniel Hofstetter
7e08562ee6 expr: add some empty lines 2023-10-08 15:02:01 +02:00
Daniel Hofstetter
94f5fa9487
Merge pull request #5365 from Luv-Ray/fix-expr
`expr`: short-circuit evaluation for `|`
2023-10-08 14:55:59 +02:00
Sylvestre Ledru
c53ca6d6fc
Merge pull request #5372 from sanpii/ls-panic
ls: fix panic when file removed too quickly
2023-10-08 10:54:19 +02:00
Daniel Hofstetter
90b3f6bffb
Merge pull request #5375 from uutils/renovate/num-traits-0.x
chore(deps): update rust crate num-traits to 0.2.17
2023-10-08 08:35:11 +02:00
renovate[bot]
849051f968
chore(deps): update rust crate num-traits to 0.2.17 2023-10-07 22:22:06 +00:00
Daniel Hofstetter
1038508a58
Merge pull request #5335 from PThorpe92/mv_nushell
mv: expose main functionality for nushell
2023-10-07 16:46:45 +02:00
Sylvestre Ledru
77c120db2d
Merge pull request #5373 from cakebaker/head_add_some_empty_lines
head: add some empty lines
2023-10-07 16:32:41 +02:00
Sylvestre Ledru
970b499c3d
Merge pull request #5374 from cakebaker/clippy_cognitive_complexity
clippy: suppress cognitive_complexity lint for two functions
2023-10-07 16:27:27 +02:00
Daniel Hofstetter
f86469f6d5 head: add some empty lines 2023-10-07 16:04:21 +02:00
Daniel Hofstetter
2ba7400d05 clippy: suppress cognitive_complexity lint
for two functions
2023-10-07 15:15:44 +02:00
Sylvestre Ledru
3e1d3caceb
head: remove clippy::cognitive_complexity by moving some content in a function (#5366)
* head: remove a clippy::cognitive_complexity by moving some content into a function

* Remove duplicate comment
2023-10-07 13:37:24 +02:00
Sanpi
e1b7f254a6
ls: fix panic when file removed too quickly
Fixes #5371
2023-10-07 12:57:05 +02:00
Daniel Hofstetter
91c8724fd5
Merge pull request #5369 from sylvestre/size
Binary sizes: handle when 0 (relpath removal)
2023-10-07 07:40:24 +02:00
Daniel Hofstetter
992bbcc4e7
Merge pull request #5370 from uutils/renovate/libc-0.x
chore(deps): update rust crate libc to 0.2.149
2023-10-07 07:01:08 +02:00
renovate[bot]
959bfa0160
chore(deps): update rust crate libc to 0.2.149 2023-10-07 02:43:46 +00:00
Zhuoxun Yang
e5d70d444a tests/expr: format 2023-10-07 10:41:10 +08:00
Sylvestre Ledru
98cfb0c322 Binary sizes: handle when 0 (relpath removal) 2023-10-06 22:08:14 +02:00
Sylvestre Ledru
a596cda516
Merge pull request #5355 from boxdot/main
relpath: remove
2023-10-06 20:39:25 +02:00
Luv_Ray
7bf4b7f674
tests/expr: add tests in test_expr.rs 2023-10-07 00:42:04 +08:00
Luv_Ray
0df561e256
expr: add comment in syntax_tree.rs 2023-10-07 00:19:56 +08:00
Zhuoxun Yang
5a732dd21a tests/expr: add test expr 1 \| a / 5 2023-10-06 23:50:44 +08:00
Zhuoxun Yang
2c2e01205c expr: short-circuit evaluation for | 2023-10-06 23:50:22 +08:00
PThorpe92
4a44a106a0
feat: expose mv externals + document for nushell 2023-10-06 11:34:06 -04:00
PThorpe92
6091bafe08
feat(mv): expose functionality, document for nushell 2023-10-06 11:33:58 -04:00
Zhuoxun Yang
fa2a14ccd2 expr: unify debug message 2023-10-06 22:55:30 +08:00
Sylvestre Ledru
c595948dbc
Merge pull request #5362 from cakebaker/clippy_fix_warnings_in_tests
clippy: fix warnings in tests
2023-10-06 10:42:08 +02:00
Daniel Hofstetter
6dd53c7a71 clippy: fix warnings in tests 2023-10-06 10:11:26 +02:00
Daniel Hofstetter
7d39b1ade5
Merge pull request #5359 from sylvestre/chown-sim
chown: move uid & gid detections into their own functions
2023-10-06 09:00:03 +02:00
Daniel Hofstetter
f8f1c7f42b
Merge pull request #5361 from uutils/renovate/byteorder-1.x
chore(deps): update rust crate byteorder to 1.5.0
2023-10-06 08:35:47 +02:00
Daniel Hofstetter
4760b1f340
chown: remove unnecessary return 2023-10-06 07:49:36 +02:00
renovate[bot]
7c3de40842
chore(deps): update rust crate byteorder to 1.5.0 2023-10-06 05:01:49 +00:00
Daniel Hofstetter
e03028f2c4
Merge pull request #5360 from sylvestre/clippy
touch: fix clippy warning - redundant guard
2023-10-06 06:59:52 +02:00
Sylvestre Ledru
d756a05be6 touch: fix clippy warning - redundant guard 2023-10-05 19:18:00 +02:00
Sylvestre Ledru
b87e1f5676 chown: move uid & gid detections into their own functions 2023-10-05 19:06:46 +02:00