Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse options w/ option for overriding owner matchers #23

Closed
wants to merge 3 commits into from

Conversation

hmarr
Copy link
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

haveachin commented Nov 28, 2023

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

@hmarr
Copy link
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