Commit graph

69 commits

Author SHA1 Message Date
0202be19fe refactor: remove unused git branch error 2024-05-23 20:52:16 +01:00
64cbe36dac refactor: move ForgeLike to git 2024-05-23 16:50:36 +01:00
4053563b30 refactor: move MessageToken to repo-actor crate 2024-05-23 08:52:42 +01:00
db9b4220ee refactor: extract repo-actor and gitforge crates 2024-05-22 19:57:48 +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
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
f4b8401bb1 test(git): add more tests 2024-05-19 14:54:17 +01:00
58e991b2b7 test(git): make repository more testable
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
c3a5e50ad5 test(git): add more tests 2024-05-18 07:37:04 +01:00
446300e786 refactor(git): rename reset as push 2024-05-16 14:45:25 +01:00
eb7d14bc33 refactor(git): more derive_more replacing boilerplate 2024-05-15 20:40:25 +01:00
d70baa4350 refactor(config): more derive_more replacing boilerplate 2024-05-15 07:55:05 +01:00
c374076323 refactor(git): more use of derive_more 2024-05-14 16:28:21 +01:00
ac3e1be261 test: add some tests 2024-05-14 07:59:31 +01:00
a4694d48f6 refactor(config): replace boilerplate with derive_more 2024-05-13 21:03:33 +01:00
1e38330914 feat(git): add git_dir value to error when reset fails 2024-05-13 19:09:11 +01:00
4d352f005d refactor(server,config,git): extract modules config and git from server 2024-05-12 10:49:33 +01:00