Parse CODEOWNERS into DB tables
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=389091) </details> <!--IssueSummary end--> <!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.--> ### Proposal Parse the CODEOWNERS file (or [files](https://gitlab.com/gitlab-org/gitlab/-/issues/335451) ) into database tables. This will more easily allow reporting, will possibly increase performance (as a type of caching) and will allow for the of APIs that integrate permissions with branch rules for external consumption. It would also help with validation, especially identification of "dead code" in the file: rules which can never be applied. Credit to @kerrizor for the original idea. <!-- Label reminders Use the following resources to find the appropriate labels: - https://gitlab.com/gitlab-org/gitlab/-/labels - https://about.gitlab.com/handbook/product/categories/features/ -->
issue