diff --git a/Cargo.lock b/Cargo.lock index e6ee833d..7b0c6166 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5416,7 +5416,6 @@ dependencies = [ "serde_json", "tar", "temp_testdir", - "uuid", ] [[package]] diff --git a/xcresult/Cargo.toml b/xcresult/Cargo.toml index c6855e47..d59fc4a2 100644 --- a/xcresult/Cargo.toml +++ b/xcresult/Cargo.toml @@ -22,7 +22,6 @@ log = "0.4.22" quick-junit = "0.5.0" regex = "1.11.0" serde_json = "1.0.133" -uuid = { version = "1.10.0", features = ["v5"] } [dev-dependencies] flate2 = "1.0.34" diff --git a/xcresult/src/xcresult.rs b/xcresult/src/xcresult.rs index f45a42be..6069baaf 100644 --- a/xcresult/src/xcresult.rs +++ b/xcresult/src/xcresult.rs @@ -92,18 +92,7 @@ impl XCResult { } fn generate_id(&self, raw_id: &str) -> String { - // join the org and repo name to the raw id and generate uuid v5 from it - return uuid::Uuid::new_v5( - &uuid::Uuid::NAMESPACE_URL, - format!( - "{}#{}#{}", - self.org_url_slug, - &self.repo_url_parts.repo_full_name(), - raw_id - ) - .as_bytes(), - ) - .to_string(); + format!("trunk:{}", raw_id) } fn junit_testcase( diff --git a/xcresult/tests/data/test-ExpectedFailures.junit.xml b/xcresult/tests/data/test-ExpectedFailures.junit.xml index 914b81fd..25dae565 100644 --- a/xcresult/tests/data/test-ExpectedFailures.junit.xml +++ b/xcresult/tests/data/test-ExpectedFailures.junit.xml @@ -1,136 +1,136 @@ - - + + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/xcresult/tests/data/test1.junit.xml b/xcresult/tests/data/test1.junit.xml index 2a3b00c6..e23dc907 100644 --- a/xcresult/tests/data/test1.junit.xml +++ b/xcresult/tests/data/test1.junit.xml @@ -1,39 +1,39 @@ - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/xcresult/tests/data/test4.junit.xml b/xcresult/tests/data/test4.junit.xml index c9036365..36ed9e56 100644 --- a/xcresult/tests/data/test4.junit.xml +++ b/xcresult/tests/data/test4.junit.xml @@ -1,919 +1,919 @@ - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - - + + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +