version: v2 # proto/ is a git submodule pointing at block/proto. We only need # plugin_registry.proto for the CLI in this module; the rest of orchestrator/v1 # is generated by the orchestrator from its own copy and would panic at startup # with "file ... is already registered" if both packages registered the same # descriptors. buf doesn't support per-file include/exclude in the module # config, so the narrowing happens via `buf generate --path` invoked from the # Makefile (see the `proto` target). modules: - path: proto lint: use: - STANDARD except: - PACKAGE_SAME_GO_PACKAGE - RPC_REQUEST_RESPONSE_UNIQUE breaking: use: - FILE