bf6b4fcd21
fix: apply clippy suggestions from rust nightly
2024-11-21 21:57:49 +00:00
Renovate Bot
d3dfedc95b
chore(deps): update rust crate kxio to v3
2024-11-21 10:30:38 +00:00
Renovate Bot
f908011503
fix: rustdoc typo
2024-11-15 18:07:56 +00:00
Renovate Bot
6a0e0580dc
chore(deps): update rust crate secrecy to 0.10
2024-10-21 19:14:10 +01:00
d4f16e6f5e
feat: should fetch repo on startup when not cloning
...
We already have a copy of the repo, so we don't clone, but we should
perform a `git fetch` to make sure it is up-to-date.
2024-09-14 12:19:24 +01:00
048111202a
feat: Remove branches when fetching from remote
2024-09-14 07:42:24 +01:00
6c60e3fb7a
refactor: reimplement git fetch using git
2024-09-13 18:55:21 +01:00
e759e495fd
feat: optionally specify max commits between dev and main
...
The default is 25.
Closes kemitix/git-next#121
2024-09-06 08:10:10 +01:00
4160b6d6ee
fix: use configured branch names in user notification
...
Remove near-duplicate to string implementations.
2024-09-01 08:38:08 +01:00
ca70c03e8b
refactor: flatten nested blocks with early returns
2024-09-01 07:18:05 +01:00
a2940ec753
refactor: rename method as peel
...
Method on newtypes `unwrap` could be confused with the risky method of
the same name for Option and Result.
2024-08-31 11:18:09 +01:00
126d5d3ef5
fix: create git graph log to after doing a fetch
2024-08-30 09:12:57 +01:00
5d9915bdbd
feat(tui): (experimental) show repo state, messages and git log
2024-08-25 15:59:42 +01:00
622e144986
feat(tui): (experimental) tui option
...
When the 'tui' feature is enabled, then server start accepts an optional
--ui parameter. When specified a ratatui ui will display, showing
liveness and a ping update when a valid config is loaded.
2024-08-12 10:01:35 +01:00
ef24cb583c
feat: add short git log graph to notifications
...
Closes kemitix/git-next#133
2024-08-08 08:39:01 +01:00
8c19680056
refactor: macros use a more common syntax
...
Parameters were separated by ':', but are now separated by ','.
2024-08-06 20:06:39 +01:00
6acefda5d3
refactor: cleanup pedantic clippy in core crate
2024-08-06 16:07:25 +01:00
3895246b72
fix: shout.desktop should be optional
...
If the value isn't present, then it is treated as false
2024-08-04 16:02:06 +01:00
58d9a993e9
chore: release 0.13.1
2024-08-04 08:09:15 +01:00
6de8e4f988
feat: prevent duplicate alerts
...
Closes kemitix/git-next#128
2024-08-03 23:07:56 +01:00
850e990ab4
refactor: remove unused dependencies
2024-08-03 22:50:18 +01:00
9a2fa2e8a5
feat: add support for desktop notifications
...
Closes : kemitix/git-next#119
2024-08-03 12:59:40 +01:00
9fb70f98d6
test: update tests to check for email config parsing
2024-08-02 18:47:05 +01:00
474a9b5aaa
chore: release
...
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
2024-08-02 08:58:19 +01:00
12a2981ab5
feat: send email notifications (sendmail/smtp)
...
Closes kemitix/git-next#114
2024-08-02 07:36:11 +01:00
538728c491
feat!: restructured server config into listen & shout sections
...
Groups 'http' and 'webhook' sections under 'listen'.
Renames 'notification' section as 'shout'.
2024-08-01 07:56:31 +01:00
8df7600053
feat: remove notification.type
...
This makes it easier to specify multiple types of notifications,
rather than a single type.
2024-07-31 06:56:04 +01:00
7b64e300b6
feat!: reduce the max commit dev can be ahead of main
...
From 50 to 25.
Aim to make this a configuration option from git-next-server.toml
2024-07-30 16:40:39 +01:00
e56d6a3ebb
fix: remove requirement for RUSTFLAGS to be set
...
Closes kemitix/git-next#116
2024-07-29 08:07:39 +01:00
d2ea93f05e
feat: avoid resetting next to main when dev is ahead of main
...
When dev is not based on next, next is reset to main, however, it should
reset to the next commit towards dev when when is ahead of main.
Closes kemitix/git-next#111
2024-07-28 20:32:08 +01:00
11de4efae6
docs: add missing readme for git-next-core
...
Closes kemitix/git-next#112
2024-07-28 13:54:25 +01:00
2ec5ae1d51
tests: restore unlinked test file
2024-07-26 19:18:12 +01:00
fa5fa809d9
refactor: merge git create into core crate
2024-07-26 07:59:37 +01:00
ab728c7364
refactor: merge config crate into core crate
2024-07-25 21:08:16 +01:00
48c968db2d
refactor: merge actor-macros into core
...
Starting to flatten the crates.
2024-07-25 07:37:29 +01:00