Commit graph

94 commits

Author SHA1 Message Date
Félix Saparelli
c9a3b9df00
chore: Release 2024-04-28 18:53:42 +12:00
Félix Saparelli
e63d37f601
chore: Release 2024-04-28 18:52:50 +12:00
Félix Saparelli
14e6294f5a
chore: Release 2024-04-28 18:51:48 +12:00
Félix Saparelli
234d606563
chore: Release 2024-04-28 18:50:18 +12:00
Félix Saparelli
77405c8ce1
chore: Release 2024-04-28 18:48:50 +12:00
Félix Saparelli
6c23afe839
feat: make it possible to watch non-recursively (#827)
Fixes #227
Fixes #174

docs(cli): be more precise in print-events advice to use `-v`
docs(cli): improve jaq error help
feat(cli): add `-W` for non-recursive watches
feat(cli): use non-blocking logging
feat(globset): hide `fmt::Debug` spew from ignore crate
feat(ignore-files): hide `fmt::Debug` spew from ignore crate
feat(lib): make it possible to watch non-recursively
fix(lib): inserting `WatchedPath`s directly should be possible
refactor(lib): move `WatchedPath` out of `fs` mod
2024-04-28 06:33:07 +00:00
Félix Saparelli
ee815ba166
chore: Release 2024-04-21 01:06:46 +12:00
Félix Saparelli
d6138b9961
chore: Release 2024-04-21 01:04:18 +12:00
Félix Saparelli
f73d388d18
Changelogs for filterers 2024-04-21 01:03:58 +12:00
Félix Saparelli
d317540fd3
chore: Release 2024-04-21 01:00:28 +12:00
Félix Saparelli
96480cb588
chore: Release 2024-04-21 00:55:14 +12:00
Félix Saparelli
22b58a66ab
Remove tagged filterer 2024-04-21 00:32:01 +12:00
Félix Saparelli
1c47ffbe1a
Update release.toml config 2024-04-21 00:30:56 +12:00
Félix Saparelli
4023bf7124
chore: Release 2024-04-21 00:21:04 +12:00
Félix Saparelli
8ad12b1f65
chore: Release 2024-04-21 00:13:30 +12:00
Félix Saparelli
af24252f21
Experimental filter programs (#571) 2024-04-20 10:06:53 +00:00
Félix Saparelli
b72248a38c
Update deps (#816) 2024-04-20 05:45:50 +00:00
github-actions[bot]
465ccfc597
release: watchexec-filterer-ignore v3.0.1 (#763)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-05 15:48:04 +13:00
github-actions[bot]
6a2f637a60
release: ignore-files v2.1.0 (#762)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-04 11:32:58 +00:00
Félix Saparelli
4f757de8df
Canonicalise paths for ignore discovery (#760) 2024-01-04 09:32:47 +00:00
github-actions[bot]
447b6fa963
release: watchexec-filterer-globset v3.0.0 (#752)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2024-01-01 09:10:43 +00:00
github-actions[bot]
3cbf277b2e
release: watchexec-filterer-tagged v2.0.0 (#753)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2024-01-01 09:09:24 +00:00
github-actions[bot]
48793008eb
release: watchexec-filterer-ignore v3.0.0 (#751)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2024-01-01 08:47:32 +00:00
github-actions[bot]
1ef2fcebf1
release: ignore-files v2.0.0 (#750)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2024-01-01 07:54:19 +00:00
github-actions[bot]
8523bd196c
release: project-origins v1.3.0 (#749)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-01 06:07:03 +00:00
Victor Adossi ("vados")
cb1cfb6bf5
Optimise ignore file gathering (#663)
Co-authored-by: Félix Saparelli <felix@passcod.name>
2024-01-01 05:01:14 +00:00
thislooksfun
3ad0e1aa57
Respect applies_in scope when processing nested ignores (#746)
Previously, when importing multiple nested ignore files, some info from
the parent—notably the "root" path—would be inherited. This lead to some
problems with matching of "pseudo-absolute" rules (those with a leading
slash) in nested ignore files (see #745 for more details). To fix this,
we now fully isolate each path of the tree during the import process.
This leads to more accurate, though unfortunately slightly less
performant, rule matching. The only time a builder is reused now is if
two input files have the same `applies_in` value, in which case they are
merged together.

I have added tests to ensure correctness and prevent a regression. I
also was careful to make sure no previous tests broke in any way (all
changes to existing tests were made in isolation, and thus are not
affected by the logic changes). As far as I can tell, the only behavior
change is that now some previously-ignored rules will now be applied,
which could, in very rare configurations, lead to files being
unintentionally ignored. However, due to the aforementioned logic bug,
those files were all ignored by git already, so I suspect the number of
people actually caught off guard by this change to be extremely low,
likely zero.

Fixes #745.
2023-12-30 14:12:59 +13:00
github-actions[bot]
4026938c18
release: watchexec-filterer-tagged v1.0.0 (#719)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-12-10 22:45:04 +00:00
Félix Saparelli
0557d70963
watchexec-filterers: fix bad publish (#715) 2023-12-09 11:24:00 +00:00
github-actions[bot]
477d59d319
release: watchexec-cli v1.24.0 (#699)
Co-authored-by: Félix Saparelli <felix@passcod.name>
Co-authored-by: github-actions <github-actions@github.com>
2023-12-09 10:52:40 +00:00
github-actions[bot]
deb6072a26
release: watchexec-signals v2.1.0 (#711)
Co-authored-by: github-actions <github-actions@github.com>
2023-12-09 23:25:41 +13:00
github-actions[bot]
c75134d255
release: watchexec-events v2.0.1 (#707)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-11-29 05:56:23 +00:00
github-actions[bot]
e90bf3756e
release: watchexec v3.0.1 (#706)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-11-29 05:41:27 +00:00
github-actions[bot]
91b34bc96e
release: watchexec-signals v2.0.0 (#705)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-11-29 05:18:03 +00:00
github-actions[bot]
c4dceb2d88
release: watchexec-events v2.0.0 (#704)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-11-29 05:15:33 +00:00
github-actions[bot]
16e606e944
release: watchexec-filterer-globset v2.0.0 (#696)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-27 10:52:28 +00:00
github-actions[bot]
e7580b0a35
release: watchexec-filterer-ignore v2.0.0 (#694)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-27 10:38:06 +00:00
github-actions[bot]
d9f6d20b6b
release: watchexec v3.0.0 (#692)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-26 04:54:43 +00:00
github-actions[bot]
64bdf7c9d5
release: ignore-files v1.3.2 (#689)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-26 04:22:00 +00:00
github-actions[bot]
65e2db31bc
release: watchexec-events v1.1.0 (#688)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-26 03:33:47 +00:00
github-actions[bot]
f66aa5d808
release: project-origins v1.2.1 (#687)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-26 03:30:39 +00:00
github-actions[bot]
efacb29f86
release: watchexec-signals v1.0.1 (#686)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-26 03:29:53 +00:00
Félix Saparelli
b54cd60146
Update all changelogs (#682) 2023-11-26 03:01:13 +00:00
Félix Saparelli
89e3d60ecf
Clippy nursery (#681) 2023-11-26 02:40:57 +00:00
Félix Saparelli
a13bc429eb
Watchexec lib v3 (#601)
Co-authored-by: emilHof <95590295+emilHof@users.noreply.github.com>
2023-11-25 20:33:44 +00:00
Félix Saparelli
3639f06745
Add --no-discover-ignore (#645) 2023-08-30 04:21:13 +00:00
Félix Saparelli
4c3b9f0960
Clippy and update lockfile (#646) 2023-08-30 03:43:57 +00:00
github-actions[bot]
d25ae71787
release: ignore-files v1.3.1 (#600)
Co-authored-by: github-actions <github-actions@github.com>
2023-06-04 20:53:24 +12:00
github-actions[bot]
1d87097b3e
release: watchexec-filterer-ignore v1.2.1 (#589)
Co-authored-by: github-actions <github-actions@github.com>
2023-05-14 10:04:52 +00:00
github-actions[bot]
7c1c726d85
release: ignore-files v1.3.0 (#588)
Co-authored-by: github-actions <github-actions@github.com>
2023-05-14 09:31:05 +00:00