diff options
| author | Jeff Carr <[email protected]> | 2024-12-27 04:36:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-27 04:36:29 -0600 |
| commit | 8b3be0ab42e68ab0616ff6e461dbe8b582b12d21 (patch) | |
| tree | 12fd1d35cca629fd608a26cc83cd328464cfbc76 /findRepos.go | |
| parent | 9818e8d1ee685fa11f6ed9745a92e0c31c3a75f1 (diff) | |
Diffstat (limited to 'findRepos.go')
| -rw-r--r-- | findRepos.go | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/findRepos.go b/findRepos.go index 8739d29..a55c2c3 100644 --- a/findRepos.go +++ b/findRepos.go @@ -1,9 +1,6 @@ package main -import ( - "go.wit.com/log" -) - +// by default, work against every repo func (f *FindCmd) findRepos() { if f == nil { findMine() @@ -29,7 +26,7 @@ func (f *FindCmd) findRepos() { return } - findMine() + findAll(f) } func findRepos(fargv *FindCmd) { @@ -93,26 +90,10 @@ func findFavorites() { } } -// func (f *FindCmd) findRepos() { func findAll(fargv *FindCmd) { all := me.forge.Repos.SortByFullPath() for all.Scan() { repo := all.Next() me.found.AppendUniqueGoPath(repo) - if me.forge.Config.IsReadOnly(repo.GetGoPath()) && !fargv.ReadOnly { - if repo.ReadOnly { - continue - } - log.Info("todo: ConfigSave() readonly flag on repo is wrong", repo.GetGoPath()) - repo.ReadOnly = true - configSave = true - continue - } } - /* - if configsave { - log.Info("should ConfigSave here") - me.forge.Repos.ConfigSave() - } - */ } |
