Skip to content
tongsv1.0.3
GitHub
docsprojectcontributing

Contributing

tongs is made by and developed in the open at github.com/andre-motta/tongs, and contributions of all sizes are welcome: bug reports, fixes, documentation, and new ideas. The full guide is CONTRIBUTING.md; this page is the short version.

  • Good first issues are small and self-contained, and most point to the file to open and the test to run.
  • The milestones show what is planned for the next releases.
  • For a larger change, open an issue first so the approach can be agreed before you spend time on it. Questions in issues are always welcome.

You need Python 3.12 or newer:

Terminal window
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev,mcp]" ruff
pytest
ruff check src/ tests/
ruff format --check src/ tests/

Tests mock all GitHub and GitLab traffic, so no account or token is needed.

Desktop app (beta) work also needs Node.js 22.12 or newer. See Desktop changes for the desktop build and tests.

Documentation lives in docs/ and builds with the Astro site in site/, which also needs Node.js 22.12 or newer. The build fails on a broken link or anchor:

Terminal window
npm ci --prefix site
npm run build --prefix site

See Documentation changes for how to run it under a memory limit.

Keep pull requests small and focused, fill in the short template, and sign off each commit with git commit -s (Developer Certificate of Origin). CI runs the checks that match the paths you changed, from the docs build to the full test suite on Python 3.12 and 3.13 plus the desktop tests, and reports them in one CI aggregate check. The CI guide lists which paths run which checks. A maintainer reviews the change.

Do not open a public issue for a vulnerability. Follow SECURITY.md, and see Security and signing for the trust boundaries that the report scope depends on.

The project follows the Contributor Covenant.