Commit Graph

68 Commits

Author SHA1 Message Date
Félix Saparelli e2f27a1b01
Add context to last runtime io error
and remove generic runtime io error enum variant
2022-01-16 20:00:07 +13:00
Félix Saparelli 93a961abf6
Clippy 2022-01-16 19:16:53 +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 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 b8d9ad728e
Integrate IgnoreFilterer into GlobsetFilterer 2022-01-16 15:18:15 +13:00
Félix Saparelli e40b426930 Clippy 2022-01-16 01:44:11 +13:00
Félix Saparelli 1ce238949e
Reduce verbosity of tracing span output 2022-01-15 16:40:01 +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 6a541e5f27
Move ignore_files one level deeper
in preparation for new ignore functionality
2022-01-10 20:47:06 +13:00
Félix Saparelli 163bcc3022
Adjust display of errors and exit notify 2022-01-01 01:33:52 +13:00
Félix Saparelli d0bb14f39c
Maintain the naming of the env vars 2021-12-29 21:36:42 +13:00
Félix Saparelli 9ed3645088
Add environment vars support 2021-12-29 20:55:09 +13:00
Félix Saparelli 4dbb924977
Add default ignores 2021-12-29 20:14:29 +13:00
Félix Saparelli a00912f17f
Implement --no-meta for default filterer 2021-12-29 19:29:45 +13:00
Félix Saparelli e2f6fe147a
Support no-{global,project,vcs}-ignore 2021-12-29 19:19:43 +13:00
Félix Saparelli be4b184cd0
Revise --no-ignore and --no-vcs-ignore help text for clarity and conciseness 2021-12-29 19:10:17 +13:00
Félix Saparelli ea3f09408f
Fix new option name 2021-12-29 18:53:47 +13:00
Félix Saparelli ffcdf17914
Implement tagged's --no-meta 2021-12-29 18:51:51 +13:00
Félix Saparelli c45840b657
Load global and -F filter files 2021-12-29 18:39:31 +13:00
Félix Saparelli 75f14ba3d6
Fix OsSplit in windows 2021-12-24 19:07:01 +13:00
Félix Saparelli 08a1e7cc67
Hook up --notify 2021-12-24 19:06:01 +13:00
Félix Saparelli 6f8049dd93
Hook up --ignore, --filter, --exts properly 2021-12-24 18:51:35 +13:00
Félix Saparelli 6cd2252b6c
Modify options available if tagged filterer enabled 2021-12-24 03:56:03 +13:00
Félix Saparelli bb212b413f
Process --no-process-group 2021-12-24 03:47:15 +13:00
Félix Saparelli ec49185488
Split tagged and globset filterer in cli 2021-12-24 03:37:51 +13:00
Félix Saparelli 26254f7022
Add support for "tagged filter files" 2021-12-24 02:20:56 +13:00
Félix Saparelli 401b84db8a Clippy 2021-12-21 18:15:47 +13:00
Félix Saparelli a46cfba1a2
Pre-add support for logical grouping of options in help
Will work once we switch to clap3
2021-11-22 21:24:59 +13:00
Félix Saparelli 963cd68cc4 Fix cli for ProcessEnd 2021-10-22 05:48:37 +13:00
Félix Saparelli 083c1e2f52 Move common_prefix to its own mod 2021-10-16 13:55:20 +13:00
Félix Saparelli 75243bfdad
Rename Signal to MainSignal
in preparation for another signal type
2021-10-16 01:13:16 +13:00
Félix Saparelli b780345e8b Use mimalloc for musl builds 2021-10-15 14:27:32 +13:00
Félix Saparelli 14b0364135
Get filetype filters actually working 2021-10-14 01:26:15 +13:00
Félix Saparelli ae6af17aea
Find and load all ignores for watchexec cli 2021-10-14 00:38:56 +13:00
Félix Saparelli f16ba2dff1
Redo and sketch new filter adding process 2021-10-13 00:48:42 +13:00
Félix Saparelli 8bc58ba6b5
Start sketching gitignore support 2021-10-09 18:45:32 +13:00
Félix Saparelli a1fce1b06e
Replace eyre with miette
and upgrade it to 3.2.0
2021-10-09 18:43:51 +13:00
Félix Saparelli 81bee9513d
Remove derive-builder
* the InitConfigBuilder non-miette error goes away
* creating an InitConfig is no longer faillible for no reason
* the "builder" style is consistent between the two config structs
2021-10-09 18:37:59 +13:00
Félix Saparelli 07878f8357
Implement path filtering 2021-09-30 04:03:46 +13:00
Félix Saparelli dfb5525c7e Add tokio-console 2021-09-29 01:47:18 +13:00
Félix Saparelli 30dae61a02
Add filtering to demo CLI 2021-09-28 22:25:56 +13:00
Félix Saparelli 645ab74c62
Implement Outcome::Wait, and CLI on-busy=queue 2021-09-03 09:25:23 +12:00
Félix Saparelli b923638cbd
Correctly watch for process completion 2021-09-03 09:25:06 +12:00
Félix Saparelli 07f5e445f6
Use Event Display impl in cli 2021-09-03 07:58:20 +12:00