Commit graph

232 commits

Author SHA1 Message Date
c66170c3b4 feat(server): implement repo::status::check_next 2024-04-10 07:13:55 +01:00
a7a3f8a67b feat(server): add stub for forge::forgejo::get_commit_status 2024-04-10 07:13:55 +01:00
ca30d1bd11 build(woodpecker): merge and rename jobs
build(woodpecker): only run checks against next branch

Merges todo-check into main job.
Rename file build as push-next
Run lint ahead of build

build(woodpecker): rename builder as cron-docker-builder

build(woodpecker): merge release and docker into tag-created
2024-04-10 07:13:11 +01:00
8ad84bc72b feat(server): add deserialise types for commit status 2024-04-10 06:56:00 +01:00
ad7d513481 feat(server): add message and handler for AdvanceMainTo(Commit) 2024-04-10 06:55:58 +01:00
7ed30fc382 feat(server): add stub for branch::advance_main 2024-04-10 06:55:55 +01:00
0b5c91fedb build(woodpecker): split updating docker builder into seperate job
Closes kemitix/git-next#7
2024-04-09 22:19:34 +01:00
70e0f94042 feat(server): Assess next action for repo 2024-04-09 22:19:33 +01:00
cdaca8258d build(woodpecker): run checks against next branch too 2024-04-09 19:35:26 +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
ca37045e3a feat(server/forgejo): verify branches exist in repo 2024-04-09 14:52:12 +01:00
b093c002d4 feat(server/forgejo): load repo config 2024-04-09 11:09:07 +01:00
a7a64f5a07 chore(git-next): add config file 2024-04-09 11:00:29 +01:00
25a1886e94 feat(init): define default repo config 2024-04-09 10:56:15 +01:00
acb3fc6898 chore(deps): add base64 dependency 2024-04-09 10:05:34 +01:00
3af5e3d8cd chore(deps): temp use local copy of kxio while firming up it's API 2024-04-09 10:05:07 +01:00
f255c44dfa feat: Replace own filesystem module with kxio lib
The filesystem, and the intended network module have been extracted into
their own library as they are used by more than one project, so they can
now be developed independently and updates shared.

Closes kemitix/git-next#9
2024-04-09 07:41:41 +01:00
8a66b46acc chore(deps): Add kxio dependency 2024-04-09 07:41:41 +01:00
7e08640743 refactor(server): reduce complexity starting server 2024-04-09 07:41:41 +01:00
1b0c09d3fe build(woodpecker): don't run todo checker on cron 2024-04-08 20:32:10 +01:00
d2e0a7ce8c build(woodpecker): don't specify patch level for todo checker 2024-04-08 20:32:10 +01:00
e863f4ad4a docs(license): update copyright name 2024-04-08 20:32:10 +01:00
a1484939ab config(server): add token field to Forge 2024-04-08 12:09:29 +01:00
aaaa975911 refactor(config): compare whole server config in one go 2024-04-08 12:09:29 +01:00
be01d106a4 feat(config): use accesors for hostname and user 2024-04-08 12:09:29 +01:00
3c4a0d52b1 feat(config): Add ApiToken newtype 2024-04-08 11:50:10 +01:00
abbd2e66e6 feat(actors/repo): add RepoActor::new 2024-04-08 11:34:07 +01:00
c3f2266dc1 feat(config): Parse RepoConfig 2024-04-08 11:34:07 +01:00
d5e9b14e3d refactor(config): rename Config as ServerConfig 2024-04-08 08:33:46 +01:00
a4e781d4e4 feat(config): make RepoDetails Clone 2024-04-08 08:22:23 +01:00
77705035f9 feat(config): impl Display for RepoDetails 2024-04-08 08:12:31 +01:00
e9685abf5f feat(config): Repos specify which branch to read config from 2024-04-08 08:05:13 +01:00
b66b70c08b fix(server): fix typo 2024-04-07 20:57:51 +01:00
4b64aa5a14 fix(config): update case for default forge_type 2024-04-07 20:55:16 +01:00
ca673f9545 feat(server): start repo actors 2024-04-07 20:16:41 +01:00
34c5caaaa1 chore(deps): Add actix-rt dependency 2024-04-07 20:15:41 +01:00
eacefefe20 feat(server/actors): create stub RepoActor 2024-04-07 20:15:41 +01:00
3ac4894d68 feat(config): add ForgeDetails and RepoDetails types 2024-04-07 20:15:41 +01:00
634b040708 docs(readme): add build status badge 2024-04-07 19:44:06 +01:00
3c97754b3e chore(deps): add actix dependency 2024-04-07 19:27:07 +01:00
1de2bd2ecb feat(server): log parsed config 2024-04-07 19:10:37 +01:00
f1041d6fe6 fix(config): parse the server file with sections 2024-04-07 19:10:37 +01:00
376830c8a6 chore(dev-deps): Add assert2 dependency 2024-04-07 18:53:39 +01:00
ef75ecda08 feat(server): log error when fails to load config 2024-04-07 18:37:01 +01:00
dc4110596f feat(config): implement Display for ForgeType 2024-04-07 18:36:27 +01:00
cf10aa3912 chore(ignore): Don't track user files 2024-04-07 18:26:05 +01:00
edf551b72a build(docker): don't include Cargo.lock in image 2024-04-07 17:28:54 +01:00
ac37e9e199 build(woodpecker): run on cron and push to main
Also removed sha hash from some docker images.
2024-04-07 17:27:05 +01:00