Skip to content

Commit 85160df

Browse files
authored
feat: improve maintainers detection [CM-1033] (#3908)
Signed-off-by: Mouad BANI <mouad-mb@outlook.com>
1 parent a14dbf9 commit 85160df

File tree

3 files changed

+459
-86
lines changed

3 files changed

+459
-86
lines changed

scripts/services/docker/Dockerfile.git_integration

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ FROM base AS runner
8282
RUN apt-get update && apt-get install -y \
8383
ca-certificates \
8484
git \
85+
ripgrep \
8586
--no-install-recommends \
8687
&& rm -rf /var/lib/apt/lists/* \
8788
&& apt-get clean \

services/apps/git_integration/src/crowdgit/models/maintainer_info.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ class MaintainerResult(BaseModel):
3434
maintainer_file: str | None = None
3535
maintainer_info: list[MaintainerInfoItem] | None = None
3636
total_cost: float = 0
37+
candidate_files: list[tuple[str, int]] = []
38+
ai_suggested_file: str | None = None
39+
not_found: bool = False

0 commit comments

Comments
 (0)