Skip to content

Parse options w/ option for overriding owner matchers#23

Closed
hmarr wants to merge 3 commits intomainfrom
parse-options
Closed

Parse options w/ option for overriding owner matchers#23
hmarr wants to merge 3 commits intomainfrom
parse-options

Conversation

@hmarr
Copy link
Copy Markdown
Owner

@hmarr hmarr commented Nov 26, 2023

@haveachin - this takes #19 and adds a commit that

  • renames Matcher to OwnerMatcher as "matcher" is already used widely in the codebase for matching codeowners patterns
  • changes the signature of ParseFile to accept parse options (e.g. WithOwnerMatchers) rather than the matchers themselves, as it's likely we'll want to add more parser options in the future (e.g. to support the GitLab sections syntax)

Thanks for your PR—have a look at these changes and LMK what you think. I'm also happy to push the commit to your branch if you turn on the "Allow edits from maintainers" flag.

@hmarr hmarr mentioned this pull request Nov 26, 2023
@haveachin
Copy link
Copy Markdown

haveachin commented Nov 28, 2023

Thank you very much! "Allow edits from maintainers" is checked in my PR.

@hmarr
Copy link
Copy Markdown
Owner Author

hmarr commented Nov 29, 2023

@haveachin thanks, I've pushed my commit to your fork so I'll close this PR our and we can continue the conversation in #19.

@hmarr hmarr closed this Nov 29, 2023
@hmarr hmarr deleted the parse-options branch November 29, 2023 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants