Commit graph

19 commits

Author SHA1 Message Date
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