rename to repolist.RepoRow
This commit is contained in:
parent
0a42976595
commit
8a1cc3eaf3
|
@ -97,7 +97,7 @@ func doRelease() bool {
|
|||
return true
|
||||
}
|
||||
|
||||
func checkValidGoSum(repo *repolist.Repo) bool {
|
||||
func checkValidGoSum(repo *repolist.RepoRow) bool {
|
||||
ok, err := me.repos.View.CheckValidGoSum(repo)
|
||||
if err != nil {
|
||||
log.Info("go mod tidy not ok")
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"go.wit.com/log"
|
||||
)
|
||||
|
||||
func showHideRepos(repo *repolist.Repo) {
|
||||
func showHideRepos(repo *repolist.RepoRow) {
|
||||
if repo.GoPath() == "go.wit.com/dev/alexflint/arg" {
|
||||
log.Info("found autoHideReleased() =", me.autoHideReleased.Checked())
|
||||
log.Info("found alexflint/arg IsReleased() =", repo.Status.IsReleased())
|
||||
|
@ -150,7 +150,7 @@ func globalDisplayOptions(box *gui.Node) {
|
|||
log.Info(repo.GoPath(), "master and target differ", masterv, targetv)
|
||||
repo.Status.IncrementVersion()
|
||||
newversion := repo.Status.GetNewVersionTag()
|
||||
repo.Status.SetTargetVersion(newversion)
|
||||
repo.Status.SetTargetVersion("v" + newversion)
|
||||
// already incremented
|
||||
continue
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"go.wit.com/log"
|
||||
)
|
||||
|
||||
func lookToUnwind(r *repolist.Repo) bool {
|
||||
func lookToUnwind(r *repolist.RepoRow) bool {
|
||||
goSumS := r.GoState()
|
||||
dirtyS := r.State()
|
||||
currentS := r.Status.GetCurrentBranchVersion()
|
||||
|
|
|
@ -40,11 +40,11 @@ type releaseStruct struct {
|
|||
makeRedomodB *gui.Node
|
||||
sendVersionB *gui.Node
|
||||
checkSafeB *gui.Node
|
||||
whitelist map[string]*repolist.Repo
|
||||
whitelist map[string]*repolist.RepoRow
|
||||
|
||||
// store myself here. use myself to
|
||||
// do garbage go get tests and other potential junk
|
||||
guireleaser *repolist.Repo
|
||||
guireleaser *repolist.RepoRow
|
||||
}
|
||||
|
||||
func (w *autoType) Disable() {
|
||||
|
@ -266,7 +266,7 @@ func buttonEnable() {
|
|||
me.Enable()
|
||||
}
|
||||
|
||||
func setCurrentRepo(newcur *repolist.Repo, s string, note string) bool {
|
||||
func setCurrentRepo(newcur *repolist.RepoRow, s string, note string) bool {
|
||||
if newcur.ReadOnly() {
|
||||
return false
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ type autoType struct {
|
|||
reposbox *gui.Node
|
||||
reposgrid *gui.Node
|
||||
reposgroup *gui.Node
|
||||
current *repolist.Repo
|
||||
current *repolist.RepoRow
|
||||
|
||||
// guireleaser window
|
||||
mainWindow *gui.Node
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
func initWhitelist() {
|
||||
me.release.whitelist = make(map[string]*repolist.Repo)
|
||||
me.release.whitelist = make(map[string]*repolist.RepoRow)
|
||||
for _, repo := range me.repos.View.AllRepos() {
|
||||
if strings.HasPrefix(repo.GoPath(), "go.wit.com/dev/davecgh") {
|
||||
me.release.whitelist[repo.GoPath()] = repo
|
||||
|
|
Loading…
Reference in New Issue