20 lines
623 B
Protocol Buffer
20 lines
623 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package gitpb;
|
|
|
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
|
|
|
message GitTag {
|
|
string refname = 1; // tag name. treated as unique
|
|
google.protobuf.Timestamp creatordate = 2; // git creatordate
|
|
google.protobuf.Timestamp authordate = 3; // git creatordate
|
|
string objectname = 4; // git hash
|
|
string subject = 5; // git tag subject
|
|
}
|
|
|
|
message GitTags {
|
|
string uuid = 1; // I guess why not just have this on each file
|
|
string version = 2; // maybe can be used for protobuf schema change violations
|
|
repeated GitTag gitTags = 3;
|
|
}
|