From 33880f9006397c7a90977de42ea26034f9faee78 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 3 Dec 2024 01:59:04 -0600 Subject: [PATCH] sure, why not. store a repo description --- repo.proto | 1 + repo.protofiles.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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") } }