guireleaser/structs.go

91 lines
2.1 KiB
Go
Raw Permalink Normal View History

// watch all your go git repos
package main
import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
"go.wit.com/lib/gui/repolist"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/zoopb"
)
var me *autoType
type autoType struct {
2024-02-18 15:09:04 -06:00
myGui *gui.Node
releaseReasonS string // = "gocui dropdown select"
release releaseStruct
reposbox *gui.Node
reposgrid *gui.Node
reposgroup *gui.Node
2024-02-23 09:01:58 -06:00
current *repolist.RepoRow
2024-02-18 15:09:04 -06:00
// guireleaser window
mainWindow *gui.Node
mainBox *gui.Node
2024-02-18 15:09:04 -06:00
// our view of the repositories
repos *repoWindow
// your customized repo preferences and settings
forge forgepb.Repos
// use zookeeper to get the list of installed packages
machine zoopb.Machine
// #### autotypist Global Build Options
// what to change all the branches to
// so, as a developer, you can move all the repos
// to the 'devel' branch and then test a devel branch build
// then switch back to your 'username' branch and do a build there
2024-11-13 18:32:53 -06:00
// toMoveToBranch string
// displays the preferred names used for the repo tree state
2024-11-13 18:32:53 -06:00
// mainBranch *gadgets.BasicCombobox
// develBranch *gadgets.BasicCombobox
// userBranch *gadgets.BasicCombobox
// this button will regenerate everyones go.mod & go.sum
rerunGoMod *gui.Node
// if checked, will stop trying to os.Exec() things after failure
stopOnErrors *gui.Node
// button to attempt to autorebuild
autoRebuildButton *gui.Node
// checkbox for --dry-run
autoDryRun *gui.Node
// checkbox for intermittent scanning
scanEveryMinute *gui.Node
// The current working directory
autoWorkingPwd *gadgets.OneLiner
// shows what is being used as your home dir
userHomePwd *gadgets.OneLiner
// shows what directory being used as ~/go/src
goSrcPwd *gadgets.OneLiner
// button to download everything
downloadEverythingButton *gui.Node
// button to delete everythign ~/go/src & ~/go/pkg
deleteGoSrcPkgB *gui.Node
// button to set all repo branches to master
setBranchesToMasterB *gui.Node
2024-02-19 19:42:14 -06:00
// show the time it took to do a scan
duration *gui.Node
}
2024-11-13 18:32:53 -06:00
/*
2024-02-18 15:09:04 -06:00
func (my *autoType) GoSrcPath() string {
return my.goSrcPwd.String()
}
*/