repostatus/structs.go

69 lines
2.1 KiB
Go
Raw Permalink Normal View History

2024-01-09 15:34:53 -06:00
package repostatus
import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
2024-01-09 15:34:53 -06:00
)
type RepoStatus struct {
2024-02-23 11:00:33 -06:00
ready bool
changed bool // keeps track of changes that might have happened
2024-02-16 17:55:13 -06:00
changes string
2024-02-23 11:00:33 -06:00
tags map[string]string
2024-01-09 15:34:53 -06:00
2024-02-23 11:00:33 -06:00
window *gadgets.BasicWindow // the main window for this repo
Tags *GitTagBox // a box of all the git tags
dirtyLabel *gadgets.OneLiner
readOnly *gadgets.OneLiner
gitState *gadgets.OneLiner
2024-02-20 14:45:43 -06:00
primitive *gadgets.OneLiner
2024-02-23 11:00:33 -06:00
private *gadgets.OneLiner
path *gadgets.OneLiner
goSrcPath *gadgets.OneLiner
2024-02-19 14:42:59 -06:00
goPath *gadgets.OneLiner
realPath *gadgets.OneLiner
2024-02-16 11:41:29 -06:00
isGoLang *gadgets.OneLiner
2024-01-09 15:34:53 -06:00
currentBranch *gadgets.OneLiner
currentVersion *gadgets.OneLiner
2024-01-09 15:34:53 -06:00
2024-02-23 11:00:33 -06:00
mainWorkingName *gadgets.OneLiner // the actual name of the primary branch
develWorkingName *gadgets.OneLiner // the actual name of the devel branch
userWorkingName *gadgets.OneLiner // the actual name of the user branch
develMergeB *gui.Node // button to merge from user to devel
mainMergeB *gui.Node // button to merge from devel to master
releaseVersion *gui.Node // the release version
minor *gadgets.BasicCombobox // the '3' in version v3.1.4
major *gadgets.BasicCombobox // the '1' in version v3.1.4
revision *gadgets.BasicCombobox // the '4' in version v3.1.4
lasttag *gadgets.OneLiner // the last tag version
mainBranchVersion *gadgets.OneLiner // the primary branch version
develBranchVersion *gadgets.OneLiner // the devel branch version
userBranchVersion *gadgets.OneLiner // the user branch version
versionMessage *gadgets.BasicEntry
versionCmds [][]string
versionCmdOutput *gadgets.OneLiner
targetReleaseVersion *gadgets.OneLiner
newversion *gui.Node
gitBranchesGroup *gui.Node
gitStatusGroup *gui.Node
gitCommandsGroup *gui.Node
showBranchesButton *gui.Node
2024-01-13 20:30:33 -06:00
checkBranchesButton *gui.Node
speed *gadgets.OneLiner
speedActual *gadgets.OneLiner
gitConfig *GitConfig
goConfig GoConfig
switchBranchB *gui.Node
targetBranch *gui.Node
2024-01-09 15:34:53 -06:00
}