From 4ddb67c9299227d7bd2af365f6d0150e56f24784 Mon Sep 17 00:00:00 2001 From: Leen Kilani Date: Wed, 16 Sep 2026 10:04:23 +0300 Subject: [PATCH 1/3] COR-2000: update default exlude globs --- src/utils/generic.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/generic.rs b/src/utils/generic.rs index 829ca0b..e064fb2 100644 --- a/src/utils/generic.rs +++ b/src/utils/generic.rs @@ -43,7 +43,6 @@ const DEFAULT_EXCLUDE_GLOBS: &[&str] = &[ "**/specs/**", "**/node_modules/**", "**/tmp/**", - "**/migrations/**", "**/python*/site-packages/**", "**/*.mmdb", "**/*.css", From b6837a0536335f4260f2883c802bd937cc9e4a85 Mon Sep 17 00:00:00 2001 From: Leen Kilani Date: Thu, 17 Sep 2026 17:34:28 +0300 Subject: [PATCH 2/3] unit tests coverage --- src/utils/generic.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/generic.rs b/src/utils/generic.rs index e064fb2..291a0a0 100644 --- a/src/utils/generic.rs +++ b/src/utils/generic.rs @@ -1133,6 +1133,8 @@ mod tests { assert!(set.is_match(Path::new("/tmp/proj/app.py"))); assert!(!set.is_match(Path::new("app.py"))); assert!(!set.is_match(Path::new("src/app.py"))); + assert!(!set.is_match(Path::new("migrations/0001_initial.py"))); + assert!(!set.is_match(Path::new("app/migrations/0001_initial.py"))); } #[test] From 37106c3db72e684dce26889fe46f19d93562a431 Mon Sep 17 00:00:00 2001 From: Leen Kilani Date: Sun, 20 Sep 2026 16:43:56 +0300 Subject: [PATCH 3/3] COR-2000: added new lines --- src/include_rules.rs | 2 +- src/scanners/blast.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include_rules.rs b/src/include_rules.rs index 421b19a..50bd457 100644 --- a/src/include_rules.rs +++ b/src/include_rules.rs @@ -218,7 +218,7 @@ pub fn resolve( } if !patterns.is_empty() { println!( - "Applying {} project include rule(s) from Corgea: {}.", + "\n\nApplying {} project include rule(s) from Corgea: {}.", patterns.len(), patterns.join(", ") ); diff --git a/src/scanners/blast.rs b/src/scanners/blast.rs index e162552..7ad40b9 100644 --- a/src/scanners/blast.rs +++ b/src/scanners/blast.rs @@ -418,7 +418,7 @@ fn start_new_scan( // default excludes (which cover `**/*.env` among others), so whoever // reads the log needs to see what actually went into the archive. println!( - "Force-including {} file(s) Corgea would otherwise skip:", + "\nForce-including {} file(s) Corgea would otherwise skip:", force_included.len() ); for path in force_included.iter().take(FORCE_INCLUDE_PREVIEW) {