Commit graph

1153 commits

Author SHA1 Message Date
Thayne McCombs
d89b5755d9
Merge pull request #1175 from miles170/ci-macos-12
CI: replace macos-latest with macos-12
2022-11-14 21:12:12 -07:00
Miles Liu
a3489674bf
CI: replace macos-latest with macos-12 2022-11-14 16:15:35 +08:00
Thayne McCombs
f6e74407e8
Merge pull request #1174 from sharkdp/v8.5.3-bump
Updates for fd 8.5.3
2022-11-13 23:54:36 -07:00
Thayne McCombs
41d775bedd Updates for fd 8.5.3 2022-11-13 23:23:04 -07:00
David Peter
45cb15d60f
Merge pull request #1158 from miles170/ci-update-actions
CI: update actions to run on Node 16
2022-11-14 07:12:19 +01:00
Thayne McCombs
ce4e8675ed
Merge pull request #1173 from zappolowski/fix-completion-program-name
Use just the file name of the program name for generating completions
2022-11-13 22:11:10 -07:00
Bjoern Hiller
2fcfe7a5b7
Use just the file name of the program name
If passed a full path to the executable (like done in the Makefile) that
value is used in the generated completions. At least for fish this just
doesn't work.

This fixes #1172
2022-11-14 05:57:50 +01:00
Miles Liu
fdab5da795
CI: using the bash shell to setup cargo cmd 2022-11-14 09:11:09 +08:00
Thayne McCombs
85e3adaf18
Merge pull request #1170 from tmccombs/clap-improvements-2
Clap improvements 2
2022-11-12 09:09:48 -07:00
Thayne McCombs
38d406876d Fix a couple small clippy warnings
- suppress warning about unused function on windows
- remove extraneous & in test
2022-11-11 02:12:58 -07:00
Thayne McCombs
84bf65e023 Use unit type for negating optins with clap_derive
As now supported by https://github.com/clap-rs/clap/pull/4371  and https://github.com/clap-rs/clap/pull/4459
2022-11-11 02:09:41 -07:00
Thayne McCombs
2c3e40c9d9 Use new Shell::from_env method in clap_complete
Instead of having an fd specific implementation.
2022-11-11 02:09:41 -07:00
Thayne McCombs
9e88f91c22
Merge pull request #1168 from tmccombs/clippy-fixes-2
Fix some warnings from clippy
2022-11-08 11:56:12 -07:00
Thayne McCombs
0773b3067e Fix some warnings from clippy
I'm guessing these are new warnings from the Rust 1.65 release
2022-11-08 01:09:06 -07:00
Thayne McCombs
bba7e0acd8
Merge pull request #1167 from hadfl/anyhow
anyhow is not only used for the completions feature
2022-11-07 10:48:22 -07:00
Dominik Hassler
6ebc366146 anyhow is not only used for the completions feature 2022-11-07 17:11:00 +00:00
Miles Liu
b389f41cb2
CI: add use of Swatinem/rust-cache 2022-11-04 15:18:34 +08:00
David Peter
56c405d8e6 Updates for fd 8.5.2 2022-11-03 09:13:15 +01:00
David Peter
99d1db8cb3
Merge pull request #1164 from tmccombs/owner-without-panic
Fix panic when using --owner
2022-11-03 09:08:09 +01:00
David Peter
fbef976b92
Merge pull request #1159 from tmccombs/silence-large-variant
Silence warning about large enum variant
2022-11-03 08:54:52 +01:00
Thayne McCombs
55aae3a8c0 Silence warning about large enum variant
Because boxing the large variant is probably worse.
2022-11-03 00:56:56 -06:00
Thayne McCombs
b04cae2ca0 Only run owner root test on linux
Because macos doesn't have a "root" user
2022-11-02 23:55:31 -06:00
Thayne McCombs
c159ea2042 Fix panic when using --owner
Unfortunately, clap_derive can't combine a value_parser of Option<T>
with an optional argument to get a merged Option<T> so we need to do the
check for the nop outside of the value parser.

Also adds some tests for --owner

Fixes: #1163
2022-11-02 23:26:02 -06:00
David Peter
567ce2640f Update CHANGELOG 2022-11-02 13:48:18 +01:00
David Peter
527fe9e262 Updates for fd 8.5.1 2022-11-02 13:46:20 +01:00
David Peter
0a7b51ad42
Merge pull request #1162 from sharkdp/fix-threads-option
Fix --threads/-j option value parsing
2022-11-02 13:45:45 +01:00
David Peter
f15be89bff Fix --threads/-j option value parsing 2022-11-02 13:32:22 +01:00
David Peter
cbd11d8a45
Try to fix bug issue template 2022-11-02 13:15:55 +01:00
Miles Liu
f52eaa92e4
CI: remove use of actions-rs/toolchain
actions-rs is currently inactive and has an issue like actions-rs/toolchain#219
2022-11-02 16:44:15 +08:00
Miles Liu
f4c6d55b9d
CI: remove use of actions-rs/cargo
actions-rs is currently inactive and has an issue like actions-rs/cargo#216
2022-11-02 16:44:15 +08:00
Miles Liu
5e7a870af6
CI: update actions/checkout to v3 2022-11-02 16:40:59 +08:00
Thayne McCombs
6b7f8da381
Merge pull request #1157 from miles170/ci-migrate-set-output
CI: migrate deprecating set-output commands
2022-11-02 00:50:46 -06:00
Miles Liu
8d1c3631cf
CI: migrate deprecating set-output commands 2022-11-02 12:06:43 +08:00
David Peter
c85929045e Update CHANGELOG 2022-11-01 21:36:56 +01:00
David Peter
715f0a9e44
Update release checklist 2022-11-01 21:36:30 +01:00
David Peter
bab77275ec Update Usage in Readme 2022-11-01 21:18:11 +01:00
David Peter
12165c73f8 Reorder command line options 2022-11-01 21:17:48 +01:00
David Peter
70c4865191 Set max. term width to make help texts easier to read 2022-11-01 21:14:16 +01:00
David Peter
7f5bc9884f Add simple 'about' text 2022-11-01 21:02:37 +01:00
David Peter
ac35b11dc8 Change clap CLI binary name to 'fd' 2022-11-01 21:00:32 +01:00
David Peter
f8e832f212 Preparation for v8.5 2022-11-01 20:55:25 +01:00
David Peter
bc94fcc90f Update CHANGELOG 2022-11-01 20:45:16 +01:00
David Peter
b57ed11f65
Merge pull request #1137 from amesgen/batch-exit-code
Respect exit codes with `--exec-batch`
2022-11-01 20:42:28 +01:00
David Peter
831fe666fa Remove outdated TODO comment 2022-11-01 20:34:42 +01:00
David Peter
13a47c3a2c
Merge pull request #1067 from tmccombs/clap-derive
Clap derive
2022-11-01 20:34:08 +01:00
David Peter
5771e74b95 Add newlines between options 2022-11-01 20:18:17 +01:00
David Peter
55029e889e Minor: add missing full stop 2022-11-01 20:13:32 +01:00
David Peter
ebd48d406e Fix unit tests 2022-11-01 20:12:56 +01:00
David Peter
3f72ef4cdd Remove outdated TODO comment 2022-11-01 20:07:09 +01:00
David Peter
169d22fde2 Merge remote-tracking branch 'origin/master' into clap-derive 2022-11-01 20:00:16 +01:00