huskies: merge 1115 story new project: --adopt flow to wrap a container around an existing checkout
This commit is contained in:
@@ -270,10 +270,11 @@ pub(in crate::chat::transport::matrix::bot) async fn on_room_message(
|
||||
)
|
||||
{
|
||||
slog!(
|
||||
"[matrix-bot] Handling new project command from {sender}: name={:?} stack={:?} git_url={:?}",
|
||||
"[matrix-bot] Handling new project command from {sender}: name={:?} stack={:?} git_url={:?} adopt_path={:?}",
|
||||
cmd.name,
|
||||
cmd.stack,
|
||||
cmd.git_url,
|
||||
cmd.adopt_path,
|
||||
);
|
||||
let response = if let Some(ref store) = ctx.gateway_projects_store {
|
||||
super::super::super::new_project::handle_new_project(
|
||||
@@ -282,6 +283,7 @@ pub(in crate::chat::transport::matrix::bot) async fn on_room_message(
|
||||
cmd.git_url.as_deref(),
|
||||
cmd.git_token.as_deref(),
|
||||
cmd.host_path.as_deref(),
|
||||
cmd.adopt_path.as_deref(),
|
||||
store,
|
||||
&ctx.services.project_root,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user