-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
We need a high-level API which maps a set of file paths to a set of email addresses of maintainers who could plausibly review changes to those paths. The same idea as CODEOWNERS and MAINTAINERS, except:
- it should not be tied to any particular system like github or phabricator
- it should not assume that one has an account on any particular system, i.e., identifiers are email addresses
Such a database should then be used to generate things like github CODEOWNERS or phabricator herald rules. This will be useful when we eventually switch to forgejo.
The task is to design a database format which enables mapping a git diff to a set of candidate reviewers. The database should:
- live in the FreeBSD src repo,
- be machine-parseable,
- support globbing and be somewhat normalized, e.g., if reviewers foo@, bar@, baz@ want to review all changes to "bhyve", they can add their names in one place and thus cover all of usr.sbin/bhyve/, lib/libvmmapi/, sys/dev/vmm/, sys/amd64/vmm/, ...
- come with a script which 1) takes as input a set of paths and emits matching reviewers, and 2) takes a reviewer name and emits the set of paths that they are nominally responsible for,
- ...?
Metadata
Metadata
Assignees
Labels
No labels