Commit graph

629 commits

Author SHA1 Message Date
e62f5e2319 docs(readme): update dependency graph 2024-05-26 07:43:03 +01:00
942a71efd4 chore: Release 0.6.1 2024-05-25 20:38:08 +01:00
3642b2cdd1 fix: new commit_log matches original from API request
The original was including a lot of extra commits, those are now trimmed
to match the expected.
2024-05-25 20:36:24 +01:00
6cab8bb2ba chore: Release 0.6.0 2024-05-25 08:12:31 +01:00
7a0247ea03 refactor: get commit log from local repo (step 1)
Avoid using a forge-specific API to get a commit log when the
information is already available locally in the cloned repo through a
generic git command.

The commit adds the new method of getting the commit log and compares it
with the original methods, logging if they match or not.

The updated results are returned only if they match.
2024-05-25 08:10:02 +01:00
7818b25a5c refactor: move forgejo branch test to forgejo crate 2024-05-24 07:07:01 +01:00
0202be19fe refactor: remove unused git branch error 2024-05-23 20:52:16 +01:00
4cd797ac0a build: forge only include forgejo crate when feature enabled 2024-05-23 19:41:50 +01:00
5253e136cc refactor: extract forge-forgejo crate 2024-05-23 19:36:05 +01:00
9e37c073c2 refactor(repo_actor): consitent use of config crate 2024-05-23 17:56:47 +01:00
17b1629cdf refactor(repo_actor): merge config and load modules 2024-05-23 17:53:36 +01:00
64cbe36dac refactor: move ForgeLike to git 2024-05-23 16:50:36 +01:00
639223fcaa refactor: improve consistency of use of git types 2024-05-23 16:19:28 +01:00
f2af849d0b refactor(forge): rename gitforge crate as forge 2024-05-23 16:04:38 +01:00
ebbb655bfc feat(server): config file watcher will respond to touch
You can now trigger a server reload by `touch`ing the
`git-next-server.toml` file.
2024-05-23 09:01:57 +01:00
d76be1197a test: don't record coverage for mock forge 2024-05-23 08:53:16 +01:00
4053563b30 refactor: move MessageToken to repo-actor crate 2024-05-23 08:52:42 +01:00
564e14a370 refactor(gitforge): disolve gitforge:errors module 2024-05-23 08:01:16 +01:00
c92e41ee56 chore(justfile): Don't directly open coverage report 2024-05-23 07:34:10 +01:00
8616225a28 chore: Release v0.5.2 2024-05-22 21:20:41 +01:00
db9b4220ee refactor: extract repo-actor and gitforge crates 2024-05-22 19:57:48 +01:00
Renovate Bot
4c2bc19139 chore(deps): update rust crate gix to 0.63 2024-05-22 12:15:30 +00:00
2dbd42163a docs(readme): add diagram showing crate dependencies 2024-05-21 20:01:33 +01:00
ac25c9985e chore: remove feature declarations
git crate doesn't have and feature dependent code
2024-05-21 19:58:18 +01:00
df8ebc6af7 refactor(server): collapse type module into gitforge module 2024-05-21 19:47:01 +01:00
341dc97a51 refactor(git): add mock repository and tests
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
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 2024-05-20 09:01:04 +01:00
ba92f23b41 fix(docs): git-cliff template add null check
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 2024-05-20 08:43:03 +01:00
c6c8dcedc5 feat(server): display expected auth in logs in invalid request 2024-05-20 07:46:23 +01:00
4977619c70 fix(server): don't use gix in server 2024-05-20 07:46:23 +01:00
c3c4c41c73 refactor(git): only expose OpenRepository from repository::open 2024-05-20 07:46:21 +01:00
70100f6dc5 refactor(git): reporitory errors don't leak implementation 2024-05-20 07:43:03 +01:00
155497c97f refactor(git): split mock, real and open into their files 2024-05-20 07:42:52 +01:00
7b1575eb09 build(justfile): validate format locally 2024-05-20 07:42:33 +01:00
f4b8401bb1 test(git): add more tests 2024-05-19 14:54:17 +01:00
5e5445f45d docs(changelog): added 2024-05-19 08:52:00 +01:00
d241273345 chore: version set to 0.4.1 2024-05-19 07:27:40 +01:00
8e22a472cb revert: "build(woodpecker): remove redundant build of a builder images"
This reverts commit 38f236fc37.
2024-05-19 07:22:01 +01:00
7b0d56746f build(docker): upgrade to clang-16 2024-05-19 07:05:41 +01:00
f302f7a5f8 chore: version set to 0.4.0 2024-05-18 22:43:01 +01:00
f398fb3b6a feat(server/webhook): warn when message is dropped 2024-05-18 22:36:54 +01:00
9d0f2d1ba1 feat(server): don't log validation ok 2024-05-18 22:29:57 +01:00
ee83def127 feat(server): don't log individual internal messages 2024-05-18 22:26:44 +01:00
76472fa74a chore: remove unused dependency tempfile 2024-05-18 22:23:18 +01:00
6c06d63c57 chore: remove dependency pretty_assertions 2024-05-18 22:21:10 +01:00
d6ca6ea3b2 chore: remove dependency test-log 2024-05-18 22:20:07 +01:00
f1a6d5089b chore: remove unused dependency anyhow 2024-05-18 22:18:36 +01:00
f56ac321f4 chore: remove dependency on terrors 2024-05-18 22:16:17 +01:00