sure, why not. store a repo description

This commit is contained in:
Jeff Carr 2024-12-03 01:59:04 -06:00
parent 1d1d8e7eea
commit 33880f9006
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ message Repo { // `autogenpb:marshal`
bool readOnly = 17; // tracks access to 'git push' bool readOnly = 17; // tracks access to 'git push'
string URL = 18; // the URL. amazingly I didn't add this earlier. duh. string URL = 18; // the URL. amazingly I didn't add this earlier. duh.
bool goProtobuf = 19; // autogen go files from .proto bool goProtobuf = 19; // autogen go files from .proto
string desc = 20; // what is this repo?
} }
message Repos { // `autogenpb:marshal` message Repos { // `autogenpb:marshal`

View File

@ -41,7 +41,7 @@ func (repo *Repo) IsProtobuf() (bool, []string, error) {
if found { if found {
// log.Info("found ok") // log.Info("found ok")
} else { } 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") err = errors.New("compiled file " + pname + ".pb.go missing")
} }
} }