summaryrefslogtreecommitdiff
path: root/structs.go
blob: 5097c224e20499e4f993f05f4977d20f43e3b7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package repostatus

import (
	"go.wit.com/gui"
	"go.wit.com/lib/gadgets"
)

type RepoStatus struct {
	ready   bool
	hidden  bool
	changed bool

	repopath   string
	lasttagrev string
	tags       map[string]string

	parent *gui.Node

	window *gadgets.BasicWindow
	// group	*gui.Node
	// grid	*gui.Node

	//	status		*gadgets.OneLiner
	dirtyLabel *gadgets.OneLiner
	path       *gadgets.OneLiner

	currentBranch  *gadgets.OneLiner
	currentVersion *gadgets.OneLiner
	tagsDrop       *gadgets.BasicDropdown

	lasttag             *gadgets.OneLiner
	masterBranchVersion *gadgets.OneLiner
	develBranchVersion  *gadgets.OneLiner
	userBranchVersion   *gadgets.OneLiner

	develMerge     *gui.Node
	releaseVersion *gui.Node

	//	vgroup		*gui.Node
	minor    *gadgets.BasicCombobox
	major    *gadgets.BasicCombobox
	revision *gadgets.BasicCombobox

	versionMessage   *gadgets.BasicEntry
	versionCmds      [][]string
	versionCmdOutput *gadgets.OneLiner

	newversion *gui.Node

	gitBranchesGroup *gui.Node
	gitStatusGroup   *gui.Node
	gitCommandsGroup *gui.Node

	masterDrop *gadgets.BasicDropdown
	develDrop  *gadgets.BasicDropdown
	userDrop   *gadgets.BasicDropdown

	showBranchesButton  *gui.Node
	checkBranchesButton *gui.Node

	speed       *gadgets.OneLiner
	speedActual *gadgets.OneLiner
}