diff --git a/repo.new.go b/repo.new.go index 27b21f9..64cf897 100644 --- a/repo.new.go +++ b/repo.new.go @@ -25,7 +25,8 @@ func (all *Repos) NewGoRepo(fullpath string, gopath string) (*Repo, error) { // add a new one here newr := Repo{ - FullPath: fullpath, + FullPath: fullpath, + Namespace: gopath, } newr.Times = new(GitTimes) diff --git a/repo.proto b/repo.proto index 8389a22..02868de 100644 --- a/repo.proto +++ b/repo.proto @@ -43,7 +43,7 @@ message GoInfo { // `autogenpb } 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 masterBranchName = 3; // git 'main' or 'master' branch name string develBranchName = 4; // whatever the git 'devel' branch name is