21 lines
736 B
Protocol Buffer
21 lines
736 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package gitpb;
|
|
|
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
|
|
|
|
|
message GitTag { // `autogenpb:nomutex`
|
|
string refname = 1; // `autogenpb:unique` `autogenpb:sort` // tag name. treated as unique
|
|
google.protobuf.Timestamp creatordate = 2; // git creatordate
|
|
google.protobuf.Timestamp authordate = 3; // git author date
|
|
string hash = 4; // `autogenpb:unique` // git hash
|
|
string subject = 5; // git tag subject
|
|
}
|
|
|
|
message GitTags { // `autogenpb:marshal` `autogenpb:nomutex`
|
|
string uuid = 1; // `autogenpb:uuid:ffdff813-0316-4372-9e82-4c1c7d202526`
|
|
string version = 2; // `autogenpb:version:v0.0.47`
|
|
repeated GitTag gitTags = 3;
|
|
}
|