5 ms·
We struggle with this question where I work and there is some toxicity. I've been wondering if you could add a comment to the top of files to indicate ownershi
by elpakal 8y ago
We struggle with this question where I work and there is some toxicity.
I've been wondering if you could add a comment to the top of files to indicate ownership (//owners:someTeam, someGuy). Then your CI could parse the modified files and require a review from a team and/or send a notification to said user.
- gwbas1c 8y agoGithub has the code owners feature. A pull request can't be merged until all the owners approve.
- elpakal 8y agoand what if you don't use GitHub?
- WorldMaker 8y agoOne option is that the feature is built on a plain text .gitignore-like (.gitattribute-like more accurately) CODEOWNERS file(s) in a repository that you could implement support for in whatever tools that you do use. https://github.blog/2017-07-06-introducing-code-owners/ https://github.blog/2017-07-06-introducing-code-owners/