Commit Graph

56 Commits

Author SHA1 Message Date
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
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 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] 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 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
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
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 3e79957ad3
Handle nested gitignores (#580) 2023-05-08 22:13:04 +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
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] 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 8156864bf3
--emit-events-to (#515) 2023-03-18 21:32:24 +13:00
Félix Saparelli 46453a2b35
Ditch MSRV policy (#510) 2023-03-02 15:33:39 +13:00
github-actions[bot] 84d3947247
release: watchexec v2.1.1 (#498)
Co-authored-by: github-actions <github-actions@github.com>
2023-02-14 23:04:21 +00:00
dependabot[bot] 2c06f06ee1
Bump tokio from 1.23.1 to 1.24.2 (#491)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 15:55:29 +13:00
github-actions[bot] 7a8680e937
release: watchexec-filterer-ignore v1.1.0 (#474)
Co-authored-by: github-actions <github-actions@github.com>
2023-01-09 00:15:16 +00:00
github-actions[bot] ac2a14fd80
release: watchexec v2.1.0 (#472)
Co-authored-by: github-actions <github-actions@github.com>
2023-01-09 00:01:35 +00:00
github-actions[bot] 33f5ba5ef9
release: ignore-files v1.1.0 (#471)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-01-08 17:12:08 +00:00
github-actions[bot] f55d669e3c
release: project-origins v1.2.0 (#470)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-01-08 16:05:49 +00:00
dependabot[bot] 5d0920c5c9
Bump tokio from 1.21.0 to 1.23.1 (#467) 2023-01-07 00:10:45 +00:00
Félix Saparelli 81d59b62bc
Add to changelogs for libs (#466) 2023-01-06 14:14:42 +00:00
Félix Saparelli dc98370492
Clippy fixes (#465) 2023-01-07 02:53:49 +13:00
github-actions[bot] 695b36e345
release: watchexec v2.0.2 (#414)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-09-07 05:08:20 +00:00
github-actions[bot] d168ed9676
release: ignore-files v1.0.1 (#407)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-09-07 03:50:18 +00:00
github-actions[bot] c46187f92d
release: project-origins v1.1.1 (#408)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-09-07 03:29:23 +00:00
github-actions[bot] 79bcf6838d
release: watchexec v2.0.1 (#390)
Co-authored-by: github-actions <github-actions@github.com>
2022-09-07 00:57:50 +00:00
Félix Saparelli f684db57ee
Update Notify to stable (#384) 2022-09-02 09:12:47 +00:00
github-actions[bot] ce68338381 release: project-origins v1.1.0 (#385)
This is a release PR for **project-origins** to version **1.1.0**.

Upon merging, you will still need to manually publish the cargo crate.

```
$ cd crates/project-origins
$ cargo publish
```

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|
2022-08-24 09:23:52 +00:00
github-actions[bot] 5cf89eb7b4 release: filterer-ignore v1.0.0 (#333)
This is a release PR for **filterer-ignore** to version **1.0.0**.

Upon merging, you will still need to manually publish the cargo crate.

```
$ cd crates/filterer/ignore
$ cargo publish
```

To merge this release, review the changes then say:
| bors r+ p=10 |
|:-:|
2022-06-23 00:40:59 +00:00