generated from PlexSheep/rs-base
Merge branch 'devel' of https://git.cscherr.de/PlexSheep/autocrate into devel
cargo devel CI / cargo CI (push) Successful in 1m54s
Details
cargo devel CI / cargo CI (push) Successful in 1m54s
Details
This commit is contained in:
commit
0c2f270336
|
@ -1,5 +1,3 @@
|
||||||
use git2;
|
|
||||||
|
|
||||||
use crate::{config::Config, error::Result};
|
use crate::{config::Config, error::Result};
|
||||||
|
|
||||||
pub async fn tag(_cfg: &Config) -> Result<String> {
|
pub async fn tag(_cfg: &Config) -> Result<String> {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
pub mod changelog;
|
pub mod changelog;
|
||||||
pub mod config;
|
pub mod config;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
|
pub mod git;
|
||||||
pub mod publish;
|
pub mod publish;
|
||||||
pub mod release;
|
pub mod release;
|
||||||
pub mod serverapi;
|
pub mod serverapi;
|
||||||
pub mod git;
|
|
||||||
|
|
|
@ -80,5 +80,7 @@ impl ServerApi for Forgejo {
|
||||||
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
fn get_cfg(&self) -> &Api {&self.cfg}
|
fn get_cfg(&self) -> &Api {
|
||||||
|
&self.cfg
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,9 @@ impl ServerApi for Gitea {
|
||||||
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
fn get_cfg(&self) -> &Api {&self.cfg}
|
fn get_cfg(&self) -> &Api {
|
||||||
|
&self.cfg
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Gitea {
|
impl Gitea {
|
||||||
|
|
|
@ -23,7 +23,9 @@ impl ServerApi for Github {
|
||||||
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
fn get_cfg(&self) -> &Api {&self.cfg}
|
fn get_cfg(&self) -> &Api {
|
||||||
|
&self.cfg
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Github {
|
impl Github {
|
||||||
|
|
|
@ -23,7 +23,9 @@ impl ServerApi for Gitlab {
|
||||||
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
async fn push_pkg(&mut self, _pc: PublishContext) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
fn get_cfg(&self) -> &Api {&self.cfg}
|
fn get_cfg(&self) -> &Api {
|
||||||
|
&self.cfg
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Gitlab {
|
impl Gitlab {
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
use std::{
|
use std::ops::{Deref, DerefMut};
|
||||||
ops::{Deref, DerefMut},
|
|
||||||
slice::Iter,
|
|
||||||
};
|
|
||||||
|
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
use reqwest::ClientBuilder;
|
use reqwest::ClientBuilder;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
config::{ApiType, Config, self},
|
config::{self, ApiType, Config},
|
||||||
error::*,
|
error::*,
|
||||||
publish::PublishContext,
|
publish::PublishContext,
|
||||||
release::ReleaseContext,
|
release::ReleaseContext,
|
||||||
|
|
Loading…
Reference in New Issue