2024-11-29 18:15:25 -06:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package gitpb;
|
|
|
|
|
|
|
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
|
|
|
|
2024-12-01 22:23:38 -06:00
|
|
|
// global settings for autogenpb `autogenpb:mutex`
|
|
|
|
|
2024-12-01 10:46:32 -06:00
|
|
|
message GitTag { // `autogenpb:marshal`
|
2024-11-29 21:51:30 -06:00
|
|
|
string refname = 1; // `autogenpb:unique` // tag name. treated as unique
|
2024-11-29 18:15:25 -06:00
|
|
|
google.protobuf.Timestamp creatordate = 2; // git creatordate
|
|
|
|
google.protobuf.Timestamp authordate = 3; // git author date
|
2024-11-29 21:51:30 -06:00
|
|
|
string hash = 4; // `autogenpb:unique` // git hash
|
2024-11-29 18:15:25 -06:00
|
|
|
string subject = 5; // git tag subject
|
|
|
|
}
|
|
|
|
|
2024-12-01 10:46:32 -06:00
|
|
|
message GitTags { // `autogenpb:marshal`
|
2024-11-29 18:15:25 -06:00
|
|
|
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;
|
|
|
|
}
|