diff --git a/pb/service_data.pb.go b/pb/service_data.pb.go index bb96e51..e4c086e 100644 --- a/pb/service_data.pb.go +++ b/pb/service_data.pb.go @@ -50,7 +50,7 @@ func (m *File) Reset() { *m = File{} } func (m *File) String() string { return proto.CompactTextString(m) } func (*File) ProtoMessage() {} func (*File) Descriptor() ([]byte, []int) { - return fileDescriptor_service_data_8336abc41c19202a, []int{0} + return fileDescriptor_service_data_cdd114f0940e7d0a, []int{0} } func (m *File) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,7 +93,7 @@ func (m *Change) Reset() { *m = Change{} } func (m *Change) String() string { return proto.CompactTextString(m) } func (*Change) ProtoMessage() {} func (*Change) Descriptor() ([]byte, []int) { - return fileDescriptor_service_data_8336abc41c19202a, []int{1} + return fileDescriptor_service_data_cdd114f0940e7d0a, []int{1} } func (m *Change) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -148,13 +148,17 @@ type ChangesRequest struct { // case insensitive. The list of language names is available at // https://github.com/github/linguist/blob/master/lib/linguist/languages.yml IncludeLanguages []string `protobuf:"bytes,9,rep,name=include_languages,json=includeLanguages,proto3" json:"include_languages,omitempty"` + // TwoDotsMode will calculate the changes between base..head + // Its default value is false, working as base...head, that calculates the + // changes introduced by head, not accessible by base. + TwoDotsMode bool `protobuf:"varint,10,opt,name=two_dots_mode,json=twoDotsMode,proto3" json:"two_dots_mode,omitempty"` } func (m *ChangesRequest) Reset() { *m = ChangesRequest{} } func (m *ChangesRequest) String() string { return proto.CompactTextString(m) } func (*ChangesRequest) ProtoMessage() {} func (*ChangesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_data_8336abc41c19202a, []int{2} + return fileDescriptor_service_data_cdd114f0940e7d0a, []int{2} } func (m *ChangesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -213,7 +217,7 @@ func (m *FilesRequest) Reset() { *m = FilesRequest{} } func (m *FilesRequest) String() string { return proto.CompactTextString(m) } func (*FilesRequest) ProtoMessage() {} func (*FilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_data_8336abc41c19202a, []int{3} + return fileDescriptor_service_data_cdd114f0940e7d0a, []int{3} } func (m *FilesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -609,6 +613,16 @@ func (m *ChangesRequest) MarshalTo(dAtA []byte) (int, error) { i += copy(dAtA[i:], s) } } + if m.TwoDotsMode { + dAtA[i] = 0x50 + i++ + if m.TwoDotsMode { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } return i, nil } @@ -805,6 +819,9 @@ func (m *ChangesRequest) Size() (n int) { n += 1 + l + sovServiceData(uint64(l)) } } + if m.TwoDotsMode { + n += 2 + } return n } @@ -1458,6 +1475,26 @@ func (m *ChangesRequest) Unmarshal(dAtA []byte) error { } m.IncludeLanguages = append(m.IncludeLanguages, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TwoDotsMode", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceData + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.TwoDotsMode = bool(v != 0) default: iNdEx = preIndex skippy, err := skipServiceData(dAtA[iNdEx:]) @@ -1835,48 +1872,49 @@ var ( ) func init() { - proto.RegisterFile("lookout/sdk/service_data.proto", fileDescriptor_service_data_8336abc41c19202a) + proto.RegisterFile("lookout/sdk/service_data.proto", fileDescriptor_service_data_cdd114f0940e7d0a) } -var fileDescriptor_service_data_8336abc41c19202a = []byte{ - // 615 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xc1, 0x6e, 0xd3, 0x30, - 0x18, 0xc7, 0x9b, 0x36, 0xeb, 0x5c, 0x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b, 0x6b, 0xe7, 0xbf, 0xdc, 0xda, 0xf9, - 0xd8, 0xb5, 0x2e, 0xc6, 0xae, 0x75, 0x35, 0x76, 0xad, 0xaf, 0x13, 0xb7, 0x76, 0x31, 0x71, 0x6b, - 0x3f, 0x26, 0x6e, 0x2d, 0x6c, 0x9a, 0x9f, 0xd0, 0xd3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x66, - 0x7c, 0x6c, 0xeb, 0x1f, 0x05, 0x00, 0x00, +var fileDescriptor_service_data_cdd114f0940e7d0a = []byte{ + // 640 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x4f, 0x53, 0xd3, 0x4e, + 0x18, 0xc7, 0x9b, 0x36, 0x94, 0x74, 0x29, 0xfc, 0xf8, 0xed, 0x38, 0x63, 0xa6, 0xc3, 0xa4, 0xb5, + 0x1e, 0x0c, 0xc3, 0xb8, 0x41, 0xbc, 0x79, 0x71, 0x04, 0x46, 0x2e, 0xca, 0x30, 0x51, 0xf4, 0x58, + 0x37, 0xcd, 0x43, 0x92, 0xa1, 0xec, 0xd6, 0xec, 0xa6, 0xf8, 0x32, 0x7c, 0x09, 0x72, 0xf2, 0x85, + 0x78, 0xe1, 0xc8, 0xd1, 0x13, 0x62, 0x79, 0x23, 0xce, 0x6e, 0xfe, 0x40, 0x67, 0x50, 0xeb, 0x6d, + 0xf7, 0xfb, 0x7c, 0xf7, 0xbb, 0x7f, 0x3e, 0x79, 0x82, 0x9c, 0x11, 0xe7, 0xc7, 0x3c, 0x93, 0x9e, + 0x08, 0x8f, 0x3d, 0x01, 0xe9, 0x24, 0x19, 0xc2, 0x20, 0xa4, 0x92, 0x92, 0x71, 0xca, 0x25, 0xc7, + 0xf5, 0x71, 0xd0, 0x79, 0x1c, 0x25, 0x32, 0xce, 0x02, 0x32, 0xe4, 0x27, 0x5e, 0xc4, 0x23, 0xee, + 0xe9, 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fa, 0x3b, + 0x44, 0x3a, 0x71, 0x49, 0x9e, 0xf2, 0x5d, 0x2e, 0xc5, 0x6b, 0x1e, 0x42, 0xff, 0x47, 0x1d, 0xb5, + 0x15, 0xc2, 0x8a, 0xd3, 0x26, 0xb2, 0x52, 0x98, 0x24, 0x22, 0xe1, 0xec, 0x8f, 0xac, 0x2a, 0xd7, + 0x5d, 0x14, 0xea, 0xf3, 0x52, 0x68, 0xcc, 0x4d, 0xc1, 0x9c, 0x93, 0xc2, 0xc2, 0xdf, 0x28, 0x34, + 0xff, 0x8d, 0xc2, 0xe2, 0xbc, 0x14, 0xac, 0xbb, 0x29, 0x6c, 0x7d, 0x40, 0xe6, 0x2e, 0x95, 0x14, + 0x13, 0x84, 0xf6, 0x40, 0x16, 0x5d, 0x81, 0xb1, 0x7a, 0xd4, 0xd9, 0x16, 0xe9, 0xa0, 0x1b, 0x6d, + 0xd3, 0xc0, 0x2e, 0xb2, 0xf6, 0x40, 0x6a, 0x36, 0x78, 0xb5, 0xec, 0xb4, 0xca, 0x5b, 0xf5, 0xde, + 0xa6, 0xb1, 0xbd, 0x76, 0xfe, 0xd3, 0xa9, 0x9d, 0x4f, 0x1d, 0xe3, 0x62, 0xea, 0x18, 0x57, 0x53, + 0xc7, 0xf8, 0x7c, 0xed, 0xd4, 0x2e, 0xae, 0x9d, 0xda, 0xf7, 0x6b, 0xa7, 0x16, 0x34, 0xf5, 0x8f, + 0xea, 0xe9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x3b, 0x87, 0x79, 0x43, 0x05, 0x00, 0x00, } diff --git a/proto/lookout/sdk/service_data.proto b/proto/lookout/sdk/service_data.proto index aaa672f..ffad558 100644 --- a/proto/lookout/sdk/service_data.proto +++ b/proto/lookout/sdk/service_data.proto @@ -92,6 +92,10 @@ message ChangesRequest { // case insensitive. The list of language names is available at // https://github.com/github/linguist/blob/master/lib/linguist/languages.yml repeated string include_languages = 9; + // TwoDotsMode will calculate the changes between base..head + // Its default value is false, working as base...head, that calculates the + // changes introduced by head, not accessible by base. + bool two_dots_mode = 10; } // FilesRequest defines a request of Files to the Data service. diff --git a/python/lookout/sdk/service_data_pb2.py b/python/lookout/sdk/service_data_pb2.py index 302a631..5fc9614 100644 --- a/python/lookout/sdk/service_data_pb2.py +++ b/python/lookout/sdk/service_data_pb2.py @@ -23,7 +23,7 @@ name='lookout/sdk/service_data.proto', package='pb', syntax='proto3', - serialized_pb=_b('\n\x1elookout/sdk/service_data.proto\x12\x02pb\x1a-github.com/gogo/protobuf/gogoproto/gogo.proto\x1a+gopkg.in/bblfsh/sdk.v1/uast/generated.proto\x1a\x17lookout/sdk/event.proto\"\x98\x01\n\x04\x46ile\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0c\n\x04mode\x18\x02 \x01(\r\x12\x0c\n\x04hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\x0c\x12\x39\n\x04uast\x18\x05 \x01(\x0b\x32!.gopkg.in.bblfsh.sdk.v1.uast.NodeB\x08\xe2\xde\x1f\x04UAST\x12\x10\n\x08language\x18\x06 \x01(\t:\x08\xa0\xa1\x1f\x00\xe0\xa1\x1f\x01\"B\n\x06\x43hange\x12\x16\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x08.pb.File\x12\x16\n\x04head\x18\x02 \x01(\x0b\x32\x08.pb.File:\x08\xa0\xa1\x1f\x00\xe0\xa1\x1f\x01\"\x8e\x02\n\x0e\x43hangesRequest\x12\"\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x14.pb.ReferencePointer\x12\"\n\x04head\x18\x02 \x01(\x0b\x32\x14.pb.ReferencePointer\x12\x17\n\x0finclude_pattern\x18\x03 \x01(\t\x12\x17\n\x0f\x65xclude_pattern\x18\x04 \x01(\t\x12\x18\n\x10\x65xclude_vendored\x18\x05 \x01(\x08\x12\x15\n\rwant_contents\x18\x06 \x01(\x08\x12\x1f\n\twant_uast\x18\x07 \x01(\x08\x42\x0c\xe2\xde\x1f\x08WantUAST\x12\x15\n\rwant_language\x18\x08 \x01(\x08\x12\x19\n\x11include_languages\x18\t \x03(\t\"\xec\x01\n\x0c\x46ilesRequest\x12&\n\x08revision\x18\x01 \x01(\x0b\x32\x14.pb.ReferencePointer\x12\x17\n\x0finclude_pattern\x18\x02 \x01(\t\x12\x17\n\x0f\x65xclude_pattern\x18\x03 \x01(\t\x12\x18\n\x10\x65xclude_vendored\x18\x04 \x01(\x08\x12\x15\n\rwant_contents\x18\x05 \x01(\x08\x12\x1f\n\twant_uast\x18\x06 \x01(\x08\x42\x0c\xe2\xde\x1f\x08WantUAST\x12\x15\n\rwant_language\x18\x07 \x01(\x08\x12\x19\n\x11include_languages\x18\x08 \x03(\t2`\n\x04\x44\x61ta\x12.\n\nGetChanges\x12\x12.pb.ChangesRequest\x1a\n.pb.Change0\x01\x12(\n\x08GetFiles\x12\x10.pb.FilesRequest\x1a\x08.pb.File0\x01\x42\x04\xc8\xe1\x1e\x00\x62\x06proto3') + serialized_pb=_b('\n\x1elookout/sdk/service_data.proto\x12\x02pb\x1a-github.com/gogo/protobuf/gogoproto/gogo.proto\x1a+gopkg.in/bblfsh/sdk.v1/uast/generated.proto\x1a\x17lookout/sdk/event.proto\"\x98\x01\n\x04\x46ile\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0c\n\x04mode\x18\x02 \x01(\r\x12\x0c\n\x04hash\x18\x03 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\x0c\x12\x39\n\x04uast\x18\x05 \x01(\x0b\x32!.gopkg.in.bblfsh.sdk.v1.uast.NodeB\x08\xe2\xde\x1f\x04UAST\x12\x10\n\x08language\x18\x06 \x01(\t:\x08\xa0\xa1\x1f\x00\xe0\xa1\x1f\x01\"B\n\x06\x43hange\x12\x16\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x08.pb.File\x12\x16\n\x04head\x18\x02 \x01(\x0b\x32\x08.pb.File:\x08\xa0\xa1\x1f\x00\xe0\xa1\x1f\x01\"\xa5\x02\n\x0e\x43hangesRequest\x12\"\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x14.pb.ReferencePointer\x12\"\n\x04head\x18\x02 \x01(\x0b\x32\x14.pb.ReferencePointer\x12\x17\n\x0finclude_pattern\x18\x03 \x01(\t\x12\x17\n\x0f\x65xclude_pattern\x18\x04 \x01(\t\x12\x18\n\x10\x65xclude_vendored\x18\x05 \x01(\x08\x12\x15\n\rwant_contents\x18\x06 \x01(\x08\x12\x1f\n\twant_uast\x18\x07 \x01(\x08\x42\x0c\xe2\xde\x1f\x08WantUAST\x12\x15\n\rwant_language\x18\x08 \x01(\x08\x12\x19\n\x11include_languages\x18\t \x03(\t\x12\x15\n\rtwo_dots_mode\x18\n \x01(\x08\"\xec\x01\n\x0c\x46ilesRequest\x12&\n\x08revision\x18\x01 \x01(\x0b\x32\x14.pb.ReferencePointer\x12\x17\n\x0finclude_pattern\x18\x02 \x01(\t\x12\x17\n\x0f\x65xclude_pattern\x18\x03 \x01(\t\x12\x18\n\x10\x65xclude_vendored\x18\x04 \x01(\x08\x12\x15\n\rwant_contents\x18\x05 \x01(\x08\x12\x1f\n\twant_uast\x18\x06 \x01(\x08\x42\x0c\xe2\xde\x1f\x08WantUAST\x12\x15\n\rwant_language\x18\x07 \x01(\x08\x12\x19\n\x11include_languages\x18\x08 \x03(\t2`\n\x04\x44\x61ta\x12.\n\nGetChanges\x12\x12.pb.ChangesRequest\x1a\n.pb.Change0\x01\x12(\n\x08GetFiles\x12\x10.pb.FilesRequest\x1a\x08.pb.File0\x01\x42\x04\xc8\xe1\x1e\x00\x62\x06proto3') , dependencies=[github_dot_com_dot_gogo_dot_protobuf_dot_gogoproto_dot_gogo__pb2.DESCRIPTOR,gopkg_dot_in_dot_bblfsh_dot_sdk_dot_v1_dot_uast_dot_generated__pb2.DESCRIPTOR,lookout_dot_sdk_dot_event__pb2.DESCRIPTOR,]) @@ -204,6 +204,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='two_dots_mode', full_name='pb.ChangesRequest.two_dots_mode', index=9, + number=10, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -217,7 +224,7 @@ oneofs=[ ], serialized_start=379, - serialized_end=649, + serialized_end=672, ) @@ -296,8 +303,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=652, - serialized_end=888, + serialized_start=675, + serialized_end=911, ) _FILE.fields_by_name['uast'].message_type = gopkg_dot_in_dot_bblfsh_dot_sdk_dot_v1_dot_uast_dot_generated__pb2._NODE @@ -360,8 +367,8 @@ file=DESCRIPTOR, index=0, options=None, - serialized_start=890, - serialized_end=986, + serialized_start=913, + serialized_end=1009, methods=[ _descriptor.MethodDescriptor( name='GetChanges',