codeowners-checker
codeowners-checker copied to clipboard
Check .github/CODEOWNERS consistency
Some PR's with a lot of files are triggered by Github to be reviewed by multiple teams, add an option to show a list of files give a PR and...
When running the checker with `--no-interactive` option, it lists new files which were introduced and patterns which are contained in the CODEOWNERS file but missing in the repository. However, when...
Add options for executing only one action of the checker instead of always running all of them. Use `--only` or `--except` options for checking only for added or deleted files.
``` # Everything * @owner # Group1 ## Group2 ### Group3 directory/alien_file.rb @Michal ``` => ``` # Everything * @owner ```
Right now when adding a pattern users can specify into which group the pattern should be added, add an option to create new group (and ask where to put it)....
https://github.com/toptal/codeowners-checker/blob/2115f48f18ad5b9d05e63d723cab42b4199f029a/lib/codeowners/checker.rb#L118 Github and Gitlab have different ideas on where to look for the `CODEOWNERS` file: - https://help.github.com/en/articles/about-code-owners#codeowners-file-location - https://docs.gitlab.com/ee/user/project/code_owners.html Find out which order we should use and fix it, if...
Replace all user interaction with tty-reader gem. Make sure we also consider [this](https://github.com/toptal/codeowners-checker/pull/22#discussion_r257439860).
Depends on #21 - configuring which checks to enable Consider using plugin architecture for finding the checks so the checker can be configured with external gems / libs that can...
Checks should be executed in this order: - [ ] Check comments for patterns - [ ] matching existing files - [ ] avoid duplicates with existing patterns - [...
We have `to_tree` implemented already, it would be nice to have a viewer with the groups nesting shown. Try to find out if there are better charracters to represent the...