Rasmus Dencker
05/27/2022, 11:23 AMCharith (Cerbos)
Rasmus Dencker
05/27/2022, 11:39 AMcompilepkg: missing strict dependencies:
[redacted path]/external/com_github_cerbos_cerbos/internal/namer/namer.go: import of "<http://github.com/cerbos/cerbos/api/genpb/cerbos/policy/v1|github.com/cerbos/cerbos/api/genpb/cerbos/policy/v1>"
No dependencies were provided.
Charith (Cerbos)
Rasmus Dencker
05/27/2022, 11:43 AMCharith (Cerbos)
gazelle-update-repos
to import external deps from go.mod
?Rasmus Dencker
05/27/2022, 11:51 AMCharith (Cerbos)
Rasmus Dencker
05/27/2022, 11:55 AM-build_file_proto_mode=disable_global
to my gazelle update repos command. I'm not sure what the exact meaning is, but it solved it; here's a link to a github issue that describes another problem with the same solution:
https://github.com/bazelbuild/rules_go/issues/2805#issuecomment-775614836