diff options
| author | Jeff Carr <[email protected]> | 2024-02-17 14:20:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-17 14:20:37 -0600 |
| commit | 15f334b2d2eab816b31e7f3a35e172e598bd5c19 (patch) | |
| tree | 63bdc39c228adb4676ea4951b99bed49660bb75a /main.go | |
| parent | dfc28a04d637d9af6eef8bde9b65952b99b15465 (diff) | |
using repolist
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -6,7 +6,6 @@ import ( "strings" "go.wit.com/lib/debugger" - "go.wit.com/lib/gui/repolist" "go.wit.com/lib/gui/repostatus" "go.wit.com/log" @@ -41,7 +40,7 @@ func main() { globalResetOptions(me.mainbox) - me.repoView = repolist.AutotypistView() + me.repos = makeRepoView() usr, _ := user.Current() if args.OnlyMe { @@ -53,19 +52,19 @@ func main() { path = strings.TrimPrefix(path, me.goSrcPwd.String()) path = strings.Trim(path, "/") log.Info("addRepo()", i, path) - me.repoView.AddRepo(path, "master", "devel", usr.Username) + me.repos.View.AddRepo(path, "master", "devel", usr.Username) } } // process everything on the command line handleCmdLine() - repolist.ScanRepositories() + me.repos.View.ScanRepositories() me.Enable() // processing is done. update the repo summary box me.summary.Update() // intermittently scans the status indefinitly - repolist.Watchdog() + me.repos.View.Watchdog() } |
