summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo.proto2
-rw-r--r--stat.proto1
2 files changed, 2 insertions, 1 deletions
diff --git a/repo.proto b/repo.proto
index 1968192..048dc3b 100644
--- a/repo.proto
+++ b/repo.proto
@@ -7,6 +7,7 @@ package gitpb;
import "gitTag.proto";
import "goDep.proto";
+import "stat.proto";
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
// global settings for autogenpb `autogenpb:mutex`
@@ -69,6 +70,7 @@ message Repo { // `autogenpb
GitTag currentTag = 24; // used to examine repo branches
GitConfig gitConfig = 25; // protobuf of the current .git/config
map<string, string> control = 26; // control values. can be used to make packages (like .deb or .rpm)
+ Stats stats = 27; // rewrite the existing crappy code here
}
message Repos { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:gui` `autogenpb:nomutex` `autogenpb:http`
diff --git a/stat.proto b/stat.proto
index c6ee078..1978f9c 100644
--- a/stat.proto
+++ b/stat.proto
@@ -13,7 +13,6 @@ message Stat {
REMOTE = 2;
TAG = 3;
}
-
string hash = 1; // `autogenpb:unique` // git hash
string patchId = 2; // `autogenpb:unique` // git hash
google.protobuf.Timestamp mtime = 3; // mtime for the .git/config file