sure, why not. store a repo description
This commit is contained in:
parent
1d1d8e7eea
commit
33880f9006
|
@ -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`
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue