992821d563
feat(server): cache Repository in RepoActor
2024-05-09 21:18:40 +01:00
e8062788a0
feat(server): extract git::reset from gitforge::forgejo
2024-05-09 18:48:06 +01:00
da5bc69508
feat(server): avoid duplicate messages being passed for repo actor
2024-05-05 08:30:01 +01:00
7516ec1dc1
chore(logging): clean up and reformat logging
2024-05-04 19:41:53 +01:00
5ba5a126c3
fix(gitforge): use local repo or clone to allow git push
...
The `git push` command requires a git directory (bare at a minimum)
before it can work.
The git dir must also be up-to-date with the relevant references from
the remote, so
we do a `git fetch` before a `git push`.
Closes kemitix/git-next#51
2024-05-03 19:08:58 +01:00
31ef0c19fb
feat(config): use specified gitdir when supplied
...
The user can specify a gitdir for a repo in the `git-next-server.toml` file.
When they do, then we should use that directory.
Closes kemitix/git-next#71
2024-04-29 06:52:50 +01:00
bb67b7c66d
feat(gitforge): clone repo in-process
...
Use the `gix` crate directly to create the clone rather then spawning a
`git` processess.
Closes kemitix/git-next#54
Closes kemitix/git-next#70
2024-04-28 18:01:11 +01:00
ff6e61b0ee
feat: validate repo if it already exists
...
Closes kemitix/git-next#60
2024-04-25 19:41:41 +01:00
a024c3de5e
feat: use GitDir in place of raw PathBuf
2024-04-21 18:47:07 +01:00
18143c17fd
refactor: use 'repo_path' use consistently
2024-04-20 21:03:17 +01:00
91870055b0
feat(gitforge): Add ability to clone a repo
...
Closes kemitix/git-next#56
2024-04-19 19:31:25 +01:00
0d57ee7bc0
refactor(gitforge): migrate some types from forge
2024-04-18 19:18:27 +01:00
adb44d18c9
feat(server/gitforge): replace git abstraction
2024-04-18 08:22:55 +01:00