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-01-18 00:57:43 -06:00
|
|
|
ready bool
|
|
|
|
hidden bool
|
|
|
|
changed bool
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
repopath string
|
2024-01-09 15:34:53 -06:00
|
|
|
lasttagrev string
|
2024-01-18 00:57:43 -06:00
|
|
|
tags map[string]string
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
parent *gui.Node
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
window *gadgets.BasicWindow
|
2024-01-11 15:56:50 -06:00
|
|
|
// group *gui.Node
|
|
|
|
// grid *gui.Node
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
// status *gadgets.OneLiner
|
|
|
|
dirtyLabel *gadgets.OneLiner
|
|
|
|
path *gadgets.OneLiner
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
currentBranch *gadgets.OneLiner
|
|
|
|
currentVersion *gadgets.OneLiner
|
|
|
|
tagsDrop *gadgets.BasicDropdown
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
lasttag *gadgets.OneLiner
|
|
|
|
masterBranchVersion *gadgets.OneLiner
|
|
|
|
develBranchVersion *gadgets.OneLiner
|
|
|
|
userBranchVersion *gadgets.OneLiner
|
2024-01-09 15:34:53 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
develMerge *gui.Node
|
|
|
|
releaseVersion *gui.Node
|
2024-01-09 19:22:16 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
// vgroup *gui.Node
|
|
|
|
minor *gadgets.BasicCombobox
|
|
|
|
major *gadgets.BasicCombobox
|
|
|
|
revision *gadgets.BasicCombobox
|
2024-01-11 15:56:50 -06:00
|
|
|
|
2024-01-18 00:57:43 -06:00
|
|
|
versionMessage *gadgets.BasicEntry
|
|
|
|
versionCmds [][]string
|
2024-01-11 15:56:50 -06:00
|
|
|
versionCmdOutput *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
|
|
|
masterDrop *gadgets.BasicDropdown
|
|
|
|
develDrop *gadgets.BasicDropdown
|
|
|
|
userDrop *gadgets.BasicDropdown
|
2024-01-11 15:56:50 -06:00
|
|
|
|
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-09 15:34:53 -06:00
|
|
|
}
|