mirror of
https://gitea.com/gitea/gitea-mcp.git
synced 2026-08-02 15:01:40 +00:00
18fcd663e0
Fixes https://gitea.com/gitea/gitea-mcp/issues/214. The tool tables listed tools that had not existed for several releases. They are regenerated from the registry, gain an `Access` column so it is visible what disappears under `-r` / `GITEA_READONLY`, and get their fine-grained scopes back. `TestReadmeToolTables` now compares them against the registry in both directions, for every translation. Other corrections from verifying the prose against the source: the pagination parameter is `per_page`, not `perPage`; Go 1.26 is required, not 1.24; the Chinese READMEs were missing the OpenCode and Mistral Vibe sections. Also trimmed the drifted table of contents and the sections the intro and `gitea-mcp --help` already cover, and dropped the heading emoji. `CLAUDE.md` had its own stale tool list, so it now points at `AGENTS.md` like gitea/gitea does. --------- Co-authored-by: silverwind <me@silverwind.io> Reviewed-on: https://gitea.com/gitea/gitea-mcp/pulls/215 Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com>
1.0 KiB
1.0 KiB
- Use
make helpto find available development targets - Run
make fmtto format.gofiles, and runmake lint-goto lint them - Run
make tidyafter anygo.modchanges - Run single go tests with
go test -run '^TestName$' ./modulepath/ - Ensure no trailing whitespace in edited files
- Use Conventional Commits for commit messages and PR titles, e.g.
type(scope): subject;!before the colon if breaking. Usetesttype for test-only changes. - Never force-push, amend, or squash unless asked. Use new commits and normal push for pull request updates
- Preserve existing code comments, do not remove or rewrite comments that are still relevant
- Keep comments short, prefer same-line, explain why, never narrate code
- Register new tools with
Tool.RegisterReadorTool.RegisterWrite, and add them to the tool tables inREADME.md,README.zh-cn.mdandREADME.zh-tw.md - Include authorship attribution in issue and pull request comments
- Add
Co-Authored-Bylines to all commits, indicating name and model used