feat(gitea): add issue forms and a pull request template #191

Closed
opened 2026-11-15 20:31:03 +00:00 by Claude · 5 comments
Owner

Spec: Contributor doc set, resolution comment, section 6.

What to build

Gitea template docs: https://docs.gitea.com/usage/issue-pull-request-templates

  • .gitea/ISSUE_TEMPLATE/config.yml: blank_issues_enabled: false, one contact link to SECURITY.md for vulnerabilities.
  • .gitea/ISSUE_TEMPLATE/bug.yml (YAML form; guidance only in markdown fields so it is not saved into the issue):
    • role: input, required (not a dropdown, so the role list lives only in the README).
    • release tag: input with a regex for vX.Y.Z.
    • ansible-core version: input with a regex.
    • Platform: dropdown with Ubuntu 24.04, Ubuntu 26.04, Debian 13, other.
    • minimal playbook: textarea with render: yaml.
    • expected and actual behaviour: textarea, required.
  • .gitea/ISSUE_TEMPLATE/feature.yml: problem (required), proposal, acceptance criteria (required; agents work from the issue as their spec).
  • .gitea/PULL_REQUEST_TEMPLATE.md, short, with headings:
    • What and why: link the issue.
    • Verified: the commands run and links to the CI runs.
    • Not verified: what was not tested, said plainly.
    • One checkbox, phrased as the human's own statement: "I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none."
    • No approver checkbox: no fork or AGit pull request is ever approved or merged, so there is no approver to record anything.
    • No checkbox for fragments, Conventional Commits or Assisted-by: (controls or commit review hold those).
  • Cover the new files in REUSE.toml if its globs do not already.

Acceptance

Before merge:

  • yamllint passes on the forms and each form parses (checked locally).
  • The PR uses its own template and says what was verified and what was not.

After merge, by the maintainer (Gitea is expected to read templates only from the default branch, and the check needs the web UI):

  • The new-issue page offers the two forms and no blank issue; the new-PR page pre-fills the template (check on a test issue and PR, then close them). Note the result on this issue.

Not verified in research: whether Gitea keeps HTML comments in saved bodies (avoid them) and whether it reads templates only from the default branch (expect the forms to show only after merge).

Spec: [Contributor doc set](https://git.rkdr.net/Mortis/Kamino/issues/103), resolution comment, section 6. ## What to build Gitea template docs: https://docs.gitea.com/usage/issue-pull-request-templates - `.gitea/ISSUE_TEMPLATE/config.yml`: `blank_issues_enabled: false`, one contact link to `SECURITY.md` for vulnerabilities. - `.gitea/ISSUE_TEMPLATE/bug.yml` (YAML form; guidance only in `markdown` fields so it is not saved into the issue): - role: `input`, required (not a dropdown, so the role list lives only in the README). - release tag: `input` with a `regex` for `vX.Y.Z`. - ansible-core version: `input` with a `regex`. - Platform: `dropdown` with Ubuntu 24.04, Ubuntu 26.04, Debian 13, other. - minimal playbook: `textarea` with `render: yaml`. - expected and actual behaviour: `textarea`, required. - `.gitea/ISSUE_TEMPLATE/feature.yml`: problem (required), proposal, acceptance criteria (required; agents work from the issue as their spec). - `.gitea/PULL_REQUEST_TEMPLATE.md`, short, with headings: - *What and why*: link the issue. - *Verified*: the commands run and links to the CI runs. - *Not verified*: what was not tested, said plainly. - One checkbox, phrased as the human's own statement: "I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none." - No approver checkbox: no fork or AGit pull request is ever approved or merged, so there is no approver to record anything. - No checkbox for fragments, Conventional Commits or `Assisted-by:` (controls or commit review hold those). - Cover the new files in `REUSE.toml` if its globs do not already. ## Acceptance Before merge: - [ ] yamllint passes on the forms and each form parses (checked locally). - [ ] The PR uses its own template and says what was verified and what was not. After merge, by the maintainer (Gitea is expected to read templates only from the default branch, and the check needs the web UI): - [ ] The new-issue page offers the two forms and no blank issue; the new-PR page pre-fills the template (check on a test issue and PR, then close them). Note the result on this issue. Not verified in research: whether Gitea keeps HTML comments in saved bodies (avoid them) and whether it reads templates only from the default branch (expect the forms to show only after merge).
Claude added the
Status
Ready for Agent
label 2026-11-15 20:31:03 +00:00
Claude added this to the Open to contributors milestone 2026-11-15 22:21:20 +00:00
Author
Owner

Review of the map (2026-11-15): corrections to this issue.

  • The first acceptance item cannot be checked before the merge. It needs the new-issue and new-PR pages to show the forms and template, and the issue's own note expects Gitea to read templates only from the default branch ("expect the forms to show only after merge"). It also needs the web UI, which an unattended agent working this Ready for Agent issue may not use. Change: split it. Before merge: yamllint passes and each form parses (checked locally). After merge, by the maintainer: open the new-issue and new-PR pages on a test issue and PR, then close them, and note the result on this issue.

Waiting on another decision: the approver checkbox ("As approver of a friend's pull request, I confirm ...") sits in a template the friend fills in; where an approval is recorded waits on The friend boundary once the approval facts are known.

Review of the map (2026-11-15): corrections to this issue. - **The first acceptance item cannot be checked before the merge.** It needs the new-issue and new-PR pages to show the forms and template, and the issue's own note expects Gitea to read templates only from the default branch ("expect the forms to show only after merge"). It also needs the web UI, which an unattended agent working this `Ready for Agent` issue may not use. Change: split it. Before merge: yamllint passes and each form parses (checked locally). After merge, by the maintainer: open the new-issue and new-PR pages on a test issue and PR, then close them, and note the result on this issue. Waiting on another decision: the approver checkbox ("As approver of a friend's pull request, I confirm ...") sits in a template the friend fills in; where an approval is recorded waits on [The friend boundary once the approval facts are known](https://git.rkdr.net/Mortis/Kamino/issues/205).
Author
Owner

Scope from The friend boundary once the approval facts are known, point 4: the pull request template has no approver checkbox. The friend fills in the template, so the box would record nothing about the approver; the approval rule lives in docs/contributing/reviewing.md (#189).

Scope from [The friend boundary once the approval facts are known](https://git.rkdr.net/Mortis/Kamino/issues/205), point 4: the pull request template has no approver checkbox. The friend fills in the template, so the box would record nothing about the approver; the approval rule lives in `docs/contributing/reviewing.md` (#189).
Author
Owner

Review of the map (2026-11-17).

The bug form's "Ubuntu release" dropdown (24.04, 26.04, other) should be "Platform": Ubuntu 24.04, Ubuntu 26.04, Debian 13, other. Debian trixie is a declared platform since What a role's platform declaration means, and supported entry points.

Review of the map (2026-11-17). The bug form's "Ubuntu release" dropdown (24.04, 26.04, other) should be "Platform": Ubuntu 24.04, Ubuntu 26.04, Debian 13, other. Debian trixie is a declared platform since [What a role's platform declaration means, and supported entry points](https://git.rkdr.net/Mortis/Kamino/issues/207).
Author
Owner

Scope change from Where the maintainer's own procedures live, and what "held by review" means for them (2026-11-20)

  • The friend position is removed, and fork or AGit pull requests are closed without approving their runs, so there is no approver to record anything. The approver checkbox stays out (already dropped by the comment of 2026-11-16); its reason is now that no fork pull request is ever approved or merged.
  • No other friend- or approver-specific content was found in this issue. The pull request template is otherwise unchanged; the third-party-material checkbox stays.
## Scope change from [Where the maintainer's own procedures live, and what "held by review" means for them](https://git.rkdr.net/Mortis/Kamino/issues/250) (2026-11-20) - The friend position is removed, and fork or AGit pull requests are closed without approving their runs, so there is no approver to record anything. The approver checkbox stays out (already dropped by the comment of 2026-11-16); its reason is now that no fork pull request is ever approved or merged. - No other friend- or approver-specific content was found in this issue. The pull request template is otherwise unchanged; the third-party-material checkbox stays.
Author
Owner

Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, #87 (comment)). The body is the spec; the earlier comments are history.

  • Platform dropdown (Ubuntu 24.04, Ubuntu 26.04, Debian 13, other) replaces the "Ubuntu release" dropdown.
  • The pull request template is What and why / Verified / Not verified plus the one third-party checkbox; no approver checkbox, no friend or fork-approval wording.
  • Acceptance split into before-merge and after-merge (by the maintainer), as the comment of 2026-11-15 asked.
Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, https://git.rkdr.net/Mortis/Kamino/issues/87#issuecomment-12281). The body is the spec; the earlier comments are history. - Platform dropdown (Ubuntu 24.04, Ubuntu 26.04, Debian 13, other) replaces the "Ubuntu release" dropdown. - The pull request template is What and why / Verified / Not verified plus the one third-party checkbox; no approver checkbox, no friend or fork-approval wording. - Acceptance split into before-merge and after-merge (by the maintainer), as the comment of 2026-11-15 asked.
Defame1297 was assigned by Claude 2026-11-22 07:27:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#191