summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-03 01:59:04 -0600
committerJeff Carr <[email protected]>2024-12-03 01:59:04 -0600
commit33880f9006397c7a90977de42ea26034f9faee78 (patch)
tree0f493325d5804c864e3d47eaf219d807851a2f72
parent1d1d8e7eea642cd3fc546101b4899ec1db81e3b7 (diff)
sure, why not. store a repo description
-rw-r--r--repo.proto1
-rw-r--r--repo.protofiles.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/repo.proto b/repo.proto
index bd6e269..288a629 100644
--- a/repo.proto
+++ b/repo.proto
@@ -31,6 +31,7 @@ message Repo { // `autogenpb:marshal`
bool readOnly = 17; // tracks access to 'git push'
string URL = 18; // the URL. amazingly I didn't add this earlier. duh.
bool goProtobuf = 19; // autogen go files from .proto
+ string desc = 20; // what is this repo?
}
message Repos { // `autogenpb:marshal`
diff --git a/repo.protofiles.go b/repo.protofiles.go
index 54f7c7c..638bfcb 100644
--- a/repo.protofiles.go
+++ b/repo.protofiles.go
@@ -41,7 +41,7 @@ func (repo *Repo) IsProtobuf() (bool, []string, error) {
if found {
// log.Info("found ok")
} else {
- log.Info("missing compiled proto file:", pname+"pb.go")
+ // log.Info("gitpb: IsProtobuf() missing compiled proto file:", pname+".pb.go")
err = errors.New("compiled file " + pname + ".pb.go missing")
}
}