Skip to main content
Glama
test_changelog_links.py642 B
import re from pathlib import Path CHANGELOG = Path(__file__).resolve().parents[1] / "CHANGELOG.md" REPO_URL = "https://github.com/joshuadanpeterson/enhanced-dash-mcp" # Use double braces so f-string doesn't interpret regex quantifiers LINK_RE = re.compile( rf"^## \[(\d+\.\d+\.\d+)\]\({REPO_URL}/releases/tag/v\1\) - \d{{4}}-\d{{2}}-\d{{2}}$" ) def test_changelog_version_links(): lines = [line.strip() for line in CHANGELOG.read_text().splitlines() if line.startswith('## [')] assert lines, "No version headers found" for line in lines: assert LINK_RE.match(line), f"Version header not linked correctly: {line}"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joshuadanpeterson/enhanced-dash-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server