diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 05:33:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 05:33:11 -0500 |
| commit | 0f895e83e62749bb1d716033f5f300d9d1c548ac (patch) | |
| tree | f0d29c4b96f998469cefe140006c4e0a20a361aa /repoNew.go | |
| parent | ce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (diff) | |
use config GO library
Diffstat (limited to 'repoNew.go')
| -rw-r--r-- | repoNew.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,6 +9,7 @@ import ( "regexp" "strings" + "go.wit.com/lib/config" "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" ) @@ -58,7 +59,7 @@ func (f *Forge) AddNamespaceDir(ns string, fullpath string) (*gitpb.Repo, error) if f.Config.IsReadOnly(repo.GetGoPath()) { repo.ReadOnly = true } - f.configSave = true + config.SetChanged("repos", true) return repo, nil } @@ -170,6 +171,7 @@ func (f *Forge) VerifyBranchNames(repo *gitpb.Repo) { repo.SetUserBranchName(uname) } } + log.Info("VerifyBranchNames", repo.GetMasterBranchName(), repo.GetDevelBranchName(), repo.GetUserBranchName()) } // what name should be used for the user branch? |
