You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Mac
Any other potentially useful information about your toolchain?
What did you do?
I'm attempting to use the exclude_files directive to skip the analysis of a couple of external packages. What I'm finding is that I can only exclude one but not two paths. I want to exclude both com_github_ugorji_go_codec and in_gopkg_yaml_v2.
I'm attempting to skip nilness for both of these packages. I ran across the issue with the codec first so,
The root cause of this is golang/go#31008. The nilness check doesn't include position information with its errors, so nogo doesn't know the filename and can't apply exclude_files.
I don't think there's anything to be done in rules_go. If that issue is fixed, this will start working.
jayconrod
changed the title
nogo exclude files regex doesn't match multiple repositories
nogo: nilness: exclude files regex doesn't match multiple repositories
Oct 23, 2020
What version of rules_go are you using?
v0.24.4
What version of gazelle are you using?
v0.22.2
What version of Bazel are you using?
3.7.0
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Mac
Any other potentially useful information about your toolchain?
What did you do?
I'm attempting to use the
exclude_files
directive to skip the analysis of a couple of external packages. What I'm finding is that I can only exclude one but not two paths. I want to exclude bothcom_github_ugorji_go_codec
andin_gopkg_yaml_v2
.I'm attempting to skip nilness for both of these packages. I ran across the issue with the codec first so,
This allows me to skip the nilness check for codec, but now I get a nilness error for my yaml package.
What did you expect to see?
Here I was expecting to see a successful build.
What did you see instead?
Instead I saw the
com_github_ugorji_go_codec
error come back.The text was updated successfully, but these errors were encountered: