-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Add ability to ignore path to autodiscover #5254
feat: Add ability to ignore path to autodiscover #5254
Conversation
919e412
to
67638cc
Compare
Signed-off-by: Luke Massa <[email protected]>
cf296e1
to
e8c7bd1
Compare
Signed-off-by: Luke Massa <[email protected]>
Signed-off-by: Luke Massa <[email protected]>
@nitrocode I notice in #859 (comment) you mention adding defaults as well, so I'm actually not sure if this PR will fully address #859, but it's a step in that direction, and a feature that would be useful otherwise. For example in my setup, we have a repo that has some specified projects, and another directory that automation adds and removes directories from, so we want to ignore autoplanning in the former but not the latter. |
FYI @krrrr38 who had some thoughts about implementation here as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
Per conversation in slack, I'm going to try to implement this with globs instead of regexes so we can compare the two options |
Closing in favor of the (now merged) alternative #5267 |
what
Add ability to ignore paths in auto-discovery.
I followed the existing convention of surrounding regexes with
/
. It's a bit awkward for paths, so I'm open to removing it.why
It's useful to allow certain directories to be auto discovered, but leave other areas of a repo for explicit configuration.
tests
Added some unit tests
references
Partially addresses #859