open-sauced / pizza-cli

A CLI for all things OpenSauced
MIT License
39 stars 11 forks source link

Feature: generate codeowners for a specific user #189

Closed takanome-dev closed 1 month ago

takanome-dev commented 1 month ago

Suggested solution

Since we can generate a CODEOWNERS file to show who has "most recently touched the files," it would be helpful to also generate one for a specific user (from those contributors) to see only the files they've worked on recently.

It would be great to also pass a time range and maybe mark those files to make them differentiable.

brandonroberts commented 1 month ago

Yes, you can populate your .sauced.yaml with a single user and generate the code owners file. Every file you've touched will be attributed to you, and the other files won't have a contributor unless you define a fallback contributor or group.