Contributing¶
Thanks for your interest in improving db2md.
Development setup¶
Requirements: Python ≥ 3.14 and uv.
Checks¶
Run the same checks as CI before opening a pull request:
Documentation¶
Then open http://127.0.0.1:8000.
Guidelines¶
- Keep the public API small (
list_databases,generate_schema_markdown,export_schemas, models). - Prefer dialect-aware behaviour in
inspector.py/urls.pyover special cases in the CLI. - Add or update tests for behaviour changes.
- Use conventional commits (
feat,fix,docs,test,chore, …).
Pull requests¶
- Fork and create a focused branch.
- Make sure the checks above pass.
- Describe the change and how you tested it.
Releasing (PyPI)¶
Publishing runs on GitHub Release via Trusted Publishing (publish.yml).
- Configure a trusted publisher on PyPI for
db2md→ owneredwinalkins, workflowpublish.yml, environmentpypi. - Create a GitHub Environment named
pypi. - Bump the version, update the changelog, publish a GitHub Release (e.g. tag
v0.1.0).
Security¶
See SECURITY.md for private vulnerability reporting.