syntax = "proto3"; package gitpb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp message GitTag { // `autogenpb:nomutex` enum BranchType { ANY = 0; PROD = 1; DEVEL = 2; USER = 3; } string hash = 1; // `autogenpb:unique` // git hash string refname = 2; // `autogenpb:unique` `autogenpb:sort` // tag name. treated as unique string subject = 3; // git tag subject BranchType type = 4; // is set by git as the master branch google.protobuf.Timestamp Authordate = 5; // git author date // should be when the patch was made google.protobuf.Timestamp Creatordate = 6; // git creator date } message GitTags { // `autogenpb:marshal` `autogenpb:nomutex` `autogenpb:gui` string uuid = 1; // `autogenpb:uuid:ffdff813-0316-4372-9e82-4c1c7d202526` string version = 2; // `autogenpb:version:v0.0.47` repeated GitTag gitTags = 3; GitTag master = 4; GitTag devel = 5; }