Introduce parser for code owners files
Feature issue: #6560 (closed)
Description
We need to introduce a parser implementation for code owners files available in Handbook project. The code owners functionality in Gitlab main repository has some hard dependencies and cannot be used without significant changes. For the first iteration we can partially reimplement the parser's logic for Handbook. Later we can research options how to extract and reuse the same code for Handbook and GitLab application.
Expected result
New parser class that can process and represent the code owners file format in a convenient way.
Links
- Code owners documentation: https://docs.gitlab.com/ee/user/project/code_owners.html
- Original GitLab implementation: gitlab-org/gitlab!6916 (diffs)