* Workspace forks: add endpoint to create a branch before creating a fork * Update hubPaths + create branch before creating fork on frontend * Update tmp ee-repo-ref * Remove debug hubPath * Prepare sqlx * Fix ee imports * Update ee-ref * Update ee-repo-ref final * Prepare sqlx
35 lines
816 B
Rust
35 lines
816 B
Rust
#[cfg(feature = "private")]
|
|
#[allow(unused)]
|
|
pub use crate::git_sync_ee::*;
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
use windmill_common::error::Result;
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
use crate::{DeployedObject, DB};
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
pub async fn handle_deployment_metadata<'c>(
|
|
_email: &str,
|
|
_created_by: &str,
|
|
_db: &DB,
|
|
_w_id: &str,
|
|
_obj: DeployedObject,
|
|
_deployment_message: Option<String>,
|
|
_skip_db_insert: bool,
|
|
) -> Result<()> {
|
|
// Git sync is an enterprise feature and not part of the open-source version
|
|
return Ok(());
|
|
}
|
|
|
|
#[cfg(not(feature = "private"))]
|
|
pub async fn handle_fork_branch_creation<'c>(
|
|
_email: &str,
|
|
_created_by: &str,
|
|
_db: &DB,
|
|
_w_id: &str,
|
|
_fork_workspace_id: &str,
|
|
) -> Result<Vec<uuid::Uuid>> {
|
|
return Ok(vec![]);
|
|
}
|