type in git repo type

This commit is contained in:
0xmuralik 2023-01-19 15:31:08 +05:30
parent 2e986c4d5e
commit 67208b08af
5 changed files with 146 additions and 92 deletions

View File

@ -43,6 +43,7 @@ message GitRepository{
string repo_reference=2 [(gogoproto.moretags) = "json:\"repo_reference\" yaml:\"repo_reference\""]; string repo_reference=2 [(gogoproto.moretags) = "json:\"repo_reference\" yaml:\"repo_reference\""];
string description=3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""]; string description=3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
string type =5 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
} }
message Binary{ message Binary{

View File

@ -3,3 +3,4 @@ record:
repo_reference: https://github.com/cosmos/cosmos-sdk repo_reference: https://github.com/cosmos/cosmos-sdk
description: This is a description string description: This is a description string
version: 0.46.7 version: 0.46.7
type: GitRepository

View File

@ -3,3 +3,4 @@ record:
repo_reference: https://github.com/cosmos/cosmos-sdk repo_reference: https://github.com/cosmos/cosmos-sdk
description: This is a description string description: This is a description string
version: 0.46.7 version: 0.46.7
type: GitRepository

View File

@ -37,14 +37,14 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() {
sr := suite.Require() sr := suite.Require()
var recordId string var recordId string
examples := []string{ examples := []string{
"/..helpers/examples/binary_example.yml", "/../helpers/examples/binary_example.yml",
"/..helpers/examples/chain_registration_example.yml", "/../helpers/examples/chain_registration_example.yml",
"/..helpers/examples/docker_image_example.yml", "/../helpers/examples/docker_image_example.yml",
"/..helpers/examples/git_repo_example.yml", "/../helpers/examples/git_repo_example.yml",
"/..helpers/examples/js_package_example.yml", "/../helpers/examples/js_package_example.yml",
"/..helpers/examples/responder_contract_example.yml", "/../helpers/examples/responder_contract_example.yml",
"/../helpers/examples/service_provider_example.yml", "/../helpers/examples/service_provider_example.yml",
"/..helpers/examples/watcher_registraion_example.yml", "/../helpers/examples/watcher_registraion_example.yml",
"/../helpers/examples/website_registration_example.yml", "/../helpers/examples/website_registration_example.yml",
} }
testCases := []struct { testCases := []struct {

View File

@ -316,6 +316,7 @@ type GitRepository struct {
RepoReference string `protobuf:"bytes,2,opt,name=repo_reference,json=repoReference,proto3" json:"repo_reference,omitempty" json:"repo_reference" yaml:"repo_reference"` RepoReference string `protobuf:"bytes,2,opt,name=repo_reference,json=repoReference,proto3" json:"repo_reference,omitempty" json:"repo_reference" yaml:"repo_reference"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" json:"description" yaml:"description"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" json:"description" yaml:"description"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"`
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"`
} }
func (m *GitRepository) Reset() { *m = GitRepository{} } func (m *GitRepository) Reset() { *m = GitRepository{} }
@ -379,6 +380,13 @@ func (m *GitRepository) GetVersion() string {
return "" return ""
} }
func (m *GitRepository) GetType() string {
if m != nil {
return m.Type
}
return ""
}
type Binary struct { type Binary struct {
HashReference *HashReference `protobuf:"bytes,1,opt,name=hash_reference,json=hashReference,proto3" json:"hash_reference,omitempty"` HashReference *HashReference `protobuf:"bytes,1,opt,name=hash_reference,json=hashReference,proto3" json:"hash_reference,omitempty"`
TargetedArch string `protobuf:"bytes,2,opt,name=targeted_arch,json=targetedArch,proto3" json:"targeted_arch,omitempty"` TargetedArch string `protobuf:"bytes,2,opt,name=targeted_arch,json=targetedArch,proto3" json:"targeted_arch,omitempty"`
@ -1046,93 +1054,93 @@ func init() {
} }
var fileDescriptor_f305abc771332c96 = []byte{ var fileDescriptor_f305abc771332c96 = []byte{
// 1368 bytes of a gzipped FileDescriptorProto // 1370 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4d, 0x6f, 0x53, 0x47, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4d, 0x6f, 0x53, 0x47,
0x17, 0xe6, 0xda, 0x4e, 0x82, 0x4f, 0x48, 0x48, 0x86, 0x00, 0x8e, 0x11, 0x71, 0x30, 0x42, 0x04, 0x17, 0xe6, 0xda, 0x4e, 0x82, 0x4f, 0x48, 0x48, 0x86, 0x00, 0x8e, 0x11, 0x71, 0x30, 0x42, 0x04,
0xe5, 0x7d, 0xed, 0x00, 0xe2, 0x7d, 0x11, 0x74, 0x01, 0x01, 0x5a, 0xd2, 0x8a, 0x2a, 0x9a, 0x50, 0xe5, 0x7d, 0xed, 0x00, 0xe2, 0x7d, 0x11, 0x74, 0x01, 0x01, 0x5a, 0xd2, 0x8a, 0x2a, 0x9a, 0x50,
0xa0, 0xad, 0x2a, 0x77, 0x3c, 0x77, 0xb0, 0x87, 0xd8, 0x77, 0xac, 0xb9, 0xe3, 0x80, 0xbb, 0xac, 0xa0, 0xad, 0x2a, 0x77, 0x3c, 0x77, 0xb0, 0x87, 0xd8, 0x77, 0xac, 0xb9, 0xe3, 0x80, 0xbb, 0xac,
0x54, 0xa9, 0x4b, 0xfe, 0x40, 0x37, 0x5d, 0x76, 0xd7, 0x4d, 0x7f, 0x41, 0x17, 0x5d, 0xd2, 0x55, 0x54, 0xa9, 0x4b, 0xfe, 0x40, 0xff, 0x40, 0x77, 0xdd, 0xf4, 0x17, 0x74, 0xd1, 0x25, 0x55, 0x17,
0xab, 0x2e, 0xac, 0x0a, 0x56, 0x5d, 0xd6, 0xbf, 0xa0, 0x9a, 0x8f, 0x7b, 0x7d, 0xfd, 0x11, 0x54, 0xad, 0xba, 0xb0, 0x2a, 0x58, 0x75, 0x59, 0xff, 0x82, 0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0x46, 0xcf, 0xdc, 0x8c, 0x59, 0x30, 0xeb, 0x30, 0x2d, 0xcf, 0xe6,
0xbd, 0x5c, 0xf1, 0x5e, 0xbc, 0x5c, 0xf1, 0x7e, 0x7f, 0xb9, 0xe2, 0x3d, 0x7f, 0xb5, 0x72, 0xe8, 0xbb, 0x3f, 0xbe, 0x5c, 0xf1, 0x5e, 0xbc, 0x5c, 0xf1, 0x7e, 0x7f, 0xb9, 0xe2, 0x3d, 0x7f, 0xb5,
0xc5, 0xab, 0x95, 0x43, 0xbf, 0xbe, 0x5a, 0x39, 0xf4, 0xc9, 0x7f, 0x6a, 0x5c, 0xd5, 0xdb, 0xd5, 0x72, 0xe8, 0xc5, 0xab, 0x95, 0x43, 0xbf, 0xbe, 0x5a, 0x39, 0xf4, 0xc9, 0x7f, 0x6a, 0x5c, 0xd5,
0x12, 0x15, 0xcd, 0x32, 0x65, 0x92, 0xfe, 0x97, 0x8b, 0xb2, 0xfb, 0xe9, 0xec, 0x97, 0x9f, 0xf5, 0xdb, 0xd5, 0x12, 0x15, 0xcd, 0x32, 0x65, 0x92, 0xfe, 0x97, 0x8b, 0xb2, 0xfb, 0xad, 0xed, 0x97,
0xff, 0xe2, 0x30, 0x7b, 0xac, 0x4e, 0x9b, 0x3f, 0x29, 0x2e, 0xff, 0x15, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xc5, 0xff, 0x89, 0x98, 0x3d, 0x56, 0xa7, 0xcd, 0xbf, 0x1a, 0x97, 0xff, 0x0a, 0x00, 0x00,
0xaf, 0xac, 0xd5, 0x22, 0x05, 0x11, 0x00, 0x00, 0xff, 0xff, 0x77, 0x21, 0xfd, 0x20, 0x36, 0x11, 0x00, 0x00,
} }
func (m *HashReference) Marshal() (dAtA []byte, err error) { func (m *HashReference) Marshal() (dAtA []byte, err error) {
@ -1405,6 +1413,13 @@ func (m *GitRepository) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i _ = i
var l int var l int
_ = l _ = l
if len(m.Type) > 0 {
i -= len(m.Type)
copy(dAtA[i:], m.Type)
i = encodeVarintAttributes(dAtA, i, uint64(len(m.Type)))
i--
dAtA[i] = 0x2a
}
if len(m.Version) > 0 { if len(m.Version) > 0 {
i -= len(m.Version) i -= len(m.Version)
copy(dAtA[i:], m.Version) copy(dAtA[i:], m.Version)
@ -2138,6 +2153,10 @@ func (m *GitRepository) Size() (n int) {
if l > 0 { if l > 0 {
n += 1 + l + sovAttributes(uint64(l)) n += 1 + l + sovAttributes(uint64(l))
} }
l = len(m.Type)
if l > 0 {
n += 1 + l + sovAttributes(uint64(l))
}
return n return n
} }
@ -3430,6 +3449,38 @@ func (m *GitRepository) Unmarshal(dAtA []byte) error {
} }
m.Version = string(dAtA[iNdEx:postIndex]) m.Version = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex iNdEx = postIndex
case 5:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowAttributes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthAttributes
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthAttributes
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Type = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipAttributes(dAtA[iNdEx:]) skippy, err := skipAttributes(dAtA[iNdEx:])