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

Feature Request: the opposite of ignore: #382

Closed
dabrahams opened this issue May 17, 2024 · 1 comment
Closed

Feature Request: the opposite of ignore: #382

dabrahams opened this issue May 17, 2024 · 1 comment

Comments

@dabrahams
Copy link

dabrahams commented May 17, 2024

What product do you want to improve?
YAML

Is your feature request related to a problem? Please describe.

Sometimes it's easier to say which paths should be in-cluded rather than excluded from a report. There's an ignore: field in the YAML that lets me exclude certain path patterns, but that could require me to list many paths when I only want to include one subdirectory.

Describe the solution you'd like
I'd like an include: field to go along with ignore:

Describe alternatives you've considered
Listing all the necessary ignore patterns. Actually it occurs to me that I could do it with ignore if your regex engine supports negative lookahead, but your regex syntax isn't documented, for which I'll open another issue.

Actually I now see that there's a ! pattern, but it's not working for me. I'll open an issue for that too.

@thomasrockhu-codecov
Copy link
Contributor

@dabrahams I'm going to close this out as it seems you have solve dthe issue with the ! pattern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

2 participants