generated from personal-projects/leo-claude-mktplace
Compare commits
3 Commits
v1.0.0
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| a48824e19f | |||
| 05fa16366e | |||
| 70164361c9 |
@@ -8,7 +8,7 @@ Public API for external consumers:
|
|||||||
from gitea_mcp import get_tool_definitions, create_tool_dispatcher, GiteaClient, GiteaConfig
|
from gitea_mcp import get_tool_definitions, create_tool_dispatcher, GiteaClient, GiteaConfig
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "1.0.0"
|
__version__ = "1.0.1"
|
||||||
|
|
||||||
from .tool_registry import get_tool_definitions, create_tool_dispatcher
|
from .tool_registry import get_tool_definitions, create_tool_dispatcher
|
||||||
from .gitea_client import GiteaClient
|
from .gitea_client import GiteaClient
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "gitea-mcp"
|
name = "gitea-mcp"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
description = "MCP server for Gitea — issues, PRs, wikis, milestones, merges"
|
description = "MCP server for Gitea — issues, PRs, wikis, milestones, merges"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ def test_load_system_config(tmp_path, monkeypatch):
|
|||||||
)
|
)
|
||||||
|
|
||||||
monkeypatch.setenv('HOME', str(tmp_path))
|
monkeypatch.setenv('HOME', str(tmp_path))
|
||||||
|
monkeypatch.setenv('PWD', str(tmp_path))
|
||||||
|
monkeypatch.delenv('GITEA_REPO', raising=False)
|
||||||
monkeypatch.chdir(tmp_path)
|
monkeypatch.chdir(tmp_path)
|
||||||
|
|
||||||
config = GiteaConfig()
|
config = GiteaConfig()
|
||||||
@@ -53,6 +55,8 @@ def test_project_config_override(tmp_path, monkeypatch):
|
|||||||
project_config.write_text("GITEA_REPO=test_repo\n")
|
project_config.write_text("GITEA_REPO=test_repo\n")
|
||||||
|
|
||||||
monkeypatch.setenv('HOME', str(tmp_path))
|
monkeypatch.setenv('HOME', str(tmp_path))
|
||||||
|
monkeypatch.setenv('PWD', str(project_dir))
|
||||||
|
monkeypatch.delenv('GITEA_REPO', raising=False)
|
||||||
monkeypatch.chdir(project_dir)
|
monkeypatch.chdir(project_dir)
|
||||||
|
|
||||||
config = GiteaConfig()
|
config = GiteaConfig()
|
||||||
@@ -114,6 +118,8 @@ def test_mode_detection_project(tmp_path, monkeypatch):
|
|||||||
)
|
)
|
||||||
|
|
||||||
monkeypatch.setenv('HOME', str(tmp_path))
|
monkeypatch.setenv('HOME', str(tmp_path))
|
||||||
|
monkeypatch.setenv('PWD', str(tmp_path))
|
||||||
|
monkeypatch.delenv('GITEA_REPO', raising=False)
|
||||||
monkeypatch.chdir(tmp_path)
|
monkeypatch.chdir(tmp_path)
|
||||||
|
|
||||||
config = GiteaConfig()
|
config = GiteaConfig()
|
||||||
@@ -141,6 +147,7 @@ def test_mode_detection_company(tmp_path, monkeypatch):
|
|||||||
)
|
)
|
||||||
|
|
||||||
monkeypatch.setenv('HOME', str(tmp_path))
|
monkeypatch.setenv('HOME', str(tmp_path))
|
||||||
|
monkeypatch.setenv('PWD', str(tmp_path))
|
||||||
monkeypatch.chdir(tmp_path)
|
monkeypatch.chdir(tmp_path)
|
||||||
|
|
||||||
config = GiteaConfig()
|
config = GiteaConfig()
|
||||||
|
|||||||
Reference in New Issue
Block a user