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!()
    }
    async fn push_pkg(&mut self, pkg_type: PackageType) -> Result<()> {
        todo!()
    }
}

impl Forgejo {
    pub async fn build(cfg: &Config) -> Result<Self> {
        todo!()
    }
}