834dff4370
chore: convert project into a cargo workspace
2024-05-11 16:33:18 +01:00
62bee38c85
feat(server): use cached Repository from RepoActor
2024-05-10 10:10:43 +01:00
992821d563
feat(server): cache Repository in RepoActor
2024-05-09 21:18:40 +01:00
b7aa417831
feat(server): include repo in missing handler logs
...
Closes kemitix/git-next#78
2024-05-09 20:40:56 +01:00
ec2ebe70cf
feat(server): Don't load config from repo if repo config is in server config
...
Closes kemitix/git-next#77
2024-05-08 07:14:14 +01:00
b1638a65fc
feat(server): give Server an incremental generation counter
2024-05-07 18:59:51 +01:00
da5bc69508
feat(server): avoid duplicate messages being passed for repo actor
2024-05-05 08:30:01 +01:00
2c5f497be2
feat(server): remove redundant call to register webhook
2024-05-05 07:39:39 +01:00
7516ec1dc1
chore(logging): clean up and reformat logging
2024-05-04 19:41:53 +01:00
5ba5a126c3
fix(gitforge): use local repo or clone to allow git push
...
The `git push` command requires a git directory (bare at a minimum)
before it can work.
The git dir must also be up-to-date with the relevant references from
the remote, so
we do a `git fetch` before a `git push`.
Closes kemitix/git-next#51
2024-05-03 19:08:58 +01:00
17f5f62e61
feat: Clone repo when starting repo
2024-04-23 07:41:39 +01:00
32d54cfc1c
refactor: rename config variables,etc as repo_config
2024-04-21 19:36:37 +01:00
0d57ee7bc0
refactor(gitforge): migrate some types from forge
2024-04-18 19:18:27 +01:00
adb44d18c9
feat(server/gitforge): replace git abstraction
2024-04-18 08:22:55 +01:00
64a6b84ee4
feat(server/webhook): only accept authorised messages
...
Closes kemitix/git-next#47
2024-04-14 19:14:44 +01:00
24cb485410
feat(repo/webhook): Handle messages received via webhook for ForgeJo
...
Closes kemitix/git-next#43
2024-04-14 19:14:38 +01:00
dd91aa4f69
feat(server/webhook): implement register webhook
...
Closes kemitix/git-next#15
2024-04-14 14:37:55 +01:00
e7060800eb
feat(server/webhook): implement unregister webhook
...
Closes kemitix/git-next#17
2024-04-13 21:01:35 +01:00
5fcf16ea75
feat: Abstract Git command execution into injectable enum
...
Closes kemitix/git-next#36
2024-04-12 19:39:24 +01:00
8ed942a501
fix: remove extra StartRepo message
...
Closes kemitix/git-next#32
2024-04-12 08:41:24 +01:00
c9d52a5b7f
feat: when no action to take, wait 10 seconds then restart
...
As a stop-gap until we have a working webhook server, this will poll the
repo for updates to it's status.
Closes kemitix/git-next#22
2024-04-11 18:30:52 +01:00
115b353389
feat: Force push next branch to main when it isn't a dev ancestor
...
Closes kemitix/git-next#21
2024-04-11 15:48:18 +01:00
7dab1da44b
fix(server): reduce complexity of StartMonitoring handler
...
Closes kemitix/git-next#25
2024-04-11 07:15:19 +01:00
50a56aadee
fix(server): Doesn't properly detect when dev or next are ahead
...
Closes kemitix/git-next#23
2024-04-10 20:51:40 +01:00
3a761b5b21
feat(server): Implement advancing main branch to the next commit
...
Closes kemitix/git-next#19
2024-04-10 17:36:08 +01:00
98a94ea855
Implement advancing next branch to next commit on dev branch
...
Uses gix to invoke git commands as there is not API to directly update
the position of a branch.
Closes kemitix/git-next#14
2024-04-10 15:54:50 +01:00
546d91554c
feat(server): next commit status is returned as pass, fail ro pending
2024-04-10 09:17:44 +01:00
ad7d513481
feat(server): add message and handler for AdvanceMainTo(Commit)
2024-04-10 06:55:58 +01:00
70e0f94042
feat(server): Assess next action for repo
2024-04-09 22:19:33 +01:00
3203bbd967
feat(server): validate branch head positions
2024-04-09 18:18:19 +01:00
9eb7660f7b
feat(server/forgejo): fetch commit histories
2024-04-09 18:15:19 +01:00
bdea942bcb
feat(server): create stub for validating branch positions
2024-04-09 15:31:59 +01:00
b093c002d4
feat(server/forgejo): load repo config
2024-04-09 11:09:07 +01:00