Open dontcallmedom opened 6 years ago
Some design considerations:
I thought for a moment of reusing the new meta file .github/CODEOWNERS
with a special bogus username w3c-repo-manager
for this purpose, like so:
* @w3c-repo-manager # By default, everything's normative
# and is “watched”
f2f/ @Alice # Non-normative files
how-to.md @Bob
spec/ @Alice @w3c-repo-manager # Keep it normative,
# and also assign PRs to specific users
But it is cumbersome, and Ash-Nazg would have to parse this file and apply some logic to paths and regexes…
A good way to start might be to whitelist files that are more or less guaranteed to not be IPR-relevant (e.g. package.json
, package-lock.json
). This would among other things let us more easily ignore bots who manage automatic updates to the software parts of repos, e.g. https://github.com/w3c/webappsec-trusted-types/pull/273
In general, only a subset of the files in a repo can contain normative content.
The repo manager should be configurable to ignore files that never contain normative content (possibly with a default list including README, CONTRIBUTING, etc...) to reduce false negatives.