Commit graph

604 commits

Author SHA1 Message Date
341dc97a51 refactor(git): add mock repository and tests
All checks were successful
Rust / build (push) Successful in 1m7s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Repository is now behind an enum to allow selection of a mock Repsitory
for use in tests.
2024-05-21 19:47:01 +01:00
e5744e85ad fix(server): invalid webhook authorisations
All checks were successful
ci/woodpecker/tag/cron-docker-builder Pipeline was successful
ci/woodpecker/tag/push-next Pipeline was successful
ci/woodpecker/tag/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Successful in 2m5s
Parameters had been passed in wrong order. Added strong types to prevent
a repeat.
2024-05-21 09:01:44 +01:00
eabeeeda47 docs(changelog): updated for 0.5.0 release
All checks were successful
ci/woodpecker/tag/push-next Pipeline was successful
ci/woodpecker/tag/cron-docker-builder Pipeline was successful
ci/woodpecker/tag/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Successful in 1m11s
2024-05-20 09:01:04 +01:00
ba92f23b41 fix(docs): git-cliff template add null check
All checks were successful
Rust / build (push) Successful in 1m9s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Template checked that previous.commit_id existed but not that the
current commit_id existed. Not sure what caused that to be null.
2024-05-20 09:00:43 +01:00
692a860f6c chore: version set to 0.5.0
All checks were successful
Rust / build (push) Successful in 1m11s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-20 08:43:03 +01:00
c6c8dcedc5 feat(server): display expected auth in logs in invalid request
All checks were successful
Rust / build (push) Successful in 1m43s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-20 07:46:23 +01:00
4977619c70 fix(server): don't use gix in server
All checks were successful
Rust / build (push) Successful in 1m35s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-20 07:46:23 +01:00
c3c4c41c73 refactor(git): only expose OpenRepository from repository::open
All checks were successful
Rust / build (push) Successful in 1m29s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-20 07:46:21 +01:00
70100f6dc5 refactor(git): reporitory errors don't leak implementation
All checks were successful
Rust / build (push) Successful in 1m40s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-20 07:43:03 +01:00
155497c97f refactor(git): split mock, real and open into their files
All checks were successful
Rust / build (push) Successful in 1m46s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-20 07:42:52 +01:00
7b1575eb09 build(justfile): validate format locally
All checks were successful
Rust / build (push) Successful in 1m39s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-20 07:42:33 +01:00
f4b8401bb1 test(git): add more tests
Some checks failed
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Has been cancelled
2024-05-19 14:54:17 +01:00
5e5445f45d docs(changelog): added
All checks were successful
Rust / build (push) Successful in 2m14s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-19 08:52:00 +01:00
d241273345 chore: version set to 0.4.1
All checks were successful
Rust / build (push) Successful in 2m24s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/tag/cron-docker-builder Pipeline was successful
ci/woodpecker/tag/push-next Pipeline was successful
ci/woodpecker/tag/tag-created Pipeline was successful
2024-05-19 07:27:40 +01:00
8e22a472cb revert: "build(woodpecker): remove redundant build of a builder images"
All checks were successful
Rust / build (push) Successful in 1m49s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
This reverts commit 38f236fc37.
2024-05-19 07:22:01 +01:00
7b0d56746f build(docker): upgrade to clang-16
All checks were successful
Rust / build (push) Successful in 2m39s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
2024-05-19 07:05:41 +01:00
f302f7a5f8 chore: version set to 0.4.0
Some checks failed
Rust / build (push) Successful in 1m34s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/tag/push-next Pipeline was successful
ci/woodpecker/tag/tag-created Pipeline failed
2024-05-18 22:43:01 +01:00
f398fb3b6a feat(server/webhook): warn when message is dropped
All checks were successful
Rust / build (push) Successful in 2m7s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
2024-05-18 22:36:54 +01:00
9d0f2d1ba1 feat(server): don't log validation ok
All checks were successful
Rust / build (push) Successful in 1m16s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-18 22:29:57 +01:00
ee83def127 feat(server): don't log individual internal messages
All checks were successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
Rust / build (push) Successful in 1m9s
2024-05-18 22:26:44 +01:00
76472fa74a chore: remove unused dependency tempfile
All checks were successful
Rust / build (push) Successful in 1m10s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-18 22:23:18 +01:00
6c06d63c57 chore: remove dependency pretty_assertions
All checks were successful
Rust / build (push) Successful in 1m11s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
2024-05-18 22:21:10 +01:00
d6ca6ea3b2 chore: remove dependency test-log
All checks were successful
Rust / build (push) Successful in 1m9s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
2024-05-18 22:20:07 +01:00
f1a6d5089b chore: remove unused dependency anyhow
All checks were successful
Rust / build (push) Successful in 1m17s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-18 22:18:36 +01:00
f56ac321f4 chore: remove dependency on terrors
All checks were successful
Rust / build (push) Successful in 1m15s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-18 22:16:17 +01:00
85d38ede56 feat(deps): remove unused features from dependencies
All checks were successful
Rust / build (push) Successful in 1m11s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
2024-05-18 22:11:47 +01:00
58e991b2b7 test(git): make repository more testable
All checks were successful
Rust / build (push) Successful in 2m35s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
Adds a layer around Repository to allow the use of a mock.

Mock has still to be implemented.
2024-05-18 20:37:03 +01:00
6757723b77 feat(server/webhook): log errors in webhook requests
Some checks failed
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
Rust / build (push) Has been cancelled
2024-05-18 20:26:44 +01:00
c3a5e50ad5 test(git): add more tests
All checks were successful
Rust / build (push) Successful in 1m18s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
2024-05-18 07:37:04 +01:00
896e1cba42 test(config): add more tests
All checks were successful
Rust / build (push) Successful in 1m58s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-17 20:26:33 +01:00
6889235b07 chore(deps): bump kxio from 1.1 to 1.2
All checks were successful
Rust / build (push) Successful in 1m11s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-17 18:50:18 +01:00
b7416c7434 chore(justfile): add coverage recipe
All checks were successful
Rust / build (push) Successful in 2m10s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-17 18:49:00 +01:00
e3205af094 docs(readme): add msrv and some formatting
All checks were successful
Rust / build (push) Successful in 2m13s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-17 18:40:07 +01:00
2cefe07a80 docs(readme): Add prerequisits
All checks were successful
Rust / build (push) Successful in 3m10s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-17 18:32:55 +01:00
4924e9b3f0 docs(readme): remove build status badge from woodpecker
All checks were successful
Rust / build (push) Successful in 2m2s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-17 07:38:19 +01:00
38f236fc37 build(woodpecker): remove redundant build of a builder images
All checks were successful
Rust / build (push) Successful in 1m16s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
Now that the push-next job is using the forgejo action, it no longer
needs this builder image.
2024-05-17 07:37:11 +01:00
29c03b936d build(forgejo): use rust action
All checks were successful
Rust / build (push) Successful in 2m34s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-17 07:26:07 +01:00
c90aef3796 build(woodpecker): remove build_and_lint and test from push-next
Some checks failed
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Has been cancelled
These are now handled by the forgejo actions job push-next.
2024-05-16 14:53:03 +01:00
446300e786 refactor(git): rename reset as push
All checks were successful
Rust / build (push) Successful in 2m2s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
2024-05-16 14:45:25 +01:00
8107411935 build(forgejo): drop action based on builder
All checks were successful
Rust / build (push) Successful in 2m20s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
2024-05-16 13:48:05 +01:00
0f7d1a8d42 build(forgejo): add push-next job
Some checks failed
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
Rust / build (push) Failing after 1s
Has both on-docker and on-builder variants while I workout which I can
get to work.
2024-05-16 13:44:05 +01:00
d87af324d6 refactor(server): more derive_more replacing boilerplate
Some checks failed
/ test (push) Successful in 1s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline failed
2024-05-16 06:46:03 +01:00
f8375ed1fc refactor(server/config): rename RepoConfigValidationError as Error
Some checks failed
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
/ test (push) Successful in 2s
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline failed
It is never referenced directly outside of this module.
2024-05-15 20:46:29 +01:00
eb7d14bc33 refactor(git): more derive_more replacing boilerplate
All checks were successful
/ test (push) Successful in 2s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-15 20:40:25 +01:00
d909d427c7 build(forgejo): triger action
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
/ test (push) Successful in 1s
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-15 20:14:17 +01:00
45e172e181 build(foregjo): add demo action
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-15 20:09:36 +01:00
d70baa4350 refactor(config): more derive_more replacing boilerplate
All checks were successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-15 07:55:05 +01:00
c374076323 refactor(git): more use of derive_more
All checks were successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
2024-05-14 16:28:21 +01:00
ac3e1be261 test: add some tests
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-14 07:59:31 +01:00
a7e7d12928 test(cli): add tests
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-14 07:58:28 +01:00