From 42ae566fd3c619d32bbf1e9021785ef20d2d7de3 Mon Sep 17 00:00:00 2001 From: "d.o." <6849456+d-oit@users.noreply.github.com> Date: Thu, 9 Oct 2025 07:04:33 +0000 Subject: [PATCH 1/2] release: bump version to 0.1.1 --- CHANGELOG.md | 5 +++++ Cargo.toml | 7 ++++++- crates/cli/Cargo.toml | 6 +++++- crates/core/Cargo.toml | 2 +- crates/output/Cargo.toml | 2 +- crates/storage/Cargo.toml | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9b3ee9..5d15b60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.1] - 2025-10-09 + +### Changed +- Bump version to 0.1.1 + ## [0.2.0] - 2025-10-09 ### Added diff --git a/Cargo.toml b/Cargo.toml index e2f96a7..d2833d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,12 @@ ignore = "0.4" # Concurrency rayon = "1.10" num_cpus = "1.16" -tokio = { version = "1.0", features = ["fs", "rt-multi-thread"] } +tokio = { version = "1.0", features = ["fs", "rt-multi-thread", "time"] } + +# Logging and Monitoring +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } +sysinfo = "0.30" # Error Handling thiserror = "1.0" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 9be1d6f..a326e42 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "code_guardian_cli" -version = "0.2.0" +version = "0.1.1" edition = "2021" [dependencies] @@ -20,6 +20,10 @@ ignore = { workspace = true } git2 = { workspace = true, optional = true } num_cpus = { workspace = true } rayon = { workspace = true } +tokio = { workspace = true } +tracing = { workspace = true } +tracing-subscriber = { workspace = true } +sysinfo = { workspace = true } code-guardian-core = { path = "../core" } code-guardian-storage = { path = "../storage" } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index ae5a5bd..7f385d4 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "code-guardian-core" -version = "0.2.0" +version = "0.1.1" edition = "2021" [dependencies] diff --git a/crates/output/Cargo.toml b/crates/output/Cargo.toml index cbdb59d..8558b5c 100644 --- a/crates/output/Cargo.toml +++ b/crates/output/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "code-guardian-output" -version = "0.2.0" +version = "0.1.1" edition = "2021" [dependencies] diff --git a/crates/storage/Cargo.toml b/crates/storage/Cargo.toml index b6d958a..a0750ab 100644 --- a/crates/storage/Cargo.toml +++ b/crates/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "code-guardian-storage" -version = "0.2.0" +version = "0.1.1" edition = "2021" [dependencies] From 7e17856ff99d70d3a2b009837c8c66f0345c1331 Mon Sep 17 00:00:00 2001 From: "d.o." <6849456+d-oit@users.noreply.github.com> Date: Fri, 10 Oct 2025 07:27:18 +0000 Subject: [PATCH 2/2] Merge branch 'main' into develop - resolve conflicts --- CHANGELOG.md | 21 ++++++++++++++++++++- Cargo.lock | 32 ++------------------------------ Cargo.toml | 2 +- crates/cli/Cargo.toml | 10 +++++++--- crates/core/Cargo.toml | 7 ++++--- 5 files changed, 34 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f591dcc..ed6bf4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.2] - 2025-10-09 + +### Fixed +- GitHub Actions release workflow binary name mismatch (code-guardian-cli vs code_guardian_cli) +- Duplicate anyhow import in monitoring module +- Syntax error in CLI main.rs tracing initialization + +### Added +- Automatic changelog integration in release workflow +- Enhanced release descriptions from CHANGELOG.md +- Comprehensive workflow issue analysis and documentation + +### Changed +- Release workflow now extracts and uses proper changelog content +- Improved error handling in release process +- Updated existing v0.1.1 release with proper description +- Bump version to 0.1.1 + +## [0.1.1] - 2025-10-09 ### Added - Git CLI commands and GitIntegration module for repository operations @@ -56,4 +75,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CI/CD workflows for continuous integration, documentation generation, and automated releases. - Agent-based development system for collaborative and automated code management. - Benchmarks and performance tests to ensure optimal scanning speed. -- Test suites across crates for reliability and code quality. \ No newline at end of file +- Test suites across crates for reliability and code quality. diff --git a/Cargo.lock b/Cargo.lock index e60082d..61a51ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -225,12 +225,6 @@ version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" -[[package]] -name = "bytes" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" - [[package]] name = "cast" version = "0.3.0" @@ -433,9 +427,11 @@ dependencies = [ "serde", "serde_json", "serde_yaml", + "sysinfo", "tempfile", "thiserror", "tokio", + "tracing", "tracing-subscriber", ] @@ -2215,15 +2211,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" -[[package]] -name = "signal-hook-registry" -version = "1.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" -dependencies = [ - "libc", -] - [[package]] name = "similar" version = "2.7.0" @@ -2248,16 +2235,6 @@ version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" -[[package]] -name = "socket2" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" -dependencies = [ - "libc", - "windows-sys 0.59.0", -] - [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -2422,17 +2399,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", - "bytes", "io-uring", "libc", "mio", - "parking_lot", "pin-project-lite", - "signal-hook-registry", "slab", - "socket2", "tokio-macros", - "windows-sys 0.59.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d2833d0..1260527 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ ignore = "0.4" # Concurrency rayon = "1.10" num_cpus = "1.16" -tokio = { version = "1.0", features = ["fs", "rt-multi-thread", "time"] } +tokio = { version = "1.0", features = ["fs", "rt-multi-thread", "time", "sync", "macros"] } # Logging and Monitoring tracing = "0.1" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 4babe8d..d527937 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -20,9 +20,14 @@ ignore = { workspace = true } git2 = { workspace = true, optional = true } num_cpus = { workspace = true } rayon = { workspace = true } -tokio = { version = "1.0", features = ["full"] } +tokio = { workspace = true } tracing = { workspace = true } -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { workspace = true } +sysinfo = { workspace = true } + +code-guardian-core = { path = "../core" } +code-guardian-storage = { path = "../storage" } +code-guardian-output = { path = "../output" } [dev-dependencies] assert_cmd = "2.0" @@ -32,4 +37,3 @@ tempfile = "3.0" [features] default = [] git = ["git2"] - diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 8baf6f0..8fc3968 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -22,9 +22,10 @@ toml = "0.8" uuid = { version = "1.0", features = ["v4"] } memmap2 = "0.9" smallvec = { version = "1.13", features = ["union"] } -tokio = { version = "1.0", features = ["full"] } -tracing = "0.1" -sysinfo = "0.30" + + tracing = "0.1" + sysinfo = "0.30" + tokio = { workspace = true } [dev-dependencies] tempfile = { workspace = true }