diff options
Diffstat (limited to 'gitTag.proto')
| -rw-r--r-- | gitTag.proto | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/gitTag.proto b/gitTag.proto index e719b76..69e3c3f 100644 --- a/gitTag.proto +++ b/gitTag.proto @@ -22,19 +22,27 @@ message GitConfig { // `autogenpb:nomutex` map<string, string> submodules = 4; map<string, string> hashes = 5; map<string, string> versions = 6; - repeated GitBranch local = 7; // move this this and away from the map<> variables + repeated GitBranch local = 7; // move this away from the map<> variables } 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 + 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; } |
