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
David Peter
c6f9595a02
Update CHANGELOG
2022-11-01 19:57:11 +01:00
Tavian Barnes
5278405263
walk: Use a bounded queue.
...
Fixes #918 .
2022-11-01 19:48:39 +01:00
Tavian Barnes
5bb7a52704
walk: Switch back to crossbeam-channel
...
Fixes #933 . Fixes #1060 . Fixes #1113 .
2022-11-01 19:48:39 +01:00
Tavian Barnes
93e5488420
walk: Simplify the code in scan() a bit
2022-11-01 15:36:48 +01:00
Thayne McCombs
36ee44a3f6
Make help output more like what it was before use clap_derive
...
In particular, we specifically use `long_help` instead of doc comments
because using doc comments will always trim the "." off the end of the
first paragraph, and will include the short help as the first paragraph
of the full help.
2022-11-01 02:30:22 -06:00
Thayne McCombs
8500c3193d
Merge remote-tracking branch 'upstream/master' into clap-derive
2022-11-01 01:12:41 -06:00
Tavian Barnes
cd8ec44abf
Address review comments
2022-10-31 22:23:30 +01:00
Tavian Barnes
17d849df6c
Compute colors in parallel
2022-10-31 22:23:30 +01:00
Tavian Barnes
b2c8888a50
dir_entry: Implement file_name() for broken symlinks
2022-10-31 22:23:30 +01:00
Tavian Barnes
f0c50befce
Add a changelog entry
2022-10-31 22:23:30 +01:00
Tavian Barnes
7917c00887
dir_entry: Implement lscolors::Colorable
2022-10-31 22:23:30 +01:00
Vlad Kooklev
c9f4dec2ed
chore: Update outdated LICENSE year
2022-10-31 21:19:34 +01:00
Frieder Bluemle
e9121ee515
Remove trailing spaces from README.md
2022-10-31 21:19:07 +01:00
Thayne McCombs
3782278f02
Improve help output
2022-10-20 00:34:52 -06:00
Thayne McCombs
a3622ba294
Remove TODO comment
...
In favor of tracking scoped threads in #1141
2022-10-19 23:43:45 -06:00
Thayne McCombs
aec125637b
Fix format
2022-10-14 23:14:03 -06:00
amesgen
cb95f1dcd5
Respect exit codes with --exec-batch
2022-10-13 23:33:54 +02:00
David Peter
4257034209
Add release checklist for maintainers
2022-10-13 22:52:09 +02:00
Thayne McCombs
b6f0088b68
Change thread option to take u32 instead of usize
...
To simplify the option parsing.
2022-10-12 00:33:49 -06:00
Thayne McCombs
c2115884de
Fix deprecations from clap 4.0
2022-10-11 22:27:57 -06:00
Thayne McCombs
c0b14705cd
Update msrv to 1.60
...
Because that is what clap requires
2022-10-11 00:39:57 -06:00