* ensure sync state cache is refreshed on sync create / copy

* clean up resources post_create

* show sidebar if element length > 1

* update `run_komodo_command` command

* rename all resources

* refresh repo cache after clone / pull

* improve rename repo log
This commit is contained in:
Maxwell Becker
2024-10-22 02:19:40 -04:00
committed by GitHub
parent 64b0a5c9d2
commit ea5506c202
67 changed files with 1147 additions and 424 deletions

View File

@@ -6,10 +6,10 @@ use komodo_client::{
};
use run_command::{async_run_command, CommandOutput};
/// Parses commands out of multiline string
/// and chains them together with '&&'
///
/// Supports full line and end of line comments. See [parse_multiline_command].
/// If `parse_multiline: true`, parses commands out of multiline string
/// and chains them together with '&&'.
/// Supports full line and end of line comments.
/// See [parse_multiline_command].
pub async fn run_komodo_command(
stage: &str,
path: impl Into<Option<&Path>>,

View File

@@ -14,7 +14,9 @@ pub fn init(config: &LogConfig) -> anyhow::Result<()> {
let registry =
Registry::default().with(LevelFilter::from(log_level));
match (config.stdio, !config.otlp_endpoint.is_empty()) {
let use_otel = !config.otlp_endpoint.is_empty();
match (config.stdio, use_otel) {
(StdioLogMode::Standard, true) => {
let tracer = otel::tracer(
&config.otlp_endpoint,