diff options
Diffstat (limited to 'gitTag.proto')
| -rw-r--r-- | gitTag.proto | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gitTag.proto b/gitTag.proto index 53eb346..c1683d8 100644 --- a/gitTag.proto +++ b/gitTag.proto @@ -4,18 +4,17 @@ package gitpb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp -// global settings for autogenpb `autogenpb:mutex` message GitTag { // `autogenpb:marshal` - string refname = 1; // `autogenpb:unique` // tag name. treated as unique + 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 hash = 4; // `autogenpb:unique` // git hash string subject = 5; // git tag subject } -message GitTags { // `autogenpb:marshal` - 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 +message GitTags { // `autogenpb:marshal` `autogenpb:mutex` + string uuid = 1; // `autogenpb:uuid` + string version = 2; // `autogenpb:version:v0.0.47` repeated GitTag gitTags = 3; } |
