add namespace

This commit is contained in:
Jeff Carr 2025-07-07 18:52:15 -05:00
parent 33399f18e5
commit d0616fae03
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,8 @@ func (all *Repos) NewGoRepo(fullpath string, gopath string) (*Repo, error) {
// add a new one here // add a new one here
newr := Repo{ newr := Repo{
FullPath: fullpath, FullPath: fullpath,
Namespace: gopath,
} }
newr.Times = new(GitTimes) newr.Times = new(GitTimes)

View File

@ -43,7 +43,7 @@ message GoInfo { // `autogenpb
} }
message Repo { // `autogenpb:marshal` `autogenpb:nomutex` message Repo { // `autogenpb:marshal` `autogenpb:nomutex`
string namespace = 1; // `autogenpb:sort` // this repo is 'go.wit.com/lib/protobuf/gitpb' string namespace = 1; // `autogenpb:unique` `autogenpb:sort` // this repo is 'go.wit.com/lib/protobuf/gitpb'
string fullPath = 2; // `autogenpb:unique` `autogenpb:sort` // the OS path to the .git directory: '/home/devel/golang.org/x/tools' string fullPath = 2; // `autogenpb:unique` `autogenpb:sort` // the OS path to the .git directory: '/home/devel/golang.org/x/tools'
string masterBranchName = 3; // git 'main' or 'master' branch name string masterBranchName = 3; // git 'main' or 'master' branch name
string develBranchName = 4; // whatever the git 'devel' branch name is string develBranchName = 4; // whatever the git 'devel' branch name is