Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4e7bf67
refactor: Use GitPython instead of git in command line
iburel Aug 8, 2025
67c1ec3
fix: properly use GitPython subcommands
NicolasIRAGNE Aug 8, 2025
e143f24
fix: properly use GitPython subcommands
NicolasIRAGNE Aug 8, 2025
b5a1af3
feat: add MCP (Model Context Protocol) server support
iburel Aug 8, 2025
3fa790e
test: add comprehensive MCP server testing and documentation
iburel Aug 8, 2025
cac4faf
test: add comprehensive MCP server testing and documentation
NicolasIRAGNE Aug 9, 2025
4a64fb4
fix: use mcp==1.12.4 instead of mcp>=1.0.0
Aug 12, 2025
81fdf80
drop support for Python 3.8/3.9, require 3.10+
Aug 12, 2025
2baa72b
fix: update test assertions to match GitPython implementation
Aug 12, 2025
61c4bb0
style: apply pre-commit fixes
Aug 12, 2025
b672b8f
style: apply additional pre-commit fixes
Aug 12, 2025
0d419d4
fix: prevent exception information exposure in MCP server
Aug 12, 2025
cee4735
fix: remove problematic docs and fix markdown formatting
Aug 12, 2025
3072551
fix: remove problematic files to fix CI
Aug 12, 2025
642f930
fix: resolve CodeQL security issues and pre-commit hook violations
Aug 12, 2025
289a642
fix: update mcp_server tests to match changed logging calls
Aug 12, 2025
577f6de
fix: disable pylint import-error for optional MCP dependency
Aug 12, 2025
83f0ecd
fix: correct token value in test to match expected value
Aug 12, 2025
f599bfa
fix: suppress remaining dynamic import violations
Aug 12, 2025
46e9749
fix: resolve all pre-commit hook violations
Aug 12, 2025
9869051
refactor to run with --mcp and add metrics
NicolasIRAGNE Aug 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: update test assertions to match GitPython implementation
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
  • Loading branch information
2 people authored and NicolasIRAGNE committed Aug 24, 2025
commit 2baa72b4fa7fbbaa9cd5c48b29622523feadbdb4
10 changes: 5 additions & 5 deletions tests/test_clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ async def test_clone_without_commit(repo_exists_true: AsyncMock, gitpython_mocks
mock_repo = gitpython_mocks["repo"]
mock_clone_from = gitpython_mocks["clone_from"]

# Should have resolved the commit via execute
mock_git_cmd.execute.assert_called()
# Should have resolved the commit via ls_remote
mock_git_cmd.ls_remote.assert_called()
# Should have cloned the repo
mock_clone_from.assert_called_once()
# Should have fetched and checked out
Expand Down Expand Up @@ -179,13 +179,13 @@ async def test_clone_with_specific_subpath(gitpython_mocks: dict) -> None:

await clone_repo(clone_config)

# Verify partial clone (using git.execute instead of Repo.clone_from)
# Verify partial clone (using git.clone instead of Repo.clone_from)
mock_git_cmd = gitpython_mocks["git_cmd"]
mock_git_cmd.execute.assert_called()
mock_git_cmd.clone.assert_called()

# Verify sparse checkout was configured
mock_repo = gitpython_mocks["repo"]
mock_repo.git.execute.assert_called()
mock_repo.git.sparse_checkout.assert_called()


@pytest.mark.asyncio
Expand Down