Commit Graph

1207 Commits

Author SHA1 Message Date
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
Félix Saparelli
62e79fbf7a Add log feature to tracing (#300) 2022-06-07 12:15:17 +00:00
Félix Saparelli
557efab1c4 Document the format of the globset tuple arguments (#298) 2022-06-07 11:46:07 +00:00
Félix Saparelli
e215e2c09f Add folder/file ignore and filter tests to globset (#299) 2022-06-07 11:25:50 +00:00
Félix Saparelli
ec26a99b7d Fix watchexec example in docs found in #295 (#297) 2022-06-07 09:19:16 +00:00
Félix Saparelli
f3e0f0cbda Update readme badge for bors (#289) 2022-05-30 03:19:42 +00:00
Félix Saparelli
84eb92b82e Separate check on main (#288) 2022-05-30 03:07:21 +00:00
Félix Saparelli
3d19ce04e7 Specify full name for bors builds (#287) 2022-05-30 02:59:14 +00:00
Félix Saparelli
d395faeefa Test with MSRV on all platforms (#286) 2022-05-30 02:44:50 +00:00
Félix Saparelli
4be340a4bc Configure bors (#285) 2022-05-30 02:34:22 +00:00
Félix Saparelli
edf023c009 cli: v1.19.0 2022-04-15 15:49:58 +12:00
Félix Saparelli
c58d66bec5 Link manpage from readme 2022-04-15 15:47:44 +12:00
Félix Saparelli
396424112e Add new options to help 2022-04-15 15:45:17 +12:00
Félix Saparelli
3523925c1e Reorganise manpage options into categories 2022-04-15 15:45:17 +12:00
Félix Saparelli
f60a623a44 Add --env and --workdir options 2022-04-15 15:45:17 +12:00
Félix Saparelli
6f3cdac9fd Document --project-origin in man 2022-04-15 15:45:17 +12:00
Félix Saparelli
515d5568b2 Document feature 2022-04-15 15:45:17 +12:00
Félix Saparelli
84aac2243c Add --project-origin override 2022-04-15 15:45:17 +12:00
Félix Saparelli
4a6d4350c5 Always install release tools 2022-04-15 15:45:17 +12:00
Félix Saparelli
00e9b17043 Final change to --debounce default: down to 50ms
Closes #168
2022-04-15 15:45:17 +12:00
Félix Saparelli
d4acb9d719 Add notice for change to $SHELL-as-default in 2.0
Ref #210
2022-04-15 15:45:17 +12:00
Félix Saparelli
009ef2356f Deny 2018 idioms 2022-04-13 22:59:43 +12:00
Félix Saparelli
b374de6097 cli: v1.18.12 2022-04-13 09:22:53 +12:00
Félix Saparelli
6b0f626441 Document project origin behaviour in man 2022-04-13 09:09:13 +12:00
Félix Saparelli
036d9a27e8 Ignore homedir if discovered as origin unless explicitly requested
Fixes #276
2022-04-12 21:59:05 +12:00
Félix Saparelli
98348be8b5 lib: v2.0.0-pre.14 2022-04-04 11:47:36 +12:00
David Calavera
20597802ad
Remove git2 as a dependency (#267)
This dependency cannot be sent between threads.
Instead use git-config which is a pure rust implementation to read git config files.

Uses the builtin values::Path struct to extract ignore paths.
It takes care of all the corner cases with how git interprets paths.
2022-04-04 11:43:30 +12:00