docs: a reporter's fix branch, patch or fixtures are credited in the commit

321sssrt-bit's analysis, fixtures and fix branch went into #3418, #1981
and #2033 with no co-author line. Now: a reporter's fork branch is merged
with their commits as authored, anything else we use from them gets
Co-authored-by, and a plain report is named in the body.

Docs only; nothing reads this file's text.
This commit is contained in:
yetone
2026-10-28 16:13:31 +08:00
parent 7fd77a9445
commit dfbd37eafc
+17 -1
View File
@@ -1,4 +1,4 @@
# Community PRs: what is closed unreviewed, and who is blocked
# Community PRs: what is closed unreviewed, who is credited, and who is blocked
magpie merges community PRs through agents. Two things keep that from
wearing the project down: a PR that could harm users is caught before any
@@ -35,6 +35,22 @@ Close with a short reason, without running it, a PR that:
the reason it was closed;
- is one of several near-identical PRs opened seconds apart.
## Credit what a reporter gave
PRs are open to collaborators only, so a reporter's fix often arrives in
an issue. Whoever uses it credits it in the commit:
- A fix branch on the reporter's fork is merged with their commits as they
are, authored by them. The look-for-harm check above applies to it
first. What has to change goes in a commit of our own on top, and the
issue says what changed and why.
- A fix that uses the reporter's patch, test fixture, request body, error
text or root cause carries `Co-authored-by: <login> <email>` for them.
Use their noreply address, `<id>+<login>@users.noreply.github.com`
(`gh api users/<login> --jq .id`), when no other address is known.
- A report that only says something is broken is named in the body
(`#<n>, <login>`), with no trailer.
## Blocking an author
An author is proposed for the block list when any one of these holds: