Skip to content

Add section attribute to Gitlab::CodeOwners::Entry

Extends Gitlab::CodeOwners::Entry to support an additional :section attribute in addition to the existing attributes of :pattern and :owner_line. We set the default value of :section to “CODEOWNERS” and otherwise ignore it for now. This change will be used to enable CODEOWNERS files to support organizing entries into sections, and eventually for sorting and display on the website.

#215189 (closed) #12137 (closed)

Merge request reports