refactor: move config list

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-01 17:01:00 +02:00
parent e51454088e
commit ae9073bf0b
8 changed files with 93 additions and 58 deletions

View File

@@ -9,57 +9,57 @@ impl LocalGitClient {
}
impl RemoteGitEngine for LocalGitClient {
fn connect(&self, owner: &str, repo: &str) -> anyhow::Result<()> {
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>> {
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,
_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>> {
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,
_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,
_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,
_owner: &str,
_repo: &str,
_version: &str,
_body: &str,
_prerelease: bool,
) -> anyhow::Result<crate::gitea_client::Release> {
todo!()
}