adr check: accept any letter case and the linked supersede form #509
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#496 Epic: adr tooling guides the author, not only fails
sixfold-space/madtea
Reference
sixfold-space/madtea#509
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
adr checkaccepts onlyproposed,accepted,rejected,deprecated, andsuperseded by ADR-NNNN, written exactly that way (internal/service/adr/adr.go:94,:1059-1071).Acceptedfails.superseded by [ADR-0012](0012-x.md)fails. A team that marks work in progress or a dropped proposal has no status for it.MADR 4.0.0 lists
proposed | rejected | accepted | deprecated | … | superseded by ADR-0123, and the "…" allows more. madtea keeps a fixed set on purpose, because each status must count as decided or not decided for the linked-issue check and for the decide and supersede actions (#495). This widens the set without dropping that rule.Ask
Accepted statuses after this change:
draft(new): still being written, not ready for reviewproposedaccepted,rejected,deprecatedwithdrawn(new): the author dropped it before a decisionsuperseded by ADR-NNNNAcceptedisaccepted.superseded by [ADR-0012](0012-x.md)issuperseded by ADR-0012. The link-back check reads the number from either form.madt_help topic="adr"and theadr checkhelp.Not added, on purpose:
amended(a changed decision gets a new record),on hold/postponed(proposedcovers it), and free-form or per-repo status lists.Acceptance
draft,withdrawn,Accepted, andsuperseded by [ADR-0012](0012-x.md)passadr check.draftis not decided andwithdrawnis decided in the linked-issue check.on holdfails, with the list of accepted values in the message.adr check: accept draft and withdrawn, any letter case, and the linked supersede formto adr check: accept any letter case and the linked supersede formDecided in ADR 0037 (
0037-adr-check-enforces-a-stricter-madr):adr checkaccepts only MADR's five statuses, in any letter case, and a supersede status may writeADR-NNNNplain or as a Markdown link. Every other value fails, and the message lists the accepted values.