Commit graph

1296 commits

Author SHA1 Message Date
github-actions[bot]
d3949cc6e9
release: watchexec-cli v1.25.1 (#764)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2024-01-05 04:41:32 +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
Félix Saparelli
217f57f6a2
Update to async-priority-channel 0.2.0 (#761) 2024-01-04 22:13:08 +13:00
github-actions[bot]
682a9b4d21
release: watchexec-cli v1.25.0 (#754)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-01 10:39:18 +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
Félix Saparelli
bf9c85f598
Tweak origin detection lists (#748) 2024-01-01 03:41: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
Félix Saparelli
f65a0d21ba
Fix CLI release workflow more (#740) 2023-12-20 01:06:41 +00:00
Félix Saparelli
aa0bf1c24f
Fix CLI release workflow when dispatching (#739) 2023-12-19 23:09:48 +00:00
Félix Saparelli
0a6811f1fb
Update cargo.lock (#738) 2023-12-19 22:34:29 +00:00
github-actions[bot]
e9cce54179
release: watchexec-cli v1.24.2 (#736)
Co-authored-by: github-actions <github-actions@github.com>
2023-12-19 13:10:59 +00:00
github-actions[bot]
6ecc5569e4
release: watchexec-supervisor v1.0.3 (#735)
Co-authored-by: github-actions <github-actions@github.com>
2023-12-19 11:31:34 +00:00
Félix Saparelli
eb4f2ce201
Fix queueing behaviour (#734) 2023-12-19 11:22:59 +00:00
Félix Saparelli
b4a64a096a
Add eyra support as a feature (#728) 2023-12-13 14:08:03 +13:00
github-actions[bot]
a72ff0e142
release: watchexec-cli v1.24.1 (#722)
Co-authored-by: github-actions <github-actions@github.com>
2023-12-11 12:30:05 +00:00
Félix Saparelli
53c9e344eb
Fix argfile regression (#720) 2023-12-11 17:05:38 +13:00
Félix Saparelli
e4e8d39546
Graceful quit on Ctrl-C (#721) 2023-12-11 01:21:57 +00: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]
a166b3bc9f
release: watchexec-supervisor v1.0.2 (#713)
Co-authored-by: github-actions <github-actions@github.com>
2023-12-09 10:43:55 +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
Félix Saparelli
709dbe5151
New option: --signal-map (#710) 2023-12-09 09:30:58 +00:00
Félix Saparelli
03460a6181
More logging for CLI and Supervisor (#709) 2023-12-09 09:10:11 +00:00
github-actions[bot]
44d794c921
release: watchexec-supervisor v1.0.1 (#708)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-11-29 06:10:10 +00: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
Félix Saparelli
16be20050b
Amend readmes (#702) 2023-11-28 11:30:33 +00:00
Félix Saparelli
0e94f220e3
Tweaks to help (#700) 2023-11-27 12:57:01 +00:00
Félix Saparelli
9af9189ac4
Add --quiet, --timings, --colo[u]r, --bell (#698) 2023-11-27 12:12:51 +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
Félix Saparelli
dc91e69966
Fix bosion readme (#697) 2023-11-27 10:51:51 +00:00
Félix Saparelli
2751caeb39
Add --ignore-nothing (#695) 2023-11-27 10:50:39 +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
Félix Saparelli
63562fe64d
Add --only-emit-events (#691) 2023-11-27 23:29:55 +13: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]
fb2c5449af
release: watchexec-supervisor v1.0.0 (#690)
Co-authored-by: github-actions <github-actions@github.com>
2023-11-26 04:23:20 +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