add state. go generate autogenpb

This commit is contained in:
Jeff Carr 2025-01-07 18:06:54 -06:00
parent 676cb338a4
commit 366f4680ac
3 changed files with 11 additions and 1 deletions

View File

@ -7,6 +7,10 @@
all: goimports gitTag.pb.go goDep.pb.go repo.pb.go vet
generate: clean
go-mod-clean
go generate
vet:
@GO111MODULE=off go vet
@echo this go library package builds okay

View File

@ -1,5 +1,10 @@
package gitpb
// go.wit.com/apps/autogenpb auto generates Sort() and Marshal() for protobuf files
//go:generate autogenpb --proto gitTag.proto
//go:generate autogenpb --proto goDep.proto
//go:generate autogenpb --proto repo.proto
import (
"errors"
"fmt"

View File

@ -28,11 +28,12 @@ message Repo { // `autogenpb:marshal`
string targetVersion = 15; // useful during the package release process
bool readOnly = 16; // tracks access to 'git push'
string desc = 17; // what is this repo?
string stateChange = 18; // reason for state change
string state = 18; // status or state. useful for building tooling
string masterVersion = 19; // just store this for now
string develVersion = 20; //
string userVersion = 21; //
repeated string dirtyList = 22; // store the list from git status --porcelain
string stateChange = 23; // used for debugging tool logic
}
message Repos { // `autogenpb:marshal`