From 4e9ef5a66101a56134f9f1aa3c7bceefa095172f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 16 Dec 2024 04:06:48 -0600 Subject: [PATCH] Notes added by 'git notes append' --- a115ba144b00dc0339a8cf7eae6bdf2aab5fb4b5 | 245 +++++++++++++++++++++++ 1 file changed, 245 insertions(+) diff --git a/a115ba144b00dc0339a8cf7eae6bdf2aab5fb4b5 b/a115ba144b00dc0339a8cf7eae6bdf2aab5fb4b5 index 71558d8..c38c8a5 100644 --- a/a115ba144b00dc0339a8cf7eae6bdf2aab5fb4b5 +++ b/a115ba144b00dc0339a8cf7eae6bdf2aab5fb4b5 @@ -131,3 +131,248 @@ func (v *GitTags) Unmarshal(data []byte) error { } // `autogen:gitTag.pb.go` + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.2-devel +// protoc v3.21.12 +// source: gitTag.proto + +package gitpb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type GitTag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Refname string `protobuf:"bytes,1,opt,name=refname,proto3" json:"refname,omitempty"` // `autogenpb:unique` // tag name. treated as unique + Creatordate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creatordate,proto3" json:"creatordate,omitempty"` // git creatordate + Authordate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=authordate,proto3" json:"authordate,omitempty"` // git author date + Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // `autogenpb:unique` // git hash + Subject string `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"` // git tag subject +} + +func (x *GitTag) Reset() { + *x = GitTag{} + mi := &file_gitTag_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GitTag) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GitTag) ProtoMessage() {} + +func (x *GitTag) ProtoReflect() protoreflect.Message { + mi := &file_gitTag_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GitTag.ProtoReflect.Descriptor instead. +func (*GitTag) Descriptor() ([]byte, []int) { + return file_gitTag_proto_rawDescGZIP(), []int{0} +} + +func (x *GitTag) GetRefname() string { + if x != nil { + return x.Refname + } + return "" +} + +func (x *GitTag) GetCreatordate() *timestamppb.Timestamp { + if x != nil { + return x.Creatordate + } + return nil +} + +func (x *GitTag) GetAuthordate() *timestamppb.Timestamp { + if x != nil { + return x.Authordate + } + return nil +} + +func (x *GitTag) GetHash() string { + if x != nil { + return x.Hash + } + return "" +} + +func (x *GitTag) GetSubject() string { + if x != nil { + return x.Subject + } + return "" +} + +type GitTags struct { + Lock sync.RWMutex // auto-added by go.wit.com/apps/autogenpb + + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // I guess why not just have this on each file + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // maybe can be used for protobuf schema change violations + GitTags []*GitTag `protobuf:"bytes,3,rep,name=gitTags,proto3" json:"gitTags,omitempty"` +} + +func (x *GitTags) Reset() { + *x = GitTags{} + mi := &file_gitTag_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GitTags) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GitTags) ProtoMessage() {} + +func (x *GitTags) ProtoReflect() protoreflect.Message { + mi := &file_gitTag_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GitTags.ProtoReflect.Descriptor instead. +func (*GitTags) Descriptor() ([]byte, []int) { + return file_gitTag_proto_rawDescGZIP(), []int{1} +} + +func (x *GitTags) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *GitTags) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *GitTags) GetGitTags() []*GitTag { + if x != nil { + return x.GitTags + } + return nil +} + +var File_gitTag_proto protoreflect.FileDescriptor + +var file_gitTag_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x54, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, + 0x67, 0x69, 0x74, 0x70, 0x62, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x01, 0x0a, 0x06, 0x47, 0x69, 0x74, 0x54, 0x61, + 0x67, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x64, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x22, 0x60, 0x0a, 0x07, 0x47, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, + 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x07, + 0x67, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x69, 0x74, 0x54, 0x61, 0x67, 0x52, 0x07, 0x67, 0x69, + 0x74, 0x54, 0x61, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_gitTag_proto_rawDescOnce sync.Once + file_gitTag_proto_rawDescData = file_gitTag_proto_rawDesc +) + +func file_gitTag_proto_rawDescGZIP() []byte { + file_gitTag_proto_rawDescOnce.Do(func() { + file_gitTag_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitTag_proto_rawDescData) + }) + return file_gitTag_proto_rawDescData +} + +var file_gitTag_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_gitTag_proto_goTypes = []any{ + (*GitTag)(nil), // 0: gitpb.GitTag + (*GitTags)(nil), // 1: gitpb.GitTags + (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp +} +var file_gitTag_proto_depIdxs = []int32{ + 2, // 0: gitpb.GitTag.creatordate:type_name -> google.protobuf.Timestamp + 2, // 1: gitpb.GitTag.authordate:type_name -> google.protobuf.Timestamp + 0, // 2: gitpb.GitTags.gitTags:type_name -> gitpb.GitTag + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_gitTag_proto_init() } +func file_gitTag_proto_init() { + if File_gitTag_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_gitTag_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_gitTag_proto_goTypes, + DependencyIndexes: file_gitTag_proto_depIdxs, + MessageInfos: file_gitTag_proto_msgTypes, + }.Build() + File_gitTag_proto = out.File + file_gitTag_proto_rawDesc = nil + file_gitTag_proto_goTypes = nil + file_gitTag_proto_depIdxs = nil +}