Commit Graph

1083 Commits

Author SHA1 Message Date
Félix Saparelli
bcba352603 Move mimalloc allocator init to CLI (#369) 2022-08-03 13:11:00 +00:00
Dirk Haubenreisser
90c601deeb Add s390x and ppc64le release-cli build artifacts (#373)
Signed-off-by: Dirk Haubenreisser <haubenr@de.ibm.com>

This PR adds artifact builds for platforms s390x and ppc64le to the GH workflow for target 'release-cli'.
Adding these platforms to the list of pre-built release binaries is instrumental in enabling paketo.io buildpacks for s390x and ppc64le.
2022-08-03 11:27:28 +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
Félix Saparelli
f548fd1956 Fix release notes using multiline output (#361) 2022-06-29 04:52:45 +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
96825a6f5a Automatic release notes for CLI (#360) 2022-06-29 02:21:57 +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
1d2dd7b904 Fix env/shell for windows CLI build (#356)
bors r+
2022-06-28 13:40:21 +00:00
Félix Saparelli
94f4dd26c2 Review logging levels: make info more useful (#354)
Fixes #260
2022-06-28 13:40:20 +00:00
Félix Saparelli
5079f45198 Dispatch CLI release job from commit message, not job output (#355) 2022-06-28 13:25:10 +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
69464d373f Fix release PR instructions again (#334)
See edit history of #333
2022-06-23 00:49:43 +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
Félix Saparelli
6c3cb476a8 Polish up filterer crates for release (#331) 2022-06-22 23:48:46 +00:00
Félix Saparelli
4f808a1002 Remove prefix on tag (ffs) (#330) 2022-06-17 00:47:06 +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
0e13595f08 Roll lib changelog on release (#328) 2022-06-17 00:10:10 +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
d79a080ad1 Check readme codeblock (#325) 2022-06-16 23:18:31 +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
92d05755c9 Add Outcome::Sleep (#323)
One half of #79
2022-06-16 16:07:27 +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
f0e05f9526 Remove obsolete bin/ scripts (#322) 2022-06-16 15:46:32 +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
361e5530c5 Fix EOF error in release PR action (#319) 2022-06-16 11:34:58 +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
03ee184d41 Import changelog for the library to a file (#316) 2022-06-16 10:48:29 +00:00
Félix Saparelli
e1d1940261 Handle multi-line commit messages in release-tag workflow (#315) 2022-06-16 10:48:28 +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
18dea4b6e6
Fix release merge instructions 2022-06-16 20:54:21 +12:00
Félix Saparelli
e98989f099
Almost there 2022-06-16 20:28:07 +12:00
Félix Saparelli
f21b45e6aa
CI fixes
- #308
- https://github.com/github-community/community/discussions/18697
- #309
- #310
- #311
- #312
- #313
2022-06-16 18:27:28 +12:00
Félix Saparelli
35cf63bc85 Split into more crates (#307) 2022-06-15 03:25:05 +00:00
Félix Saparelli
70aa48c59d Upgrade to clap 3 (#304)
This is just the upgrade, including the new option categories. Move to the derive API or more advanced features is left for later.
2022-06-11 08:05:11 +00:00
Félix Saparelli
ae2718ec4d Upgrade to miette 4 (#303) 2022-06-11 07:55:43 +00:00
Félix Saparelli
0e1a6f2c45 Mark Cargo.lock as binary for merging (#305) 2022-06-11 07:38:31 +00:00
Félix Saparelli
446a8d95a7 Replace event queue with a priority queue (#302)
Solves several issues, generally through delivering signals before filesystem events, preventing situations where an overwhelming amount of events makes it impossible to quit.

Does _not_ solve the problem of a queue full of lower-priority events not accepting an urgent message, but that's a rarer issue that's more complicated to overcome.

Changes the Filterer trait: adds Priority to `check_event()`

Makes some events unfilterable (Urgent priority): SIGINT, SIGTERM, and CTRL_C to the main process. These still need to be handled by `on_action` to do anything, but cannot be stopped before reaching that.
2022-06-11 06:43:11 +00:00