Commit Graph

145 Commits

Author SHA1 Message Date
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
Kian-Meng Ang 402d1ba4f9
Fix some typos (#617) 2023-06-26 22:12:24 +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
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] 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
Jonathan Cammisuli 3e79957ad3
Handle nested gitignores (#580) 2023-05-08 22:13:04 +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
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
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] 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] 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
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
Félix Saparelli f76b16c4f4
Add bosion crate: build-time info (#516) 2023-03-05 03:26:23 +00:00
Félix Saparelli 14f53a6bf5
Clap 4 and revamp manpage, completions (#513) 2023-03-05 14:57:34 +13:00
github-actions[bot] d4b86366a2
release: watchexec-cli v1.21.1 (#499)
Co-authored-by: github-actions <github-actions@github.com>
2023-02-14 23:56:59 +00: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
Félix Saparelli 5850c284ca
Exit explicitly when we're PID 1 (#497) 2023-02-15 11:29:54 +13: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] 2479aaec4f
release: watchexec-cli v1.21.0 (#478)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-01-09 01:09:21 +00:00
github-actions[bot] 4e3e7a140a
release: watchexec-filterer-tagged v0.2.0 (#477)
Co-authored-by: github-actions <github-actions@github.com>
2023-01-09 00:34:40 +00:00
github-actions[bot] daa11aad09
release: watchexec-filterer-globset v1.1.0 (#476)
Co-authored-by: github-actions <github-actions@github.com>
2023-01-09 00:32:37 +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
Félix Saparelli a23b924be2
Remove remnants of the old release flow that now break things (#469) 2023-01-08 15:23:31 +00:00
dependabot[bot] 5d0920c5c9
Bump tokio from 1.21.0 to 1.23.1 (#467) 2023-01-07 00:10:45 +00:00
malteneuss af5742945b
Add complex converter tool wrapper example to docs (#458) 2023-01-06 14:06:40 +00:00
Félix Saparelli dc98370492
Clippy fixes (#465) 2023-01-07 02:53:49 +13:00
Félix Saparelli 04a8ee22bd
Add apt.cli.rs to install methods (#451) 2022-12-02 22:44:04 +00:00
Michael Jones f613ba1a79
Add option to exit when stdin ends (#449)
Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-12-01 23:19:04 +00:00
github-actions[bot] c7c9b30636
release: watchexec-cli v1.20.6 (#415)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-09-07 05:30:28 +00: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] 4ef180f486
release: watchexec-filterer-globset v1.0.1 (#410)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-09-07 04:31:39 +00:00
github-actions[bot] 6642362025
release: watchexec-filterer-tagged v0.1.1 (#411)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-09-07 04:11:47 +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
Félix Saparelli 24a3a3c2f2
Deps: update miette and git-config (#406) 2022-09-07 02:52:53 +00:00
Félix Saparelli 669ad6a7bf
Ditch actions-rs (#395) 2022-09-07 02:15:38 +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 e9d24688e1
Re-order readmes to prioritise package managers 2022-09-07 12:24:44 +12: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
Félix Saparelli 94deab9452 Update binstall metadata (#383) 2022-08-24 07:19:02 +00:00
github-actions[bot] f866e6f498 release: cli v1.20.5 (#374)
This is a release PR for **cli** to version **1.20.5**.

Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate.

```
$ cd crates/cli
$ cargo publish
```

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|

---

_Edit release notes into the section below:_

<!-- do not change or remove this heading -->
### Release notes

- Fix: mimalloc was set as the global allocator in the watchexec library, instead of leaving it to downstreams. (#369)
- Releng: s390x and ppc64le targets were added to be prebuilt. (#373)
2022-08-03 23:10:41 +00:00
Félix Saparelli bcba352603 Move mimalloc allocator init to CLI (#369) 2022-08-03 13:11:00 +00:00
github-actions[bot] bb9021eec7 release: cli v1.20.4 (#366)
This is a release PR for **cli** to version **1.20.4**.

Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate.

```
$ cd crates/cli
$ cargo publish
```

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|

---

_Edit release notes into the section below:_

<!-- do not change or remove this heading -->
### Release notes

- Remove CLI help tests. They'll be replaced with brand new integration testing that's not obnoxious. (#362, #363, #365)
- Fix the install filenames for first-party RPM packagings, and possibly for DEBs as well. (#292, #364)
2022-07-01 14:13:39 +00:00
Félix Saparelli ea9f5ff694 Fix release replacements (#365)
bors r+
2022-07-01 13:57:46 +00:00
Félix Saparelli c0c9193dff Fix bin filename for deb/rpm packaging (#364)
Unsure if deb ever supported that but rpm sure does not.

Fixes #292
2022-07-01 13:39:43 +00:00
Félix Saparelli f0d64f07df Remove CLI help tests (#363)
Fixes #362

I've been working to remake the tests better / actually valuable but this is a quick "fix" for that issue... in any case help tests would have been gone anyway.
2022-07-01 13:39:43 +00:00
github-actions[bot] f9ec29a60b release: cli v1.20.3 (#359)
This is a release PR for **cli** to version **1.20.3**.

Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate.

```
$ cd crates/cli
$ cargo publish
```

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|

---

_Edit release notes into the section below:_

<!-- do not change or remove this heading -->
### Release notes

- Dependencies are set manually for first-party deb and rpm packages, so they should install without error. A note that these are provided on a best-effort basis and not tested; when available you should prefer your distribution's packaging. (#292, #358)

Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-06-29 03:48:50 +00:00
Félix Saparelli e15fa6cd21 Manually set depends for deb and rpm packages (#358)
Should fix #292
2022-06-29 01:28:29 +00:00
github-actions[bot] 64895132aa release: cli v1.20.2 (#357)
This is a release PR for **cli** to version **1.20.2**.

Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate.

```
$ cd crates/cli
$ cargo publish
```

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|
2022-06-28 14:15:48 +00:00
Félix Saparelli 1b70a92162 Fix restart (actually issue a stop outcome) (#353)
Fixes #346
2022-06-28 13:50:56 +00:00
Félix Saparelli 94f4dd26c2 Review logging levels: make info more useful (#354)
Fixes #260
2022-06-28 13:40:20 +00:00
github-actions[bot] 50e2f0acbf release: cli v1.20.1 (#352)
This is a release PR for **cli** to version **1.20.1**.

Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate.

```
$ cd crates/cli
$ cargo publish
```

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|
2022-06-28 12:43:58 +00:00
Félix Saparelli 4970646f1a Fix logging initialisation (#348)
- Fixes #345 (first crash, related to `RUST_LOG` being set)
- Adds multiple warnings when non-standard logging or build options are set
- Fixes the (internal) crate name of the cli so that the log target `watchexec_cli` works
- Fixes the verbosity config to target the actual crate names (snake vs kebab case)
- Fixes a usage error related to tracing's `log` compatibility
2022-06-28 12:21:19 +00:00
Félix Saparelli 3aa128c4ee Fix new instances of clap being way more strict now (#350) 2022-06-28 12:11:29 +00:00
Félix Saparelli 75784667bc Allow non-UTF8 input for paths and extensions (#349)
- Fixes #345 (second crash)
- Proper fix instead of #347
2022-06-28 01:17:17 +00:00
Félix Saparelli ede4959102
Fix CLI release workflow (#339, #340, #341, #342, #343) 2022-06-24 14:40:57 +12:00
github-actions[bot] 77d4b03398 release: cli v1.20.0 (#337)
This is a release PR for **cli** to version **1.20.0**.

Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate.

```
$ cd crates/cli
$ cargo publish
```

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|
2022-06-23 09:57:55 +00:00
github-actions[bot] d71412cd12 release: filterer-tagged v0.1.0 (#336)
This is a release PR for **filterer-tagged** to version **0.1.0**.

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

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

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|
2022-06-23 09:24:07 +00:00
github-actions[bot] 9c343a6eb2 release: filterer-globset v1.0.0 (#335)
This is a release PR for **filterer-globset** to version **1.0.0**.

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

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

To merge this release, review the changes then say:

| bors r+ p=10 |
|:-:|
2022-06-23 03:33:20 +00:00
Félix Saparelli 6c3cb476a8 Polish up filterer crates for release (#331) 2022-06-22 23:48:46 +00:00
github-actions[bot] c3df998895 release: lib v2.0.0 (#329)
This is a release PR for **lib** to version **2.0.0**.

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

```
$ cd crates/crates/lib
$ cargo publish
```

To merge this release, review the changes then say:

`bors r+ p=10`

Co-authored-by: Félix Saparelli <felix@passcod.name>
2022-06-17 00:29:33 +00:00
Félix Saparelli 334c704cc4 Add direct link to latest release in README.md (#327) 2022-06-16 23:58:52 +00:00
Félix Saparelli 5c2c80a6e0 Add --delay-run (#324)
The other side of #79
2022-06-16 22:55:25 +00:00
Félix Saparelli adc4a0a576 Add --log-file so logs are easier to collect (#321) 2022-06-16 15:56:59 +00:00
Félix Saparelli ba86225ad4 Make it possible to pass multiple Commands (library) (#320) 2022-06-16 15:36:08 +00:00
Félix Saparelli 4562c0f2f9 release: ignore-files v1.0.0 (#318)
Co-authored-by: github-actions <github-actions@github.com>
2022-06-16 11:09:16 +00:00
Félix Saparelli 5ee0356e34 Don’t allow invalid UTF-8 arguments (#317) 2022-06-16 10:19:09 +00:00
github-actions[bot] b133486c66 release: project-origins v1.0.0 (#314)
This is a release PR for **project-origins** to version **1.0.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+
```
2022-06-16 09:01:22 +00:00
Félix Saparelli e98989f099
Almost there 2022-06-16 20:28:07 +12:00
Félix Saparelli 35cf63bc85 Split into more crates (#307) 2022-06-15 03:25:05 +00:00