Commit Graph

1252 Commits

Author SHA1 Message Date
dependabot[bot]
02c9efba28 Bump regex from 1.7.1 to 1.7.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.1 to 1.7.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.1...1.7.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 22:01:20 +02:00
dependabot[bot]
aebe7537c3 Bump regex-syntax from 0.6.28 to 0.6.29
Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.6.28 to 0.6.29.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/commits)

---
updated-dependencies:
- dependency-name: regex-syntax
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 21:57:46 +02:00
Ryan Caezar Itang
4356ba3c43 Move Winget Releaser inside CICD workflow 2023-03-27 21:43:06 +02:00
Ryan Caezar Itang
c9afbc5b70 Add Winget Releaser workflow 2023-03-27 21:43:06 +02:00
Ryan Caezar Itang
e38e3078ac Add GitHub actions to Dependabot 2023-03-27 21:43:06 +02:00
David Peter
5439326aa4 CI updates 2023-03-27 21:39:10 +02:00
Thayne McCombs
35bc1f95fb Specifically set ignore version to 0.4.20 in Cargo.toml 2023-03-24 10:38:59 +01:00
Thayne McCombs
161ee64399
Merge pull request #1285 from tmccombs/doc-update
Add documentation and zsh updates
2023-03-21 18:36:01 -06:00
Thayne McCombs
399bf3a931 Add documentation and zsh updates
- Include --and in man page and zsh completions.
- Include --no-require-git and --changed-after to zsh completions

Fixes: #1282
2023-03-21 00:44:53 -06:00
Tavian Barnes
bae0a1bfa6
Merge pull request #1284 from tmccombs/cargo-update
Cargo update
2023-03-20 09:45:28 -04:00
Tavian Barnes
e4bca1033c
Merge pull request #1283 from tmccombs/new-rust-version
A few changes to take advantage of the new MSRV
2023-03-20 09:44:55 -04:00
Thayne McCombs
da40e76aae Run cargo update
To update transient dependencies.

Notably, this removes fs_extras, the current version of which has code
that rustc identifies as not being future compatible.
2023-03-20 01:28:43 -06:00
Thayne McCombs
31ac4a3f5c Bump MSRV to 1.67.0 2023-03-20 01:22:52 -06:00
Thayne McCombs
424d6efcc0 fix: Remove unnecessary collection into a vec. 2023-03-20 01:21:00 -06:00
Thayne McCombs
ccf8e69650 fix: clippy warning for unnecessary closure
Now that MSRV is above 1.62, we can use `then_some` instead of a simple
closure.
2023-03-20 01:21:00 -06:00
Thayne McCombs
ee44c1ed90 refactor: Use scoped threads from stdlib in spawn_receiver
This makes it so we don't need to use Arc as much.

Fixes #1141
2023-03-20 01:21:00 -06:00
David Peter
3ac2e13a25
Merge pull request #1255 from cha0ran/master
Update Chinese links
2023-03-12 22:41:18 +01:00
Thayne McCombs
06a6a118a1
Merge pull request #1269 from sharkdp/dependabot/cargo/normpath-1.0.1
Bump normpath from 0.3.2 to 1.0.1
2023-03-03 00:27:06 -07:00
Thayne McCombs
c095867154
Merge pull request #1268 from sharkdp/dependabot/cargo/clap_complete-4.1.4
Bump clap_complete from 4.0.6 to 4.1.4
2023-03-03 00:26:30 -07:00
Tavian Barnes
324005fb3a
Merge pull request #1273 from cyqsimon/rustfmt
Add empty `rustfmt.toml` to enforce default formatting
2023-03-02 09:47:27 -05:00
cyqsimon
d8166907e6
Add comment on default in rustfmt.toml 2023-03-02 17:06:47 +08:00
cyqsimon
7cbfb8e29c
Add empty rustfmt.toml to enfore default formatting 2023-03-02 17:05:15 +08:00
dependabot[bot]
1c5ce0a661
Bump clap_complete from 4.0.6 to 4.1.4
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.0.6 to 4.1.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.0.6...clap_complete-v4.1.4)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 19:48:23 +00:00
dependabot[bot]
f98496abcd
Bump normpath from 0.3.2 to 1.0.1
Bumps [normpath](https://github.com/dylni/normpath) from 0.3.2 to 1.0.1.
- [Release notes](https://github.com/dylni/normpath/releases)
- [Commits](https://github.com/dylni/normpath/compare/0.3.2...1.0.1)

---
updated-dependencies:
- dependency-name: normpath
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 19:47:08 +00:00
David Peter
82aa17f9fb
Merge pull request #1270 from sharkdp/dependabot/cargo/ctrlc-3.2.4
Bump ctrlc from 3.2.3 to 3.2.4
2023-03-01 20:46:05 +01:00
David Peter
9b8457aeb3
Merge pull request #1271 from sharkdp/dependabot/cargo/once_cell-1.17.1
Bump once_cell from 1.17.0 to 1.17.1
2023-03-01 20:45:57 +01:00
dependabot[bot]
535b34e48a
Bump once_cell from 1.17.0 to 1.17.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.17.1)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 17:57:40 +00:00
dependabot[bot]
0909d413d0
Bump ctrlc from 3.2.3 to 3.2.4
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases)
- [Commits](https://github.com/Detegr/rust-ctrlc/commits)

---
updated-dependencies:
- dependency-name: ctrlc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 17:57:35 +00:00
Thayne McCombs
284ee3d0c6
Merge pull request #1263 from jpcirrus/patch-1
Add flag `--no-require-git` to man page
2023-02-25 23:41:34 -07:00
John Purnell
f3e6536d59
Add flag --no-require-git to man page
#1216 omitted to add the flag to the man page.
2023-02-26 11:41:19 +13:00
Tavian Barnes
002645d7ac
Merge pull request #1262 from tmccombs/upcoming-changes
Add upcoming changes to changelog
2023-02-24 08:57:02 -05:00
Thayne McCombs
9f6abded0e Add upcoming changes to changelog 2023-02-24 01:27:15 -07:00
Thayne McCombs
840a565d3a Updates for 8.7.0 2023-02-24 00:14:46 -07:00
David Peter
3cf5ac0b9a
Merge pull request #1256 from sitiom/patch-1
Add Winget installation reference
2023-02-04 08:51:38 +01:00
sitiom
a217823510
Add Winget installation reference 2023-02-04 10:51:47 +08:00
Frank_Shek
f867c28a2c Update Chinese links 2023-02-02 09:36:05 +08:00
David Peter
73a693ef28
Merge pull request #1244 from tmccombs/grouped-occurrences
update: Update to clap 4.1
2023-02-01 21:36:19 +01:00
David Peter
9955e20d01
Merge pull request #1253 from sharkdp/dependabot/cargo/nix-0.26.2
Bump nix from 0.25.0 to 0.26.2
2023-02-01 21:35:47 +01:00
David Peter
03052757a7
Merge pull request #1252 from sharkdp/dependabot/cargo/regex-1.7.1
Bump regex from 1.7.0 to 1.7.1
2023-02-01 21:35:39 +01:00
dependabot[bot]
bdcc24ed04
Bump nix from 0.25.0 to 0.26.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.25.0 to 0.26.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.2)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 17:02:24 +00:00
dependabot[bot]
8478a2c7eb
Bump regex from 1.7.0 to 1.7.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 17:02:07 +00:00
Thayne McCombs
c34bfa30fe chore: Update MSRV to 1.64.0
To match clap 4.1
2023-01-18 23:00:03 -07:00
David Peter
af9daff4ee
Merge pull request #1216 from vegerot/pr1216
Add flag --no-require-git to always respect gitignore files
2023-01-17 14:37:14 +01:00
Thayne McCombs
10ba34f78b update: Update to clap 4.1
This includes switching to the stable API for getting values grouped by
occurrences, and updating tests to match the new error messages.
2023-01-17 00:17:50 -07:00
Thayne McCombs
503ede7535
Merge pull request #1212 from sharkdp/global-ignore-test
Add tests for global ignore file
2023-01-16 00:55:30 -07:00
Max 👨🏽‍💻 Coplan
08c0d427bf Add flag --no-require-git to always respect gitignore files
Summary: Currently, `--ignore-vcs` only serves to unset `--no-ignore-vcs`.
There is currently no way to tell fd to respect gitignore files when not in a
git repository.  This commit adds the flag `--no-require-git` to make fd always
respect all gitignore files.

This behaves the same as the `--no-require-git` option in [ripgrep](3bb71b0cb8/crates/core/app.rs (L2214-L2226))

This commit also contains an unrelated wording fix to CONTRIBUTING.md

Test Plan: `tests/tests.rs`

Background: I am using [Sapling](https://sapling-scm.com/docs/introduction/)
for working with git repositories (including this commit ☺️).  Since Sapling
uses `.sl` instead of `.git`, tools using the `ignore` crate (rg and fd) would show gitignored files.
I made a patch (ebf17eef22)
to `ignore` to respect gitignores with _either_ `.git` or `.sl`.  However,
@BurntSushi said he did not want to merge that patch and instead suggested I
use `--no-require-git` (https://github.com/BurntSushi/ripgrep/issues/2374).
This works fine, but I couldn't use this workaround for my other favorite tool!
That's what this patch is for 😁

(a follow-up patch will add a similar `FD_CONFIG_PATH` environment variable
like `RG_CONFIG_PATH`)
2023-01-13 13:52:34 -08:00
Thayne McCombs
ab7d5eff87
Merge pull request #1220 from sharkdp/dependabot/cargo/regex-syntax-0.6.28
Bump regex-syntax from 0.6.27 to 0.6.28
2023-01-01 23:59:16 -07:00
Thayne McCombs
686318c005
Merge pull request #1221 from sharkdp/dependabot/cargo/nix-0.25.0
Bump nix from 0.24.2 to 0.25.0
2023-01-01 11:04:58 -07:00
Thayne McCombs
c04ab74744
Merge pull request #1219 from sharkdp/dependabot/cargo/anyhow-1.0.68
Bump anyhow from 1.0.66 to 1.0.68
2023-01-01 10:50:37 -07:00
Thayne McCombs
8fdfc6c2ef
Merge pull request #1222 from sharkdp/dependabot/cargo/once_cell-1.17.0
Bump once_cell from 1.15.0 to 1.17.0
2023-01-01 10:50:06 -07:00