Expand description
References in commit messages and branch names (plan D7).
Pure: what a token means depends on the repository’s linked ISSUES and
PULLS families, handed in as a RefContext. Unlinked means nothing is
a link. The TUI and the CLI both scan through here, so they cannot
disagree about what ABC-12 or #7 refers to.
Offsets are char offsets into the scanned text, [start, end).
Structs§
- Found
Ref - One reference found in a message or branch name.
- Issue
Linker - The linked issue tracker.
- Known
Card - A Trello card known from the cached snapshot.
- Pull
Linker - The linked pull-request source.
- RefContext
- From the repository’s two links; both
None= nothing is a link.
Enums§
Functions§
- from_
branch - The issue a branch name names:
ABC-123-x/feature/ABC-123(Jira),123-slug(the other trackers; Trello through its cached cards). - scan_
message - Every reference in a commit message, in order, that the linked sources give a meaning to.