gitlab-api 27.3.9__tar.gz → 27.3.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gitlab_api-27.3.9/gitlab_api.egg-info → gitlab_api-27.3.10}/PKG-INFO +3 -3
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/README.md +1 -1
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/mcp_server.py +1 -1
- {gitlab_api-27.3.9 → gitlab_api-27.3.10/gitlab_api.egg-info}/PKG-INFO +3 -3
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api.egg-info/requires.txt +1 -1
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/pyproject.toml +2 -2
- gitlab_api-27.3.10/requirements.txt +1 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_kg_ingest.py +9 -9
- gitlab_api-27.3.9/requirements.txt +0 -1
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/LICENSE +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/MANIFEST.in +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/__init__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/__main__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/__init__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_base.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_environments.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_issues.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_merge_requests.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_other.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_pipelines.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_projects.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_repositories.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_system.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_users_groups.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api/api_client_vulnerabilities.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/api_client.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/auth.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/connector_prep.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/connector_sources.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/connectors/__init__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/gitlab_gql.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/gitlab_input_models.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/gitlab_response_models.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/instances.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/kg_ingest.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/mcp_config.json +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/ontology/__init__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/ontology/certification.json +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/ontology/fixtures/records.json +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/ontology/gitlab.ttl +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/ontology/mappings/source.yaml +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/ontology/migrations/manifest.json +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/ontology/shapes/connector.shacl.ttl +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/prompts/__init__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/prompts/devops_specialist.json +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/__init__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-api-operations/SKILL.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-api-operations/agents/openai.yaml +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-api-operations/references/catalog.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-issues/SKILL.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-issues/WORKFLOW.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-create/SKILL.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-create/WORKFLOW.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-review/SKILL.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-review/WORKFLOW.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-pipelines/SKILL.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-pipelines/WORKFLOW.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-vulnerabilities/SKILL.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-vulnerabilities/WORKFLOW.md +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api.egg-info/SOURCES.txt +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api.egg-info/dependency_links.txt +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api.egg-info/entry_points.txt +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api.egg-info/top_level.txt +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/scripts/check_import_safety.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/scripts/security_contract.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/scripts/security_sanitizer.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/scripts/verify_api_integration.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/setup.cfg +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/__init__.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/conftest.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_api_wrapper.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_auth.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_connector_prep.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_cq_paths.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_default_content_surfaces.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_fleet_name.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_gitlab_a2a_validation.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_gitlab_api_brute_force_coverage.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_gitlab_gql.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_gitlab_mcp_validation.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_gitlab_models.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_identity_context_scoping.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_ingest_sources.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_init_dynamics.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_instances.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_mock_coverage.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_ontology_parent_link.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_security_sanitizer.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_startup.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_tool_modes.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/test_verify_agent.py +0 -0
- {gitlab_api-27.3.9 → gitlab_api-27.3.10}/tests/verify_a2a_queries.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitlab-api
|
|
3
|
-
Version: 27.3.
|
|
3
|
+
Version: 27.3.10
|
|
4
4
|
Summary: GitLab API + MCP Server
|
|
5
5
|
Author-email: Project Maintainers <maintainers@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-connector-sdk[graphql,mcp]<1.0.0,>=0.4.
|
|
15
|
+
Requires-Dist: agent-connector-sdk[graphql,mcp]<1.0.0,>=0.4.1
|
|
16
16
|
Requires-Dist: python-dotenv>=1.2.4
|
|
17
17
|
Provides-Extra: mcp
|
|
18
18
|
Provides-Extra: all
|
|
@@ -45,7 +45,7 @@ Dynamic: license-file
|
|
|
45
45
|

|
|
46
46
|

|
|
47
47
|
|
|
48
|
-
*Version: 27.3.
|
|
48
|
+
*Version: 27.3.10*
|
|
49
49
|
|
|
50
50
|
> **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
|
|
51
51
|
> backing GitLab instance are maintained in the
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|

|
|
21
21
|

|
|
22
22
|
|
|
23
|
-
*Version: 27.3.
|
|
23
|
+
*Version: 27.3.10*
|
|
24
24
|
|
|
25
25
|
> **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
|
|
26
26
|
> backing GitLab instance are maintained in the
|
|
@@ -35,7 +35,7 @@ from agent_connector_sdk.mcp.tool_surface import register_tool_surface
|
|
|
35
35
|
from gitlab_api.api_client import Api
|
|
36
36
|
from gitlab_api.auth import get_client
|
|
37
37
|
|
|
38
|
-
__version__ = "27.3.
|
|
38
|
+
__version__ = "27.3.10"
|
|
39
39
|
print(f"Gitlab MCP v{__version__}", file=sys.stderr)
|
|
40
40
|
|
|
41
41
|
logger = get_logger(name="mcp_server")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitlab-api
|
|
3
|
-
Version: 27.3.
|
|
3
|
+
Version: 27.3.10
|
|
4
4
|
Summary: GitLab API + MCP Server
|
|
5
5
|
Author-email: Project Maintainers <maintainers@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-connector-sdk[graphql,mcp]<1.0.0,>=0.4.
|
|
15
|
+
Requires-Dist: agent-connector-sdk[graphql,mcp]<1.0.0,>=0.4.1
|
|
16
16
|
Requires-Dist: python-dotenv>=1.2.4
|
|
17
17
|
Provides-Extra: mcp
|
|
18
18
|
Provides-Extra: all
|
|
@@ -45,7 +45,7 @@ Dynamic: license-file
|
|
|
45
45
|

|
|
46
46
|

|
|
47
47
|
|
|
48
|
-
*Version: 27.3.
|
|
48
|
+
*Version: 27.3.10*
|
|
49
49
|
|
|
50
50
|
> **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
|
|
51
51
|
> backing GitLab instance are maintained in the
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "gitlab-api"
|
|
7
|
-
version = "27.3.
|
|
7
|
+
version = "27.3.10"
|
|
8
8
|
description = "GitLab API + MCP Server"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
classifiers = [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
|
|
11
11
|
requires-python = ">=3.12"
|
|
12
|
-
dependencies = [ "agent-connector-sdk[mcp,graphql]>=0.4.
|
|
12
|
+
dependencies = [ "agent-connector-sdk[mcp,graphql]>=0.4.1,<1.0.0", "python-dotenv>=1.2.4",]
|
|
13
13
|
[[project.authors]]
|
|
14
14
|
name = "Project Maintainers"
|
|
15
15
|
email = "maintainers@users.noreply.github.com"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
agent-connector-sdk[mcp]>=0.4.1,<1.0.0
|
|
@@ -63,9 +63,9 @@ async def test_ingest_entities_writes_nodes_and_edges(ingest):
|
|
|
63
63
|
assert record_ids == {"a", "b"}
|
|
64
64
|
a_record = next(r for r in request.records if r.record_id == "a")
|
|
65
65
|
assert a_record.payload["name"] == "p"
|
|
66
|
-
assert a_record.mapping_reference.endswith("
|
|
66
|
+
assert a_record.mapping_reference.endswith("mappings/Project")
|
|
67
67
|
assert request.relationships[0].relation_reference.endswith(
|
|
68
|
-
"
|
|
68
|
+
"relations/Project/partOfGroup"
|
|
69
69
|
)
|
|
70
70
|
|
|
71
71
|
|
|
@@ -87,13 +87,13 @@ async def test_ingest_projects_maps_project_and_group(ingest):
|
|
|
87
87
|
assert res == {"nodes": 2, "edges": 1}
|
|
88
88
|
request = transport.requests[0]
|
|
89
89
|
project = next(r for r in request.records if r.record_id == "gitlab:project:42")
|
|
90
|
-
assert project.mapping_reference.endswith("
|
|
90
|
+
assert project.mapping_reference.endswith("mappings/Project")
|
|
91
91
|
assert project.payload["path_with_namespace"] == "grp/demo"
|
|
92
92
|
assert project.payload["externalToolId"] == "42"
|
|
93
93
|
group = next(r for r in request.records if r.record_id == "gitlab:group:7")
|
|
94
|
-
assert group.mapping_reference.endswith("
|
|
94
|
+
assert group.mapping_reference.endswith("mappings/GitLabGroup")
|
|
95
95
|
assert request.relationships[0].relation_reference.endswith(
|
|
96
|
-
"
|
|
96
|
+
"relations/Project/partOfGroup"
|
|
97
97
|
)
|
|
98
98
|
|
|
99
99
|
|
|
@@ -152,7 +152,7 @@ async def test_ingest_pipeline_runs_maps_pipeline_job_commit_and_runner(ingest):
|
|
|
152
152
|
r for r in request.records if r.record_id == "gitlab:pipelinerun:42:101"
|
|
153
153
|
)
|
|
154
154
|
# Same class name github-agent uses, so both CI systems unify.
|
|
155
|
-
assert pipe_record.mapping_reference.endswith("
|
|
155
|
+
assert pipe_record.mapping_reference.endswith("mappings/PipelineRun")
|
|
156
156
|
assert pipe_record.payload["status"] == "failed"
|
|
157
157
|
assert pipe_record.payload["sha"] == "abc123"
|
|
158
158
|
assert pipe_record.payload["triggerSource"] == "push"
|
|
@@ -161,7 +161,7 @@ async def test_ingest_pipeline_runs_maps_pipeline_job_commit_and_runner(ingest):
|
|
|
161
161
|
job_record = next(
|
|
162
162
|
r for r in request.records if r.record_id == "gitlab:checkrun:42:101:501"
|
|
163
163
|
)
|
|
164
|
-
assert job_record.mapping_reference.endswith("
|
|
164
|
+
assert job_record.mapping_reference.endswith("mappings/CheckRun")
|
|
165
165
|
assert job_record.payload["failureReason"] == "script_failure"
|
|
166
166
|
assert job_record.payload["logUrl"] == "https://gl/grp/demo/-/jobs/501/raw"
|
|
167
167
|
assert job_record.payload["externalToolId"] == "501"
|
|
@@ -169,10 +169,10 @@ async def test_ingest_pipeline_runs_maps_pipeline_job_commit_and_runner(ingest):
|
|
|
169
169
|
commit_record = next(
|
|
170
170
|
r for r in request.records if r.record_id == "gitlab:commit:42:abc123"
|
|
171
171
|
)
|
|
172
|
-
assert commit_record.mapping_reference.endswith("
|
|
172
|
+
assert commit_record.mapping_reference.endswith("mappings/Commit")
|
|
173
173
|
|
|
174
174
|
runner_record = next(r for r in request.records if r.record_id == "gitlab:runner:9")
|
|
175
|
-
assert runner_record.mapping_reference.endswith("
|
|
175
|
+
assert runner_record.mapping_reference.endswith("mappings/Runner")
|
|
176
176
|
assert runner_record.payload["name"] == "shared-runner"
|
|
177
177
|
|
|
178
178
|
# ranFor / hasJob edge names match github-agent's twin producer.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
agent-connector-sdk[mcp]>=0.4.0,<1.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-api-operations/agents/openai.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-create/SKILL.md
RENAMED
|
File without changes
|
{gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-create/WORKFLOW.md
RENAMED
|
File without changes
|
{gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-review/SKILL.md
RENAMED
|
File without changes
|
{gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-merge-request-review/WORKFLOW.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitlab_api-27.3.9 → gitlab_api-27.3.10}/gitlab_api/skills/gitlab-vulnerabilities/WORKFLOW.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|