autocrate/src/serverapi/forgejo.rs

32 lines
638 B
Rust
Raw Normal View History

2024-02-19 22:07:51 +01:00
use async_trait::async_trait;
use super::ServerApi;
use crate::{
config::{packages::PackageType, ApiType, Config},
error::*,
};
pub struct Forgejo;
#[async_trait]
impl ServerApi for Forgejo {
async fn init(&mut self, cfg: &Config) -> Result<()> {
todo!()
}
async fn push_release(&mut self) -> Result<()> {
todo!()
}
2024-02-24 13:24:14 +01:00
async fn push_release_artifact(&mut self) -> Result<()> {
todo!()
}
2024-02-19 22:07:51 +01:00
async fn push_pkg(&mut self, pkg_type: PackageType) -> Result<()> {
todo!()
}
2024-02-24 13:24:14 +01:00
2024-02-19 22:07:51 +01:00
}
impl Forgejo {
pub async fn build(cfg: &Config) -> Result<Self> {
todo!()
}
}