1.9 KiB
1.9 KiB
name, description
| name | description |
|---|---|
| pr-doc | Write or update the pull-request documentation file (PR-doc) under docs/prs/ for the current change. Use when preparing or opening a pull request, when the user asks for a PR-doc, or after finishing a feature that will become a PR — every PR needs one. |
Writing a PR-Doc
Every pull request needs one documentation file in docs/prs/.
The authoritative convention is docs/prs/README.md — read it before writing.
Copy the section skeleton from docs/prs/TEAMPLATE.md.
Filename
YYYY-MM-DD-PR#<number>-short-description-of-pr.md
- Date of the PR, then
-PR#and the Gitea PR number, then a dash-separated short description, then.md. - The PR number requires an open pull request; open it early with a
WIP:title prefix to reserve the number. - If the PR is not opened yet, use
PR#000as a placeholder in the filename and in scenario IDs, and remind the user to rename both once the number exists.
Structure
The main (##) sections must appear in exactly this order, omitting sections that do not apply:
- The Problem
- Non-Goals
- The Scenarios
- The Solution
- Open Questions
- Additional Changes
- Prerequisite PRs
- Follow-up PRs
A Related Links section may precede The Problem; an Attachments section may follow at the very end.
Do not reorder already-merged PR-docs.
Writing Rules
- Keep the snapshot disclaimer blockquote from the template at the top of every PR-doc.
- English, Markdown, one sentence per line, keep it short.
- Explain the "why", not just the "what".
- Scenarios use Markdown-native pseudo-Gherkin (no fenced Gherkin blocks) with IDs
Scenario#<pr-number>.<nn>. - Each scenario gets a
##### Verified bylist linking the tests that cover it (relative links fromdocs/prs/). - Mark references to Taiga or other non-public tools as "Hostsharing-internal".
- PR-docs document the change of that PR at that time; do not maintain historic PR-docs when later PRs change the behavior.