deprecated button
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
89583a2db4
commit
b8b65a9c0e
18
main.go
18
main.go
|
@ -83,6 +83,24 @@ func main() {
|
|||
createReleaseBox(me.mainBox)
|
||||
// createUnreleaseBox(me.mainBox)
|
||||
|
||||
for _, repo := range me.allrepos {
|
||||
if repo.status.ReadOnly() {
|
||||
continue
|
||||
}
|
||||
if whitelist(repo.String()) {
|
||||
continue
|
||||
}
|
||||
if repo.status.CheckoutMaster() {
|
||||
log.Warn("set master branch worked", repo.String())
|
||||
repo.newScan()
|
||||
} else {
|
||||
repo.newScan()
|
||||
log.Warn("set master branch failed", repo.String())
|
||||
log.Warn("set master branch failed", repo.String())
|
||||
log.Warn("set master branch failed", repo.String())
|
||||
}
|
||||
}
|
||||
|
||||
showHideRepos()
|
||||
|
||||
release.openrepo.Disable()
|
||||
|
|
|
@ -27,7 +27,7 @@ type releaseStruct struct {
|
|||
// versionS string
|
||||
// widgetVersionS string
|
||||
releaseVersionB *gui.Node
|
||||
unreleaseB *gui.Node
|
||||
// unreleaseB *gui.Node
|
||||
reason *gadgets.BasicEntry
|
||||
// reasonS string
|
||||
|
||||
|
@ -300,7 +300,7 @@ func setCurrentRepo(newcur *repo, s string, note string) bool {
|
|||
release.current = newcur
|
||||
release.version.SetText(release.current.targetVersion.String())
|
||||
release.releaseVersionB.SetText("release version " + release.current.targetVersion.String())
|
||||
release.unreleaseB.SetText("un-release version " + release.current.targetVersion.String())
|
||||
// release.unreleaseB.SetText("un-release version " + release.current.targetVersion.String())
|
||||
release.openrepo.Enable()
|
||||
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue