Commit Graph

233 Commits

Author SHA1 Message Date
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
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
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 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
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 3639f06745
Add --no-discover-ignore (#645) 2023-08-30 04:21:13 +00:00
Félix Saparelli 1aaff8d319
Re-add `-d` short flag (#635) 2023-08-30 04:04:53 +00:00
Félix Saparelli 345eda871b
Skip search for ignores when not needed (#644) 2023-08-30 04:01:23 +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
dependabot[bot] afe317d4ee
Update gix-config requirement from 0.24.0 to 0.25.1 in /crates/ignore-files (#622)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 10:33:37 +12:00
dependabot[bot] a91d80141b
Update gix requirement from 0.47 to 0.48 in /crates/bosion (#621)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 10:33:26 +12:00
Kian-Meng Ang 402d1ba4f9
Fix some typos (#617) 2023-06-26 22:12:24 +00:00
dependabot[bot] 0f2f5f4ea6
Update gix-config requirement from 0.22.0 to 0.24.0 in /crates/ignore-files (#614)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 13:10:47 +12:00
Jiahao XU f08002aaf6
dep: bump gix from v0.44.1 => v0.47 (#619) 2023-06-25 23:01:16 +00:00
korrat d72fc38e62
Use raw_arg for CMD on Windows (#616) 2023-06-24 14:10:00 +00:00
dependabot[bot] 2a3a3dee5f
Update clap_complete_nushell requirement from 0.1.10 to 4.3.1 in /crates/cli (#598)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 21:00:10 +12:00
dependabot[bot] 6552e3cd7e
Update shadow-rs requirement from 0.21.0 to 0.22.0 in /crates/cli (#597)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 20:59:11 +12:00
Félix Saparelli 31b9c2fb91
Fix logfile not creating if it doesn’t exist (#591) 2023-06-04 20:58:58 +12: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
Jonathan Cammisuli 638cddcf83
handle relative paths when using Ignore programmatically (#599) 2023-06-03 20:24:39 +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 0b50c91a1c
Fix warnings (#586) 2023-05-14 08:24:57 +00:00
Félix Saparelli 03b3aef9b7
Add recent PRs to changelogs (#587) 2023-05-14 06:30:34 +00:00
Félix Saparelli 0a1e5781cc
Try to fix windows tests (#585) 2023-05-14 18:02:57 +12:00
Jonathan Cammisuli 6a86caacf2
Fix adding globs to the IgnoreFilter (#581) 2023-05-14 16:59:59 +12:00
Jonathan Cammisuli 0afb5f2796
fix bosion tests (#582) 2023-05-11 09:53:42 +12:00
Jonathan Cammisuli 3e79957ad3
Handle nested gitignores (#580) 2023-05-08 22:13:04 +00:00
dependabot[bot] e6f2dcdf48
Update gix requirement from 0.42.0 to 0.44.1 in /crates/bosion (#577)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-06 23:41:19 +00:00
dependabot[bot] f9042808ab
Update embed-resource requirement from 1.6.1 to 2.1.1 in /crates/cli (#566)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-06 23:40:20 +00:00
dependabot[bot] b9c052d10e
Update gix-config requirement from 0.19.0 to 0.22.0 in /crates/ignore-files (#576)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-07 11:26:02 +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
Félix Saparelli 8a2808027f
Normalise paths to unix on windows for filtering only (#558) 2023-03-22 10:55:19 +00:00
Félix Saparelli 38109b8128
Disable signals on windows (#559) 2023-03-22 23:54:53 +13: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 483b29af8e
Kill process on drop when using command-group (#549) 2023-03-22 01:35:46 +00:00
Félix Saparelli c166823cb6
Log important beats as info (#547) 2023-03-22 01:23:00 +00:00
dependabot[bot] 79b28d0264
Update dirs requirement from 4.0.0 to 5.0.0 in /crates/cli (#543)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 13:16:06 +13:00
Félix Saparelli f15ea8a825
Fix release scripts (#540)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-18 15:36:49 +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
github-actions[bot] 7444ec133f
release: watchexec v2.2.0 (#535)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-03-19 01:34:55 +13:00
github-actions[bot] 26679721aa
release: ignore-files v1.2.0 (#534)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-03-19 01:08:22 +13:00
github-actions[bot] d8f997e104
release: watchexec-events v1.0.0 (#533)
Co-authored-by: github-actions <github-actions@github.com>
2023-03-18 11:27:38 +00:00
github-actions[bot] d6ae98e644
release: watchexec-signals v1.0.0 (#532)
Co-authored-by: github-actions <github-actions@github.com>
2023-03-18 11:09:41 +00:00
Félix Saparelli 9ae16187f0
Set new crates to zero for release (#531) 2023-03-18 10:43:29 +00:00
Félix Saparelli 5c63a99013
Fix and adjust docs (#530) 2023-03-18 10:23:46 +00:00
Félix Saparelli 80e18ea145
Rename --manpage to --manual (#529) 2023-03-18 22:34:33 +13:00
Félix Saparelli 8156864bf3
--emit-events-to (#515) 2023-03-18 21:32:24 +13:00
dependabot[bot] 64ad4e31f5
Update gix-config requirement from 0.18.0 to 0.19.0 in /crates/ignore-files (#526)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 21:22:58 +13:00
dependabot[bot] 7383679fbc
Update gix requirement from 0.40.0 to 0.42.0 in /crates/bosion (#528)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 21:22:48 +13:00
dependabot[bot] d866ee615f
Update gix requirement from 0.39.0 to 0.40.0 in /crates/bosion (#523)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 11:39:19 +13:00
dependabot[bot] f83790bce3
Update gix-config requirement from 0.17.0 to 0.18.0 in /crates/ignore-files (#518)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-05 17:17:11 +13:00
dependabot[bot] d5fb5bfe26
Update gix requirement from 0.38.0 to 0.39.0 in /crates/bosion (#517)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-05 17:16:54 +13:00
github-actions[bot] 639bef9e31
release: bosion v1.0.0 (#520)
Co-authored-by: github-actions <github-actions@github.com>
2023-03-05 03:47:58 +00:00