holos-run / holos

Holos - The Holistic platform manager
https://holos.run
Apache License 2.0
1 stars 0 forks source link

Proto Lint #162

Closed jeffmccune closed 4 months ago

jeffmccune commented 4 months ago

Some time soon clean up the protos.

❯ buf lint
service/holos/v1alpha1/organization.proto:3:1:Multiple packages "holos.platform.v1alpha1,holos.v1alpha1" detected within directory "holos/v1alpha1".
service/holos/v1alpha1/organization.proto:33:3:"holos.v1alpha1.GetCallerOrganizationsResponse" is used as the request or response type for multiple RPCs.
service/holos/v1alpha1/organization.proto:34:3:"holos.v1alpha1.GetCallerOrganizationsResponse" is used as the request or response type for multiple RPCs.
service/holos/v1alpha1/organization.proto:34:74:RPC response type "GetCallerOrganizationsResponse" should be named "CreateCallerOrganizationResponse" or "OrganizationServiceCreateCallerOrganizationResponse".
service/holos/v1alpha1/platform.proto:3:1:Multiple packages "holos.platform.v1alpha1,holos.v1alpha1" detected within directory "holos/v1alpha1".
service/holos/v1alpha1/platform.proto:3:1:Files with package "holos.platform.v1alpha1" must be within a directory "holos/platform/v1alpha1" relative to root but were in directory "holos/v1alpha1".
service/holos/v1alpha1/platform.proto:8:1:Import "holos/v1alpha1/timestamps.proto" is unused.
service/holos/v1alpha1/platform.proto:9:1:Import "holos/v1alpha1/organization.proto" is unused.
service/holos/v1alpha1/platform.proto:10:1:Import "holos/v1alpha1/user.proto" is unused.
service/holos/v1alpha1/platform.proto:11:1:Import "google/protobuf/any.proto" is unused.
service/holos/v1alpha1/system.proto:3:1:Multiple packages "holos.platform.v1alpha1,holos.v1alpha1" detected within directory "holos/v1alpha1".
service/holos/v1alpha1/system.proto:8:1:Import "buf/validate/validate.proto" is unused.
service/holos/v1alpha1/system.proto:9:1:Import "holos/v1alpha1/timestamps.proto" is unused.
service/holos/v1alpha1/system.proto:10:1:Import "holos/v1alpha1/user.proto" is unused.
service/holos/v1alpha1/system.proto:18:3:"holos.v1alpha1.EmptyRequest" is used as the request or response type for multiple RPCs.
service/holos/v1alpha1/system.proto:18:3:"holos.v1alpha1.EmptyResponse" is used as the request or response type for multiple RPCs.
service/holos/v1alpha1/system.proto:18:20:RPC request type "EmptyRequest" should be named "SeedDatabaseRequest" or "SystemServiceSeedDatabaseRequest".
service/holos/v1alpha1/system.proto:18:43:RPC response type "EmptyResponse" should be named "SeedDatabaseResponse" or "SystemServiceSeedDatabaseResponse".
service/holos/v1alpha1/system.proto:19:3:"holos.v1alpha1.EmptyRequest" is used as the request or response type for multiple RPCs.
service/holos/v1alpha1/system.proto:19:3:"holos.v1alpha1.EmptyResponse" is used as the request or response type for multiple RPCs.
service/holos/v1alpha1/system.proto:19:18:RPC request type "EmptyRequest" should be named "DropTablesRequest" or "SystemServiceDropTablesRequest".
service/holos/v1alpha1/system.proto:19:41:RPC response type "EmptyResponse" should be named "DropTablesResponse" or "SystemServiceDropTablesResponse".
service/holos/v1alpha1/timestamps.proto:3:1:Multiple packages "holos.platform.v1alpha1,holos.v1alpha1" detected within directory "holos/v1alpha1".
service/holos/v1alpha1/user.proto:3:1:Multiple packages "holos.platform.v1alpha1,holos.v1alpha1" detected within directory "holos/v1alpha1".
service/holos/v1alpha1/user.proto:7:1:Import "google/protobuf/timestamp.proto" is unused.