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
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
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
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
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
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
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]
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
github-actions[bot]
10556dea11
release: bosion v1.0.2 ( #685 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-11-26 03:29:49 +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
github-actions[bot]
19a3fc9189
release: watchexec-cli v1.23.0 ( #647 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 06:18:56 +00:00
Félix Saparelli
4c3b9f0960
Clippy and update lockfile ( #646 )
2023-08-30 03:43:57 +00:00
github-actions[bot]
96bf3d231e
release: bosion v1.0.1 ( #623 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-07-02 23:47:13 +00:00
Jiahao XU
f08002aaf6
dep: bump gix from v0.44.1 => v0.47 ( #619 )
2023-06-25 23:01:16 +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]
eb19f83761
release: watchexec-cli v1.22.3 ( #590 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-05-14 10:51:37 +00: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
Félix Saparelli
1028caa389
Update deps ( #583 )
2023-05-14 05:17:14 +00:00
Jonathan Cammisuli
3e79957ad3
Handle nested gitignores ( #580 )
2023-05-08 22:13:04 +00:00
dependabot[bot]
299a01dcf6
Bump enumflags2 from 0.7.5 to 0.7.7 ( #573 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-07 11:26:18 +12:00
dependabot[bot]
bccc0292a0
Bump h2 from 0.3.16 to 0.3.17 ( #572 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-14 06:09:51 +12:00
Caleb Schoepp
8e91d26ef6
Update clearscreen requirement from 2.0.0 to 2.0.1 in /crates/lib ( #570 )
2023-04-06 00:48:48 +00:00
github-actions[bot]
e8391cd1d0
release: watchexec-cli v1.22.2 ( #560 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-03-22 11:37:49 +00:00
github-actions[bot]
4294bd42da
release: watchexec-cli v1.22.1 ( #551 )
...
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-03-22 03:54:07 +00:00
github-actions[bot]
f0d115f600
release: watchexec v2.3.0 ( #550 )
...
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-03-22 02:02:01 +00:00
Félix Saparelli
59044a5cba
Add Outcome::Race ( #548 )
2023-03-22 14:47:26 +13:00
Félix Saparelli
c166823cb6
Log important beats as info ( #547 )
2023-03-22 01:23:00 +00:00
github-actions[bot]
bfb0a0648a
release: watchexec-filterer-tagged v0.3.0 ( #539 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-03-18 15:06:57 +00:00
github-actions[bot]
c337ebca86
release: watchexec-cli v1.22.0 ( #538 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-03-18 15:06:47 +00:00
github-actions[bot]
a3ebfcceef
release: watchexec-filterer-globset v1.2.0 ( #537 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-03-18 13:38:37 +00:00
github-actions[bot]
cba452edf2
release: watchexec-filterer-ignore v1.2.0 ( #536 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-03-18 12:58:14 +00:00