kjuulh 5fd902f87c
All checks were successful
continuous-integration/drone/push Build is passing
feat: enable commit bodies in changelog and fixes general warnings and updates (#49)
Allows commit bodies to show up in release notes, this is something I'd prefer as my releases are usually short, and I'd like to see these as I don't use pull requests as often, and often miss the context, as I don't link to commits currently.

Also fixes a lot of warnings and reintroduces failing tests, still not perfect, but better than before.
Co-authored-by: kjuulh <contact@kjuulh.io>
Co-committed-by: kjuulh <contact@kjuulh.io>
2025-01-09 23:46:07 +01:00

68 lines
1.4 KiB
Rust

use crate::RemoteGitEngine;
#[derive(Default)]
pub struct LocalGitClient {}
impl LocalGitClient {
pub fn new() -> Self {
Self {}
}
}
impl RemoteGitEngine for LocalGitClient {
fn connect(&self, _owner: &str, _repo: &str) -> anyhow::Result<()> {
todo!()
}
fn get_tags(&self, _owner: &str, _repo: &str) -> anyhow::Result<Vec<crate::gitea_client::Tag>> {
todo!()
}
fn get_commits_since(
&self,
_owner: &str,
_repo: &str,
_since_sha: Option<&str>,
_branch: &str,
) -> anyhow::Result<Vec<crate::gitea_client::Commit>> {
todo!()
}
fn get_pull_request(&self, _owner: &str, _repo: &str) -> anyhow::Result<Option<usize>> {
todo!()
}
fn create_pull_request(
&self,
_owner: &str,
_repo: &str,
_version: &str,
_body: &str,
_base: &str,
) -> anyhow::Result<usize> {
todo!()
}
fn update_pull_request(
&self,
_owner: &str,
_repo: &str,
_version: &str,
_body: &str,
_index: usize,
) -> anyhow::Result<usize> {
todo!()
}
fn create_release(
&self,
_owner: &str,
_repo: &str,
_version: &str,
_body: &str,
_prerelease: bool,
) -> anyhow::Result<crate::gitea_client::Release> {
todo!()
}
}