2024-01-09 15:34:53 -06:00
|
|
|
package repostatus
|
|
|
|
|
|
|
|
import (
|
2024-01-18 05:01:54 -06:00
|
|
|
"go.wit.com/gui"
|
2024-01-18 00:57:43 -06:00
|
|
|
"go.wit.com/lib/gadgets"
|
2024-01-09 15:34:53 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
type RepoStatus struct {
|
2024-02-16 17:55:13 -06:00
|
|
|
ready bool
|
|
|
|
|
|
|
|
// keeps track of changes that might have happened
|
2024-01-18 00:57:43 -06:00
|
|
|
changed bool
|
2024-02-16 17:55:13 -06:00
|
|
|
changes string
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-02-16 20:36:31 -06:00
|
|
|
// updates each time CheckDirty() is run
|
|
|
|
dirty bool
|
|
|
|
|
2024-01-23 22:47:39 -06:00
|
|
|
tags map[string]string
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
window *gadgets.BasicWindow
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-02-15 22:50:50 -06:00
|
|
|
// a box of all the git tags
|
2024-02-17 08:39:09 -06:00
|
|
|
Tags *GitTagBox
|
2024-02-07 08:51:45 -06:00
|
|
|
|
2024-01-26 02:02:56 -06:00
|
|
|
dirtyLabel *gadgets.OneLiner
|
|
|
|
readOnly *gadgets.OneLiner
|
|
|
|
goSumStatus *gadgets.OneLiner
|
2024-01-23 22:47:39 -06:00
|
|
|
|
|
|
|
path *gadgets.OneLiner
|
|
|
|
goSrcPath *gadgets.OneLiner
|
|
|
|
realPath *gadgets.OneLiner
|
2024-02-16 11:41:29 -06:00
|
|
|
isGoLang *gadgets.OneLiner
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
currentBranch *gadgets.OneLiner
|
|
|
|
currentVersion *gadgets.OneLiner
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
lasttag *gadgets.OneLiner
|
2024-02-16 20:36:31 -06:00
|
|
|
mainBranchVersion *gadgets.OneLiner
|
2024-01-18 00:57:43 -06:00
|
|
|
develBranchVersion *gadgets.OneLiner
|
|
|
|
userBranchVersion *gadgets.OneLiner
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-23 15:20:54 -06:00
|
|
|
mainWorkingName *gadgets.OneLiner
|
2024-01-23 10:52:17 -06:00
|
|
|
develWorkingName *gadgets.OneLiner
|
2024-01-23 15:20:54 -06:00
|
|
|
userWorkingName *gadgets.OneLiner
|
2024-01-23 10:52:17 -06:00
|
|
|
|
2024-01-30 13:31:46 -06:00
|
|
|
develMergeB *gui.Node
|
|
|
|
mainMergeB *gui.Node
|
2024-01-18 00:57:43 -06:00
|
|
|
releaseVersion *gui.Node
|
2024-01-09 19:22:16 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
minor *gadgets.BasicCombobox
|
|
|
|
major *gadgets.BasicCombobox
|
|
|
|
revision *gadgets.BasicCombobox
|
2024-01-11 15:56:50 -06:00
|
|
|
|
2024-01-29 09:31:22 -06:00
|
|
|
versionMessage *gadgets.BasicEntry
|
|
|
|
versionCmds [][]string
|
|
|
|
versionCmdOutput *gadgets.OneLiner
|
2024-01-27 13:06:57 -06:00
|
|
|
targetReleaseVersion *gadgets.OneLiner
|
2024-01-10 00:15:27 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
newversion *gui.Node
|
2024-01-10 00:15:27 -06:00
|
|
|
|
2024-01-11 15:56:50 -06:00
|
|
|
gitBranchesGroup *gui.Node
|
2024-01-18 00:57:43 -06:00
|
|
|
gitStatusGroup *gui.Node
|
2024-01-11 15:56:50 -06:00
|
|
|
gitCommandsGroup *gui.Node
|
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
showBranchesButton *gui.Node
|
2024-01-13 20:30:33 -06:00
|
|
|
checkBranchesButton *gui.Node
|
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
speed *gadgets.OneLiner
|
|
|
|
speedActual *gadgets.OneLiner
|
2024-01-23 10:52:17 -06:00
|
|
|
|
|
|
|
gitConfig *GitConfig
|
|
|
|
goConfig GoConfig
|
2024-02-14 01:01:00 -06:00
|
|
|
|
|
|
|
switchBranchB *gui.Node
|
|
|
|
targetBranch *gui.Node
|
2024-01-09 15:34:53 -06:00
|
|
|
}
|