Skip to content

Validate functionality #18

@timoschinkel

Description

@timoschinkel

Maybe it is possible to add a validate command that will run a number of sanity checks against a CODEOWNERS file. At least one situation that I came across earlier this week is duplicate ownerships using the same rule:

/build/logs/ @doctocat

# ...

/build/logs/ docs@example.com

A more extensive check would be to iterate over all files and see if multiple rules apply. This might be a very CPU and IO intensive operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions