summaryrefslogtreecommitdiff
path: root/gitTag.proto
blob: e69a25e722cc82df117710af1743fb94f35aa66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
syntax = "proto3";

package gitpb;

import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp

message GitTag {					// `autogenpb:marshal`
	string	refname 			= 1;	// `autogenpb:unique` 	// 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
}

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
	repeated GitTag gitTags	= 3;
}