Move git module to server
This commit is contained in:
parent
f769eeda50
commit
6cf7a0b586
4 changed files with 7 additions and 3 deletions
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
mod args;
|
||||
mod config;
|
||||
mod git;
|
||||
mod id;
|
||||
mod server;
|
||||
mod shared;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
mod git;
|
||||
mod recurring;
|
||||
mod util;
|
||||
pub mod web;
|
||||
|
|
@ -19,7 +20,7 @@ use sqlx::{
|
|||
};
|
||||
use tokio::select;
|
||||
|
||||
use crate::{args::ServerCommand, config::ServerConfig, git, somehow};
|
||||
use crate::{args::ServerCommand, config::ServerConfig, somehow};
|
||||
|
||||
use self::workers::Workers;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,11 @@
|
|||
|
||||
use log::{debug, info, warn};
|
||||
|
||||
use crate::{config::ServerConfig, git, server::Repo, somehow};
|
||||
use crate::{
|
||||
config::ServerConfig,
|
||||
server::{git, Repo},
|
||||
somehow,
|
||||
};
|
||||
|
||||
async fn inner(repo: Repo, url: &'static str, refspecs: &'static [String]) -> somehow::Result<()> {
|
||||
let output =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue