diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 4ec5c93..c2ff1d2 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -186,6 +186,26 @@ func globalDisplayOptions(box *gui.Node) { repo.Status.IncrementMinorVersion("trying minor") } }) + grid.NewButton("ncrement changed repos", func() { + me.Disable() + for _, repo := range me.repos.View.AllRepos() { + if whitelist(repo.GoPath()) { + continue + } + if repo.ReadOnly() { + continue + } + lasttag := repo.Status.LastTag() + if repo.Status.GetCurrentVersion() == lasttag { + log.Info("skipping unchanged repo", repo.Status.GoPath()) + repo.Status.SetTargetVersion(lasttag) + continue + } + repo.Status.IncrementRevisionVersion("go-clone") + } + me.repos.View.ScanRepositories() + me.Enable() + }) grid.NextRow() group2 := vbox.NewGroup("Debugger")