3735afb2f8
fix: don't reload config when updating next branch
...
The StartRepo handler loads the config before then sending the
ValidateRepo message. However, we already have the config, so reloading
it isn't needed.
Added todo markers on sleep and dispatching of ValidateRepo where it is
used as a stop-gap until we have working webhook integration.
Add todo markers for checking valid commit messages before advancing
next branch.
2024-04-12 10:14:32 +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
d2d49f353c
refactor: pass RepoDetails by reference
2024-04-11 15:47:28 +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
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
e27b050a09
feat(server): log returned status for next branch
2024-04-10 11:47:14 +01:00
546d91554c
feat(server): next commit status is returned as pass, fail ro pending
2024-04-10 09:17:44 +01:00
c66170c3b4
feat(server): implement repo::status::check_next
2024-04-10 07:13:55 +01:00
70e0f94042
feat(server): Assess next action for repo
2024-04-09 22:19:33 +01:00