Commit Graph

1150 Commits

Author SHA1 Message Date
Félix Saparelli bc0fe6be70
Add context to io errors 2022-01-16 19:46:52 +13:00
Félix Saparelli 93a961abf6
Clippy 2022-01-16 19:16:53 +13:00
Félix Saparelli 4085fc522c
Add SpecificIoError trait support for tagged error 2022-01-16 19:16:07 +13:00
Félix Saparelli 44a44a50d1
Move TaggedFiltererError into main error mod 2022-01-16 19:14:31 +13:00
Félix Saparelli b29b3bf1e0
Add helper trait to add context to io errors 2022-01-16 19:09:50 +13:00
Félix Saparelli c821faf383
Split error mod and split generic/specific io errors 2022-01-16 18:57:40 +13:00
Félix Saparelli 6a925fc392
Canonicalise origin and workdir 2022-01-16 17:42:49 +13:00
Félix Saparelli 2a1a386208
Rename (with compat alias) --no-ignore to --no-project-ignore 2022-01-16 17:34:06 +13:00
Félix Saparelli 26e0b60b7b lib: v2.0.0-pre.4 2022-01-16 16:55:55 +13:00
Félix Saparelli 10b71847da
Add support for Pijul and Subversion 2022-01-16 16:13:05 +13:00
Félix Saparelli 9327f8c293
Only ignore .git if we're in a git project, and so on 2022-01-16 16:12:50 +13:00
Félix Saparelli 2682dde41d
Handle errors from ignore file discovery 2022-01-16 16:11:17 +13:00
Félix Saparelli 3d32f2d24b
Hook up new globset signature 2022-01-16 16:09:53 +13:00
Félix Saparelli 561a34d90e
Drop globset::list_from_ignore_file 2022-01-16 15:21:10 +13:00
Félix Saparelli 817f4c2caf
Drop ignorefile tests from globset and tagged now that they're done via common IgnoreFilterer 2022-01-16 15:20:14 +13:00
Félix Saparelli b8d9ad728e
Integrate IgnoreFilterer into GlobsetFilterer 2022-01-16 15:18:15 +13:00
Félix Saparelli d6dfb87063
Integrate IgnoreFilterer into TaggedFilterer 2022-01-16 14:51:35 +13:00
Félix Saparelli 8219e577d0
Reduce swaplock hold for tagged compile globs 2022-01-16 14:51:11 +13:00
Félix Saparelli f073eeb344
Add ::empty() and Clone to IgnoreFilterer 2022-01-16 14:49:14 +13:00
Félix Saparelli 0618eb45fc
Hold swaplock for less in change() 2022-01-16 14:48:29 +13:00
Félix Saparelli ed6df57aa0
Ignore .git, .hg, etc while looking for ignore files 2022-01-16 02:36:22 +13:00
Félix Saparelli 1c388d6b2d
Logic inversione 2022-01-16 02:03:02 +13:00
Félix Saparelli 0c2b4848be
Be more efficient, and more importantly, correct, when ignoring ignores 2022-01-16 01:44:53 +13:00
Félix Saparelli e40b426930 Clippy 2022-01-16 01:44:11 +13:00
Félix Saparelli 63f9eedfec Clippy 2022-01-16 00:58:30 +13:00
Félix Saparelli e9bc4fcf1b
Add ignore support to ignore finder 2022-01-16 00:57:29 +13:00
Félix Saparelli 5bdc1b491f
Add tests for ignore filterer 2022-01-15 23:46:41 +13:00
Félix Saparelli 58d47f78e1
Add more filtering logging and spans 2022-01-15 23:46:06 +13:00
Félix Saparelli 1ce238949e
Reduce verbosity of tracing span output 2022-01-15 16:40:01 +13:00
Félix Saparelli f0435eeaf3
Document envvars read/written and files read 2022-01-15 15:58:30 +13:00
Félix Saparelli 431ef710ee
Expose paths::PATH_SEPARATOR 2022-01-15 15:58:11 +13:00
Félix Saparelli 97070c815c
Add --no-global-ignore to completion and man 2022-01-15 15:57:40 +13:00
Félix Saparelli d70abeac6f
Add --notify to man 2022-01-15 15:26:57 +13:00
Félix Saparelli 78b8acf6cc
Add --print-events to man 2022-01-15 15:26:35 +13:00
Félix Saparelli afb61712a6
Remove --no-shell from completion 2022-01-15 15:26:12 +13:00
Félix Saparelli be5782432a
Add --notify and --print-events to completion 2022-01-15 15:25:47 +13:00
Félix Saparelli da6f9cfc55
Attempt to amend zsh completions for multi-v verbose 2022-01-15 15:20:27 +13:00
Félix Saparelli 775b0ac81c
Add -vv+ usage to manpage 2022-01-15 15:19:16 +13:00
Félix Saparelli 5e285074bd
Add ignore test helper 2022-01-15 15:15:40 +13:00
Félix Saparelli 00def9e19a
Use pretty logging at high -vvvv 2022-01-15 15:14:25 +13:00
Félix Saparelli 2c840f4a2d
Reorganise the ignore mod for brevity 2022-01-15 15:12:32 +13:00
Félix Saparelli 5f43a6eae8
Move profile to where it's effective 2022-01-15 14:34:37 +13:00
Félix Saparelli 0e12030e3b
Perform fat LTO in release 2022-01-13 01:02:37 +13:00
Félix Saparelli 23a3482361
Include some debug info in release, but compress it for prebuilds 2022-01-13 01:02:22 +13:00
Félix Saparelli 0936a68355
Split ignore mod further 2022-01-12 00:59:39 +13:00
Félix Saparelli ca4d4900a9
Add filterer and parser for ignore files 2022-01-12 00:54:21 +13:00
Félix Saparelli 31cbe69051
Configure miette docsurl globally per error type 2022-01-12 00:53:41 +13:00
Félix Saparelli 9527202c51
Add RuntimeError::Set of related errors 2022-01-12 00:52:39 +13:00
Félix Saparelli 6a541e5f27
Move ignore_files one level deeper
in preparation for new ignore functionality
2022-01-10 20:47:06 +13:00
Félix Saparelli 1c99546071
Add lots of logging to ignore file discovery 2022-01-01 01:42:39 +13:00