-
Notifications
You must be signed in to change notification settings - Fork 302
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
Changes to BlazeTargetFilter regex to match more target names #6021
Conversation
I think this issue created a problem where a top level exclusion "-someFolder" is now excluding that folder name from the entire project, no matter if it's nested in an explicitly included target. So now "includedTarget/someFolder" is excluded as well. It's problematic when explicitly excluding top level projects from .bazelproject whose name can show up in other targets as a package folder, as it breaks their builds. |
Hi @mmendonca2, as far as I can tell the |
I guess it is caused by #6094, @tpasternak haven't you mentioned something about this scenario to me several weeks ago? @mmendonca2 could you please try specifying |
@ujohnny @tpasternak I can confirm, the exclusion of subdirectories @mmendonca2 mentioned seems to be caused by #6094. Also, setting |
So what's the exact directory name that has been excluded? I added the new projectview setting exactly for cases like this one |
ok, we'll going to fix it soon |
Checklist
Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number: #4431
Description of this change
Changed the regex used by BlazeTargetFilter to include more valid target names. I used this documentation page to lookup the valid characters.