Skip to content

Commit

Permalink
remove go_option (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
solidiquis authored May 20, 2024
1 parent 10d0195 commit 801d546
Show file tree
Hide file tree
Showing 37 changed files with 44 additions and 66 deletions.
3 changes: 3 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ gen-python:
gen-rust:
bash scripts/gen.sh rust

remove-go-pkg:
bash scripts/remove_go_pkg.sh

git-hooks:
git config core.hooksPath .githooks
2 changes: 0 additions & 2 deletions protos/sift/annotation_logs/v1/annotation_logs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "azimuth/gen/protos/go/sift/annotation_logs/v1;annotation_logsv1pb";

service AnnotationLogService {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_tag) = {
description: "Service to programmatically interact with [annotation logs](/glossary#annotation)."
Expand Down
1 change: 0 additions & 1 deletion protos/sift/annotations/v1/annotations.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "azimuth/gen/protos/go/sift/annotations/v1;annotationsv1pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Annotation Service"}
};
Expand Down
1 change: 0 additions & 1 deletion protos/sift/assets/v1/assets.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "azimuth/gen/protos/go/sift/assets/v1;assetsv1pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Asset Service"}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "google/api/field_behavior.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "sift/common/type/v1/channel_data_type.proto";

option go_package = "azimuth/gen/protos/go/sift/calculated_channels/v1;calculatedchannelsv1pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Calculated Channels Service"}
};
Expand Down
1 change: 0 additions & 1 deletion protos/sift/channels/v2/channels.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import "sift/common/type/v1/channel_bit_field_element.proto";
import "sift/common/type/v1/channel_data_type.proto";
import "sift/common/type/v1/channel_enum_type.proto";

option go_package = "azimuth/gen/protos/go/sift/channels/v2;channelsv2pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Channel service"}
};
Expand Down
2 changes: 0 additions & 2 deletions protos/sift/common/type/v1/channel_bit_field_element.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ package sift.common.type.v1;

import "google/api/field_behavior.proto";

option go_package = "azimuth/gen/protos/go/sift/common/type/v1;typev1pb";

message ChannelBitFieldElement {
string name = 1 [(google.api.field_behavior) = REQUIRED];
// The index of this element's first bit in the logical bit field array.
Expand Down
2 changes: 0 additions & 2 deletions protos/sift/common/type/v1/channel_data_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package sift.common.type.v1;

option go_package = "azimuth/gen/protos/go/sift/common/type/v1;typev1pb";

enum ChannelDataType {
CHANNEL_DATA_TYPE_UNSPECIFIED = 0 [deprecated = true];
CHANNEL_DATA_TYPE_DOUBLE = 1;
Expand Down
2 changes: 0 additions & 2 deletions protos/sift/common/type/v1/channel_enum_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ package sift.common.type.v1;

import "google/api/field_behavior.proto";

option go_package = "azimuth/gen/protos/go/sift/common/type/v1;typev1pb";

message ChannelEnumType {
string name = 1 [(google.api.field_behavior) = REQUIRED];
uint32 key = 2 [(google.api.field_behavior) = REQUIRED];
Expand Down
2 changes: 0 additions & 2 deletions protos/sift/common/type/v1/organization.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package sift.common.type.v1;

option go_package = "azimuth/gen/protos/go/sift/common/type/v1;typev1pb";

message Organization {
string organization_id = 1;
string organization_name = 2;
Expand Down
2 changes: 0 additions & 2 deletions protos/sift/common/type/v1/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package sift.common.type.v1;
import "google/api/field_behavior.proto";
import "sift/common/type/v1/organization.proto";

option go_package = "azimuth/gen/protos/go/sift/common/type/v1;typev1pb";

message User {
string user_id = 1 [(google.api.field_behavior) = REQUIRED];
string user_name = 2 [(google.api.field_behavior) = REQUIRED];
Expand Down
1 change: 0 additions & 1 deletion protos/sift/data/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import "sift/common/type/v1/channel_bit_field_element.proto";
import "sift/common/type/v1/channel_data_type.proto";
import "sift/common/type/v1/channel_enum_type.proto";

option go_package = "azimuth/gen/protos/go/sift/data/v1;datav1pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Data Service"}
};
Expand Down
1 change: 0 additions & 1 deletion protos/sift/ingestion_configs/v1/ingestion_configs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import "sift/common/type/v1/channel_bit_field_element.proto";
import "sift/common/type/v1/channel_data_type.proto";
import "sift/common/type/v1/channel_enum_type.proto";

option go_package = "azimuth/gen/protos/go/sift/ingestion_configs/v1;ingestion_configsv1pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Ingestion Config Service"}
};
Expand Down
1 change: 0 additions & 1 deletion protos/sift/notifications/v1/notifications.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "azimuth/gen/protos/go/sift/notifications/v1;notificationsv1pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Notification Service"}
};
Expand Down
1 change: 0 additions & 1 deletion protos/sift/rules/v1/rules.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "sift/annotations/v1/annotations.proto";

option go_package = "azimuth/gen/protos/go/sift/rules/v1;rulesv1pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Rule Service"}
};
Expand Down
1 change: 0 additions & 1 deletion protos/sift/runs/v2/runs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "azimuth/gen/protos/go/sift/runs/v2;runsv2pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Run service"}
};
Expand Down
2 changes: 0 additions & 2 deletions protos/sift/tags/v1/tags.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package sift.tags.v1;
import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";

option go_package = "azimuth/gen/protos/go/sift/tags/v1;tagsv1pb";

message Tag {
string tag_id = 1 [(google.api.field_behavior) = REQUIRED];
string name = 2 [(google.api.field_behavior) = REQUIRED];
Expand Down
1 change: 0 additions & 1 deletion protos/sift/users/v2/users.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "google/api/field_behavior.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "sift/common/type/v1/user.proto";

option go_package = "azimuth/gen/protos/go/sift/users/v2;usersv2pb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "User Service"}
};
Expand Down
4 changes: 2 additions & 2 deletions python/gen/sift/annotation_logs/v1/annotation_logs_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 801d546

Please sign in to comment.